<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7853200920870873538</id><updated>2021-01-08T15:58:25.138+05:00</updated><category term="11ComSQ"/><category term="12ComSQ"/><category term="11ComQuiz"/><category term="12ComQuiz"/><category term="11BioQuiz"/><category term="11BioSQ"/><category term="11ChemQuiz"/><category term="11ChemSQ"/><category term="11MathQuiz"/><category term="11MathSQ"/><category term="11PhyQuiz"/><category term="11PhySQ"/><category term="12BioQuiz"/><category term="12BioSQ"/><category term="12ChemQuiz"/><category term="12ChemSQ"/><category term="12MathQuiz"/><category term="12MathSQ"/><category term="12PhyQuiz"/><category term="12PhySQ"/><title type='text'>Studyspot for Students</title><subtitle type='html'>Studyspot is a free platform for matric and intermediate students. Here students can prepare objective questions by attempting the online quizzes (MCQs), prepare short questions and answers of all subjects, download e-books, find paper schemes and learn much more.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.studyspot.pk/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5999266547165796866</id><published>2021-01-08T14:40:00.002+05:00</published><updated>2021-01-08T14:42:23.587+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Input Output Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-RJ9a_9I6Nek/X_gjhC3a3xI/AAAAAAAAAbQ/6VfdTxY2g0Upcd5nIKAqXkBtYjQ4SVa9wCLcBGAsYHQ/s730/input-output-short-questions-and-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Input Output Short Questions and Answers&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;. This is the 1st post of &lt;b&gt;Chapter No.10&lt;/b&gt;,&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;2nd Year&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;ICS Part-II Computer Subject&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;We have tried our best to make the most important&amp;nbsp;&lt;b&gt;short questions and answers &lt;/b&gt;from this chapter for students to succeed&lt;b&gt;&amp;nbsp;&lt;/b&gt;in the final examinations of all boards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-RJ9a_9I6Nek/X_gjhC3a3xI/AAAAAAAAAbQ/6VfdTxY2g0Upcd5nIKAqXkBtYjQ4SVa9wCLcBGAsYHQ/s730/input-output-short-questions-and-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;input output short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-RJ9a_9I6Nek/X_gjhC3a3xI/AAAAAAAAAbQ/6VfdTxY2g0Upcd5nIKAqXkBtYjQ4SVa9wCLcBGAsYHQ/w640-h364/input-output-short-questions-and-answers.jpg&quot; title=&quot;input output short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.10: Input Output&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: Which library header file is used to access the standard input output functions?&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;standard input output functions&lt;/b&gt; can be accessed by including the standard input output library header file (&lt;b&gt;stdio.h&lt;/b&gt;) in the program.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: What is printf ( ) function?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The standard library functions &lt;b&gt;&lt;i&gt;printf&lt;/i&gt;&lt;/b&gt; is used for formatted output. It takes as arguments a format string and an optional list of variables to output.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Syntax:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;printf(format string, var1, var2, var3, ….);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Printf(format string); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: Define the signature of function?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;signature of function&lt;/b&gt; describes the number and type of its arguments and the return type of the function.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What is a format specifier?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A&lt;b&gt; format specifier&lt;/b&gt; specifies the format in which the value of variables should be displayed on the screen or which type of value should be stored in the variables. Format specifiers are specified in the format string along with the symbol %. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: Define field-width specifier?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The number of columns used to display a value on the screen is referred to as field-width. &lt;b&gt;Field-width specifiers&lt;/b&gt; describe the number of columns that should be used to print a value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: Define field-width specifier for integers?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Simply need to add a number between the % and d of the %d format specifier in the &lt;i&gt;printf&lt;/i&gt; format string. This number specifies the field-width or the number of columns to be sued for the display of the value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;prinft(“format string=%3d”,var);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Define the general form of format specifier for floating-point numbers?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The general form for the &lt;b&gt;format specifier&lt;/b&gt; for a floating-point value will be &lt;i&gt;%m.n&lt;/i&gt;f, where m represents the total field width and n represents the desired number of decimal places.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;prinft(“Result=%6.3f”, result);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: What is the escape sequence? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;escape sequences&lt;/b&gt; are characters that are specified in the format string of the &lt;i&gt;printf&lt;/i&gt; statement in combination with a backslash (\).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: Differentiate between (\b) and (\f) escape sequences? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;escape sequence&lt;/b&gt; &lt;b&gt;&lt;i&gt;\b&lt;/i&gt;&lt;/b&gt; causes the cursor to move one space left whereas the &lt;b&gt;&lt;i&gt;\f&lt;/i&gt;&lt;/b&gt; moves to the next page on the printer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Define scanf ( ) function?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;&lt;i&gt;scanf &lt;/i&gt;function&lt;/b&gt; is versatile as it is equally good for numeric as well as string input. It takes as arguments a format string and a list of variables to hold the input values.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Following is the syntax of scanf function:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;scanf(format string, &amp;amp;var1, &amp;amp;var2, &amp;amp;var3, …);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What is the function of &amp;amp; in &lt;i&gt;scanf&lt;/i&gt; statement?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In C, &lt;b&gt;&amp;amp;&lt;/b&gt; is actually the &lt;b&gt;address of operator&lt;/b&gt;. In &lt;i&gt;scanf&lt;/i&gt;, the address of operator (&amp;amp;) tells the &lt;i&gt;scanf&lt;/i&gt; function the address of the variable where the input value is to store. If &amp;amp; is omitted, the &lt;i&gt;scanf&lt;/i&gt;will not be able to locate the variable in memory, hence it will be unable to store the value into the variable and the program will find a garbage value in the variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: What is the problem with &lt;i&gt;scanf&amp;nbsp;&lt;/i&gt;function for character input? OR Define character input?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;i&gt;scanf&lt;/i&gt; can also be used for character input. But &lt;i&gt;scanf&lt;/i&gt;requires pressing the return key at the end of input value. In some cases, it is desirable to input characters without pressing the return key. To overcome such situations, many other functions specialized for character input. &lt;i&gt;getch&lt;/i&gt;and &lt;i&gt;getche&lt;/i&gt; are examples of such functions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: Differentiate between &lt;i&gt;getch ( )&lt;/i&gt; and &lt;i&gt;getche ( )&lt;/i&gt;functions?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;i&gt;&lt;b&gt;getch&lt;/b&gt; ( )&lt;/i&gt; and &lt;i&gt;&lt;b&gt;getche&lt;/b&gt; ( )&lt;/i&gt; functions are very handy in character manipulation. In contrast to the &lt;i&gt;getch ( )&lt;/i&gt; function which does not echo the character typed, the &lt;i&gt;getche ( )&lt;/i&gt; function echo the typed character. Both of these functions do not accept any argument.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.14: Define conio.h?&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;conio.h&lt;/b&gt; (console input output) is a library header file that is used to access the standard functions such as &lt;i&gt;getch ( )&lt;/i&gt; and &lt;i&gt;getche ( )&lt;/i&gt;. These functions are very handy for character manipulation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Describe the \ddd escape sequence?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The &lt;b&gt;\ddd escape sequence&lt;/b&gt; defines the ASCII (American Standard Code for Information Interchange) code in octal notation (each d represents a digit).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; style=&quot;font-weight: 700;&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-II&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5999266547165796866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2021/01/input-output-short-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5999266547165796866'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5999266547165796866'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2021/01/input-output-short-questions-and-answers.html' title='Input Output Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-RJ9a_9I6Nek/X_gjhC3a3xI/AAAAAAAAAbQ/6VfdTxY2g0Upcd5nIKAqXkBtYjQ4SVa9wCLcBGAsYHQ/s72-c/input-output-short-questions-and-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5201938557721204311</id><published>2021-01-07T13:28:00.007+05:00</published><updated>2021-01-07T15:28:07.564+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComQuiz"/><title type='text'>Elements of C MCQs Online Quiz-3</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-pOlBAhF1Wtw/X_bD8D_q_LI/AAAAAAAAAbE/5ecWApW8f4IOmYL_kZlixm5UST-rNjXWgCLcBGAsYHQ/s730/elements-of-c-mcqs-with-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-pOlBAhF1Wtw/X_bD8D_q_LI/AAAAAAAAAbE/5ecWApW8f4IOmYL_kZlixm5UST-rNjXWgCLcBGAsYHQ/s730/elements-of-c-mcqs-with-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;elements of C MCQs with answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-pOlBAhF1Wtw/X_bD8D_q_LI/AAAAAAAAAbE/5ecWApW8f4IOmYL_kZlixm5UST-rNjXWgCLcBGAsYHQ/w640-h364/elements-of-c-mcqs-with-answers.jpg&quot; title=&quot;elements of C MCQs with answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Elements of C MCQs Online Quiz-3&lt;/b&gt;. This is the 3rd post of&amp;nbsp;&lt;b&gt;MCQs with answers&amp;nbsp;&lt;/b&gt;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;Part-II ||&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;2nd-year&lt;/b&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;Computer Science&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Chapter No.9&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. MCQ Questions of this&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;quiz&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;final examination&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;ECAT&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, and all&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;entry tests&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried the best to select the most important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) with answers from chapter No.9:&amp;nbsp;&lt;b&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;.&amp;nbsp;This is the 3rd post for&amp;nbsp;the&amp;nbsp;&lt;b&gt;&lt;i&gt;online quiz&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter. So stay tuned for more MCQs | Online quizzes of other chapters of class 12.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.9: Elements of C ||&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs Online Quiz-3&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;elements of C MCQs with answers&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;computer MCQs with answers&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;stars&quot; dc:creator=&quot;&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;&gt;&#39;,&#39;&#39;,0,0,1); I[0][3][1]=new Array(&#39;%&#39;,&#39;&#39;,1,100,1); I[0][3][2]=new Array(&#39;&lt;&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;!&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;&amp;&amp;&#39;,&#39;&#39;,0,0,1); I[1][3][1]=new Array(&#39;&lt;&#39;,&#39;&#39;,1,100,1); I[1][3][2]=new Array(&#39;||&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;!&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;&amp;&amp;&#39;,&#39;&#39;,0,0,1); I[2][3][1]=new Array(&#39;!&#39;,&#39;&#39;,1,100,1); I[2][3][2]=new Array(&#39;||&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;32-126&#39;,&#39;&#39;,1,100,1); I[3][3][1]=new Array(&#39;30-126&#39;,&#39;&#39;,0,0,1); I[3][3][2]=new Array(&#39;32-125&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;30-125&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;colon (:)&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;dot (.)&#39;,&#39;&#39;,0,0,1); I[4][3][2]=new Array(&#39;semicolon (;)&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;comma (,)&#39;,&#39;&#39;,1,100,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;x=x-x&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;x=x-1&#39;,&#39;&#39;,1,100,1); I[5][3][2]=new Array(&#39;x-x=1&#39;,&#39;&#39;,0,0,1); I[5][3][3]=new Array(&#39;x-1=x&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;ROM&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;RAM&#39;,&#39;&#39;,1,100,1); I[6][3][2]=new Array(&#39;HDD&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;cache&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;c&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;\u201Cb\u201D&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;\u20189\u2019&#39;,&#39;&#39;,1,100,1); I[7][3][3]=new Array(&#39;=&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;b+=a&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;a=+b&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;a=a+b&#39;,&#39;&#39;,1,100,1); I[8][3][3]=new Array(&#39;b=b+a&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;ternary operator&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;unary operator&#39;,&#39;&#39;,1,100,1); I[9][3][2]=new Array(&#39;bitwise operator&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;binary operator&#39;,&#39;&#39;,0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;1&#39;,&#39;&#39;,1,100,1); I[10][3][1]=new Array(&#39;31&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;32&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;no limit&#39;,&#39;&#39;,0,0,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;31&#39;,&#39;&#39;,1,100,1); I[11][3][1]=new Array(&#39;32&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;45&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;46&#39;,&#39;&#39;,0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;lowercase&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;uppercase&#39;,&#39;&#39;,0,0,1); I[12][3][2]=new Array(&#39;sentence case&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;2&#39;,&#39;&#39;,0,0,1); I[13][3][1]=new Array(&#39;4&#39;,&#39;&#39;,0,0,1); I[13][3][2]=new Array(&#39;8&#39;,&#39;&#39;,1,100,1); I[13][3][3]=new Array(&#39;10&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;5&#39;,&#39;&#39;,1,100,1); I[14][3][1]=new Array(&#39;6&#39;,&#39;&#39;,0,0,1); I[14][3][2]=new Array(&#39;8&#39;,&#39;&#39;,0,0,1); I[14][3][3]=new Array(&#39;9&#39;,&#39;&#39;,0,0,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is an arithmetic operator?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;gt;&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;%&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;!&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is not a logical operator?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;amp;&amp;amp;&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;||&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;!&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings logical operator reverses the result of evaluated condition?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;amp;&amp;amp;&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;!&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;||&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings range represents printable characters in ASCII table?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32-126&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;30-126&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32-125&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;30-125&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings symbol can separate a list of variables while its declaration?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;colon (:)&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;dot (.)&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;semicolon (;)&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;comma (,)&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;x- -is same as?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;x=x-x&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;x=x-1&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;x-x=1&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;x-1=x&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Variables are created in&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ROM&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;RAM&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;HDD&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;cache&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is a valid character constant?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;c&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;“b”&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;‘9’&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;=&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;a+=b is equivalent to?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;b+=a&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;a=+b&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;a=a+b&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;b=b+a&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The logical not operator denoted by ! is a?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ternary operator&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;unary operator&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;bitwise operator&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;binary operator&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The maximum length of a character constant is?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;31&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;no limit&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Variable name can be up to ___ characters? &lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;31&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;45&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;46&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Variable names use ___ letters only?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;lowercase&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;uppercase&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;sentence case&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The double datatype required __ bytes in memory?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;2&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;4&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;8&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;10&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;a=5;&lt;br /&gt;b=a++;&lt;br /&gt;what is value of b after execution?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;5&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;6&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;8&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;9&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5201938557721204311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2021/01/elements-of-c-mcqs-online-quiz-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5201938557721204311'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5201938557721204311'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2021/01/elements-of-c-mcqs-online-quiz-3.html' title='Elements of C MCQs Online Quiz-3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-pOlBAhF1Wtw/X_bD8D_q_LI/AAAAAAAAAbE/5ecWApW8f4IOmYL_kZlixm5UST-rNjXWgCLcBGAsYHQ/s72-c/elements-of-c-mcqs-with-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5947869593163919556</id><published>2021-01-04T13:59:00.007+05:00</published><updated>2021-01-04T14:06:50.144+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Information Networks Short Questions and Answers -2</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/--w-a-TQ8ecs/X_LUXc70xMI/AAAAAAAAAaI/gN2OwRARU_g46Ik72sInX7_BZ1ciJ3ugwCLcBGAsYHQ/information-networks-short-questions-and-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: black; font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;b style=&quot;color: black; font-family: inherit; text-align: justify;&quot;&gt;Information Networks Questions and Answers&lt;/b&gt;&lt;span style=&quot;color: black; text-align: justify;&quot;&gt;. This is the 2nd post about&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: black; font-family: inherit; text-align: justify;&quot;&gt;1st Year&lt;/b&gt;&lt;span style=&quot;color: black; text-align: justify;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: black; font-family: inherit; text-align: justify;&quot;&gt;ICS Part-I Computer Short Questions and Answers Chapter No.2&lt;/b&gt;&lt;span style=&quot;color: black; text-align: justify;&quot;&gt;: (&lt;/span&gt;&lt;b style=&quot;color: black; font-family: inherit; text-align: justify;&quot;&gt;&lt;i&gt;Information Networks&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;color: black; text-align: justify;&quot;&gt;).&lt;/span&gt;&lt;p style=&quot;color: black;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;color: black;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;color: black;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;color: black; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;color: black; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (computer short questions and answers)&lt;/b&gt;&amp;nbsp;are important for the final examinations of all Boards of Pakistan.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;color: black; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;a href=&quot;https://1.bp.blogspot.com/--w-a-TQ8ecs/X_LUXc70xMI/AAAAAAAAAaI/gN2OwRARU_g46Ik72sInX7_BZ1ciJ3ugwCLcBGAsYHQ/s0/information-networks-short-questions-and-answers.jpg&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;information networks short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;740&quot; height=&quot;360&quot; src=&quot;https://1.bp.blogspot.com/--w-a-TQ8ecs/X_LUXc70xMI/AAAAAAAAAaI/gN2OwRARU_g46Ik72sInX7_BZ1ciJ3ugwCLcBGAsYHQ/w640-h360/information-networks-short-questions-and-answers.jpg&quot; title=&quot;information networks short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.2: Information Networks&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 2&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0.0001pt;&quot;&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: What is www?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;The &lt;b&gt;WWW&lt;/b&gt; (&lt;b&gt;World Wide Web&lt;/b&gt;) is a collection of millions of documents stored on computers permanently connected to the internet. These documents are inter-linked and contain information and data in the form of text, graphics, audio, and video. Special software, called a browser, is used to access these documents.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Define File Transfer Protocol (FTP)?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;FTP&lt;/b&gt; (&lt;b&gt;File Transfer Protocol&lt;/b&gt;) is used to transfer files over the internet. It provides functions to log on to the network, list directories, and copy files. Different types of files, programs, graphics, etc. can be transferred using this protocol.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: What is an email?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;E-mail&lt;/b&gt; (&lt;b&gt;Electric Mail&lt;/b&gt;) is a method of sending messages from one computer to another over the internet. It is one of the original services of the internet. It is the most frequently used service of the internet.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What is a Telnet?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Telnet&lt;/b&gt; stands for &lt;b&gt;Terminal Network&lt;/b&gt;. It provides a remote login capability. It enables a user to logon to a remote computer and function as if the user’s computer is directly connected to the remote computer.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: Define chat groups (chat rooms)?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Chat Rooms&lt;/b&gt; (&lt;b&gt;Chat Groups&lt;/b&gt;) are locations on the internet that provides facilities to users to chat with each other in real-time. Chat is a typed conversation. Real-time means that the users who are taking part in a conversation is online at the same time.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: What is a gopher?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Gopher&lt;/b&gt; is a software application. It provides menu-based search and files retrieval facilities on a computer network. It has two types of applications i.e. gopher client and gopher server.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Differentiate between gopher client and gopher server?&lt;br /&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Gopher Client:&lt;/b&gt; It runs on the computer requesting access. This application uses Telnet to gain access to the remote computer.&lt;br /&gt;&lt;b&gt;Gopher Server:&lt;/b&gt; It runs on the computer offering files. This application displays a menu describing files that are available. It uses FTP for the transfer of resources to the client computer.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Define HTTP?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;HTTP&lt;/b&gt; stands for &lt;b&gt;HyperText Transfer Protocol&lt;/b&gt;. It is a communications protocol. It is used to connect to servers on the Web. Its primary function is to establish a connection with a Web server and transmit HTML pages or any other file required by a browser.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: What is an Intranet?&lt;br /&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;The &lt;b&gt;intranet&lt;/b&gt; is a privately owned, secure, business network based on internet technology, although not necessarily connected to the internet. It is a small version of the internet and used within an organization. It is sometimes also called an enterprise network.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: What is an Extranet?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;An &lt;b&gt;extranet&lt;/b&gt; is two or more intranets connected in such a way that they enable collaboration among the companies that own the separate intranets. On an extranet, each connected the company usually makes some selected part of its intranet accessible to the employees of one or more other companies.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: Write any three benefits (advantages) of E-mail?&lt;br /&gt; &lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;Following are the few &lt;b&gt;benefits&lt;/b&gt;(&lt;b&gt;advantages&lt;/b&gt;)&lt;b&gt; &lt;/b&gt;of the&lt;b&gt; E-mail&lt;/b&gt;:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It reaches the destination in a few seconds.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is cheap to use.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;One message can be sent to any number of persons.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Write some components of the network?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;Following are some &lt;b&gt;components of network&lt;/b&gt;:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Interconnection&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;NIC (Network Interface Card)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Bridge&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Gateway &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Router&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: What is an interconnection?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Interconnection&lt;/b&gt; is the medium that connects computers and devices in a network. There are various types of media that are used as network interconnection. The choice of medium for a network depends upon its characteristics and the requirements of the network. More widely used media are coaxial cables, unshielded twisted pair cables, fiber-optic cables, VSAT, satellites, and submarine cables.&amp;nbsp;&amp;nbsp;&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: Define NIC?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;NIC&lt;/b&gt; (&lt;b&gt;Network Interface Card&lt;/b&gt;) is a piece of computer hardware that connects each computer to the wiring in the network. It is a circuit board that fits in one of the computer’s internal expansion slots. Some computers have built-in NIC.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: What is a bridge?&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;Bridge&lt;/b&gt; is used to connect similar network segments and recognizes the messages on a network and passes on those addressed to nodes in another network. A bridge is used in a network to segment it and keep traffic contained within the segments to improve performance.&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;The remaining computer short questions and answers of this chapter will be published soon InshaAllah, therefore stay tuned for further short questions and MCQs || Online Quiz.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-weight: 700; text-decoration-line: underline;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt Online Quiz | MCQs of&amp;nbsp; Computer | ICS Part-I&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5947869593163919556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2021/01/information-networks-short-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5947869593163919556'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5947869593163919556'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2021/01/information-networks-short-questions.html' title='Information Networks Short Questions and Answers -2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/--w-a-TQ8ecs/X_LUXc70xMI/AAAAAAAAAaI/gN2OwRARU_g46Ik72sInX7_BZ1ciJ3ugwCLcBGAsYHQ/s72-c/information-networks-short-questions-and-answers.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-7048191139856484003</id><published>2020-12-30T11:34:00.001+05:00</published><updated>2020-12-30T11:35:10.671+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Elements of C Short Question Answers-3</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-lqYp0AfMb5Q/X-wcsC4kTEI/AAAAAAAAAZ4/wQpvBSDn4T4ATgdxPHgUqJy8LPxg51XAwCLcBGAsYHQ/s730/elements-of-c-short-question-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-lqYp0AfMb5Q/X-wcsC4kTEI/AAAAAAAAAZ4/wQpvBSDn4T4ATgdxPHgUqJy8LPxg51XAwCLcBGAsYHQ/s730/elements-of-c-short-question-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;elements of c short question answers, ICS Part-II&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-lqYp0AfMb5Q/X-wcsC4kTEI/AAAAAAAAAZ4/wQpvBSDn4T4ATgdxPHgUqJy8LPxg51XAwCLcBGAsYHQ/w640-h364/elements-of-c-short-question-answers.jpg&quot; title=&quot;elements of c short question answers, ICS Part-II&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Elements of C - Short Questions and Answers&lt;/b&gt;. This is the 3rd&amp;nbsp; post about&amp;nbsp;&lt;b&gt;2nd Year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;ICS Part-II Computer Science Chapter No.9&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (short questions and answers)&lt;/b&gt;&amp;nbsp;are very important for the final examinations of all Boards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.9: Elements of C&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 3&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: Define the statement j += 5; ?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The statement &lt;b&gt;j += 5&lt;/b&gt; increases the value of j by 5. For example, if value of j = 10 then the value of j = 15 after the execution of above statement. &amp;nbsp;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: What is the operator’s precedence?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;An &lt;b&gt;operator’s precedence&lt;/b&gt; determines its order of evaluation in an expression.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: Write the order of operator’s precedence from highest to lowest?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The &lt;b&gt;order of operator’s precedence from highest to lowest&lt;/b&gt; is as under:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;! (logical NOT operator)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;*, /, % (modulus or remainder operator)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;+, -&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;lt;, &amp;lt;=, &amp;gt;, &amp;gt;=&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;== (equal), != (not equal)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;amp;&amp;amp; (logical AND operator)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;|| (logical OR operator)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;= (assignment operator)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What are unary operators?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The &lt;b&gt;unary operators&lt;/b&gt; are those operators that have just one operand. The example of unary operators is logical NOT, increment and decrement operator.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: What are binary operators?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The &lt;b&gt;binary operators&lt;/b&gt; are those operators that have two operands. The example of binary operators is arithmetic operators, relational operators, logical AND, logical OR and the assignment operator.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: What is ternary operator?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The &lt;b&gt;ternary operator&lt;/b&gt; is an operator that has three operands or arguments. The example of ternary operator in C language is conditional operator.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: Define the working with division operator?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The manipulation of &lt;b&gt;division operation&lt;/b&gt; is slightly different from other arithmetic operations in C. when the divisor and the dividend both are integers, the fractional part of the quotient is truncated.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Differentiate between 7.0 / 2.0 and 7 / 2 statements?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The result value of &lt;b&gt;7.0 / 2.0&lt;/b&gt; is &lt;b&gt;3.5&lt;/b&gt; but the value of 7 / 2 is the integral part of the result i.e. &lt;b&gt;3&lt;/b&gt;. The fractional part of the result i.e. &lt;b&gt;.5&lt;/b&gt; is truncated.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: What are the values of a and b after execution? Let a and b be two variables of type double and int respectively:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Let,&lt;br /&gt;a = 5 * 0.5;&lt;br /&gt;b = 5 * 0.5;&lt;br /&gt;&lt;b&gt;After execution:&lt;br /&gt;&lt;/b&gt;&lt;b&gt;a = 2.5&lt;br /&gt;&lt;/b&gt;&lt;b&gt;b = 2&lt;br /&gt; &lt;/b&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: What are the comments?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The &lt;b&gt;comments&lt;/b&gt; are used increase the readability of the program. With comments, informative notes are inserted in the program’s code, which helps in debugging and modifying the program. There are two types of comments in C:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Single line comments&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Multiline comments&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: differentiate between single-line comments and multi-line comments?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Single-line comments:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;One can insert single-line comments by typing two forwards slashes at the start of the note such as:&lt;br /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is an example of single-line comment.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Multi-line comments:&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;Multi-line comments are used to add such informative notes which extend to multiple lines. It can be inserted to the code by placing /* characters at the beginning of the comments, this is called opening of the multi-line comments. Each multi-line comment must end with letters */.&lt;br /&gt;&lt;b&gt;/*&lt;/b&gt;&lt;br /&gt;Line – 1: This is an example of multi-line comments.&lt;br /&gt;&lt;b&gt;.&lt;br /&gt;&lt;/b&gt;&lt;b&gt;.&lt;br /&gt;&lt;/b&gt;&lt;b&gt;.&lt;br /&gt;&lt;/b&gt;Line – N: This is an example of multi-line comments.&lt;br /&gt;&lt;b&gt;*/&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0.0001pt;&quot;&gt;                                                                                                                                         &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; style=&quot;font-weight: 700;&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-II&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/7048191139856484003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-short-question-answers-3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7048191139856484003'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7048191139856484003'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-short-question-answers-3.html' title='Elements of C Short Question Answers-3'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-lqYp0AfMb5Q/X-wcsC4kTEI/AAAAAAAAAZ4/wQpvBSDn4T4ATgdxPHgUqJy8LPxg51XAwCLcBGAsYHQ/s72-c/elements-of-c-short-question-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-2227221317638894696</id><published>2020-12-29T12:44:00.006+05:00</published><updated>2020-12-29T13:02:59.648+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComQuiz"/><title type='text'>Information Networks MCQs Quiz-2</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-M8o9RMF0qR0/X-rcfROn9YI/AAAAAAAAAZs/2wUPFiyNcZM7XVjH7Vra2Bw6KUCQN09RwCLcBGAsYHQ/s730/information-networks-mcqs-2.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;a href=&quot;https://1.bp.blogspot.com/-M8o9RMF0qR0/X-rcfROn9YI/AAAAAAAAAZs/2wUPFiyNcZM7XVjH7Vra2Bw6KUCQN09RwCLcBGAsYHQ/s730/information-networks-mcqs-2.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;information networks mcqs with answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-M8o9RMF0qR0/X-rcfROn9YI/AAAAAAAAAZs/2wUPFiyNcZM7XVjH7Vra2Bw6KUCQN09RwCLcBGAsYHQ/w640-h364/information-networks-mcqs-2.jpg&quot; title=&quot;information networks mcqs with answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span&gt;&lt;b&gt;Information Networks MCQs Quiz-2&lt;/b&gt;. This is the 2nd post of&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;online quiz&lt;/b&gt;&amp;nbsp;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;Part-I ||&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;1st-year&lt;/b&gt;&lt;b&gt;&amp;nbsp;Computer Science&lt;/b&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Chapter No.2&lt;/b&gt;&lt;span&gt;. MCQ Questions along with their answers to this&amp;nbsp;&lt;/span&gt;&lt;b&gt;quiz&lt;/b&gt;&lt;span&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;/span&gt;&lt;b&gt;final examination&lt;/b&gt;&lt;span&gt;,&amp;nbsp;&lt;/span&gt;&lt;b&gt;ECAT&lt;/b&gt;&lt;span&gt;, and all&amp;nbsp;&lt;/span&gt;&lt;b&gt;entry tests&lt;/b&gt;&lt;span&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Information Networks&lt;/i&gt;&lt;/b&gt;) with answers.&amp;nbsp;This is the 2nd post for&amp;nbsp;the&amp;nbsp;&lt;b&gt;&lt;i&gt;online quiz&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter, the remaining MCQs along with answers will be posted soon InshaAllah, so stay tuned for more quizzes.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chap#2: Information Networks ||&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs Online Quiz-2&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;information networks mcqs&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;information networks mcqs with answers&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;ics part-i information networks mcqs quiz&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;data encryption&#39;,&#39;&#39;,0,0,1); I[0][3][1]=new Array(&#39;data compression&#39;,&#39;&#39;,0,0,1); I[0][3][2]=new Array(&#39;manages coding schemes&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;email server&#39;,&#39;&#39;,1,100,1); I[1][3][1]=new Array(&#39;email site&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;email address&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;none these&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;upper&#39;,&#39;&#39;,1,100,1); I[2][3][1]=new Array(&#39;lower&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;presentation&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;application&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;1&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;2&#39;,&#39;&#39;,1,100,1); I[3][3][2]=new Array(&#39;5&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;7&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;structure of computers&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;network implementation&#39;,&#39;&#39;,0,0,1); I[4][3][2]=new Array(&#39;network topology&#39;,&#39;&#39;,1,100,1); I[4][3][3]=new Array(&#39;none these&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;session&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;presentation&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;physical&#39;,&#39;&#39;,0,0,1); I[5][3][3]=new Array(&#39;data link&#39;,&#39;&#39;,1,100,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;LAN&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;MAN&#39;,&#39;&#39;,1,100,1); I[6][3][2]=new Array(&#39;WAN&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;session&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;application&#39;,&#39;&#39;,1,100,1); I[7][3][2]=new Array(&#39;transport&#39;,&#39;&#39;,0,0,1); I[7][3][3]=new Array(&#39;physical&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;1&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;2&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;7&#39;,&#39;&#39;,1,100,1); I[8][3][3]=new Array(&#39;8&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;session&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;presentation&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;application&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;data link&#39;,&#39;&#39;,1,100,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;data link&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;physical&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;transport&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;network&#39;,&#39;&#39;,1,100,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;router&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;NIC&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;hub&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;bridge&#39;,&#39;&#39;,1,100,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;freeware&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;groupware&#39;,&#39;&#39;,1,100,1); I[12][3][2]=new Array(&#39;shareware&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;telnet&#39;,&#39;&#39;,0,0,1); I[13][3][1]=new Array(&#39;FTP&#39;,&#39;&#39;,1,100,1); I[13][3][2]=new Array(&#39;gopher&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;TCP&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;utility&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;terminal emulation&#39;,&#39;&#39;,1,100,1); I[14][3][2]=new Array(&#39;terminal networking&#39;,&#39;&#39;,0,0,1); I[14][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The function of presentation layer is?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data encryption&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data compression&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;manages coding schemes&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Gmail is an example of?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;email server&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;email site&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;email address&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Group of layers which is responsible for user application and representation of data on computers before transportation?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;upper&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;lower&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;presentation&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;application&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The layers of OSI model are divided into following number of groups?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;2&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;5&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;7&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Layout of connected devices on a computer network is referred as?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;structure of computers&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;network implementation&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;network topology&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;In which layer Media access control (MAC) resides?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;session&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;presentation&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;physical&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data link&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Mobile phone system is based on?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;LAN&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;MAN&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;WAN&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The network services like file transfer, telnet and email are provided by following layer of OSI model?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;session&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;application&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;transport&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;physical&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The number of layers in OSI model are?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;2&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;7&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;8&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The OSI layer that detects and removes errors from data?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;session&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;presentation&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;application&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data link&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The routing and traffic congestion management are provided by___ layer?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data link&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;physical&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;transport&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;network&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The similar network segments are connected by?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;router&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;NIC&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;hub&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;bridge&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The software designed to help people involved in a common task to achieve their goals?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;freeware&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;groupware&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;shareware&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The software which helps terminal to download or upload files to a larger computer?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;telnet&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;FTP&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;gopher&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;TCP&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The software which makes a given computer act like a terminal to communicate with mainframe?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;utility&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;terminal emulation&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;terminal networking&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/2227221317638894696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-mcqs-quiz-2.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2227221317638894696'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2227221317638894696'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-mcqs-quiz-2.html' title='Information Networks MCQs Quiz-2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-M8o9RMF0qR0/X-rcfROn9YI/AAAAAAAAAZs/2wUPFiyNcZM7XVjH7Vra2Bw6KUCQN09RwCLcBGAsYHQ/s72-c/information-networks-mcqs-2.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-3453946071788415946</id><published>2020-12-28T13:46:00.002+05:00</published><updated>2020-12-29T10:47:35.280+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComQuiz"/><title type='text'>Elements of C – MCQs Quiz-2</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-tIoaisGJDt4/X-mYXZsaJmI/AAAAAAAAAZg/40A31jd57SQ0m4RSnaaq6YJWb4ZbU3XWQCLcBGAsYHQ/s730/elements-of-C-MCQs.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-tIoaisGJDt4/X-mYXZsaJmI/AAAAAAAAAZg/40A31jd57SQ0m4RSnaaq6YJWb4ZbU3XWQCLcBGAsYHQ/s730/elements-of-C-MCQs.jpg&quot;&gt;&lt;img alt=&quot;elements of C MCQs, Computer ICS Part-II&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-tIoaisGJDt4/X-mYXZsaJmI/AAAAAAAAAZg/40A31jd57SQ0m4RSnaaq6YJWb4ZbU3XWQCLcBGAsYHQ/w640-h364/elements-of-C-MCQs.jpg&quot; title=&quot;elements of C MCQs, Computer ICS Part-II&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;!--more--&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Elements of C - MCQs Quiz-2&lt;/b&gt;. This is the 2nd post of&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;online quiz&lt;/b&gt;&amp;nbsp;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;Part-II ||&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;2nd-year&lt;/b&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;Computer Science&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Chapter No.9&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. MCQ Questions of this&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;quiz&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;final examination&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;ECAT&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, and all&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;entry tests&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;) with answers.&amp;nbsp;This is the 2nd post for&amp;nbsp;the&amp;nbsp;&lt;b&gt;&lt;i&gt;online quiz&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter, the remaining MCQs along with answers will be posted soon.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.9: Elements of C ||&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs Online Quiz-2&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;Element of C - MCQs Online Quiz | studyspot.pk&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Element of C - MCQs Online Quiz | studyspot.pk&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;elements of c mcqs with answers&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;undeclared&#39;,&#39;&#39;,1,100,1); I[0][3][1]=new Array(&#39;not initialized&#39;,&#39;&#39;,0,0,1); I[0][3][2]=new Array(&#39;undeclared + not initialized&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;assign 7 as value to x&#39;,&#39;&#39;,0,0,1); I[1][3][1]=new Array(&#39;store 7 in x&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;checks whether 7 is equals to x or not&#39;,&#39;&#39;,1,100,1); I[1][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;either one of condition is true&#39;,&#39;&#39;,1,100,1); I[2][3][1]=new Array(&#39;no condition is true&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;both conditions are true&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;both conditions are true&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;4&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;32&#39;,&#39;&#39;,1,100,1); I[3][3][2]=new Array(&#39;16&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;64&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;true&#39;,&#39;&#39;,1,100,1); I[4][3][1]=new Array(&#39;false&#39;,&#39;&#39;,0,0,1); I[4][3][2]=new Array(&#39;true + false&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;unary&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;binary&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;ternary&#39;,&#39;&#39;,1,100,1); I[5][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;definition&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;assignment&#39;,&#39;&#39;,0,0,1); I[6][3][2]=new Array(&#39;initialization&#39;,&#39;&#39;,1,100,1); I[6][3][3]=new Array(&#39;definition + assignment&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;variables&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;functions&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;labels&#39;,&#39;&#39;,0,0,1); I[7][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;positive&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;fractional&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;negative&#39;,&#39;&#39;,0,0,1); I[8][3][3]=new Array(&#39;fractional + negative&#39;,&#39;&#39;,1,100,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;defined&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;null&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;zero&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;garbage&#39;,&#39;&#39;,1,100,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;printf()&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;int()&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;scanf()&#39;,&#39;&#39;,1,100,1); I[10][3][3]=new Array(&#39;sqrt()&#39;,&#39;&#39;,0,0,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;standard identifiers&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;reserved words&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;keywords&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;&gt;=&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;&lt;=&#39;,&#39;&#39;,0,0,1); I[12][3][2]=new Array(&#39;!=&#39;,&#39;&#39;,1,100,1); I[12][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;data_type variable_name;&#39;,&#39;&#39;,1,100,1); I[13][3][1]=new Array(&#39;data_type;&#39;,&#39;&#39;,0,0,1); I[13][3][2]=new Array(&#39;variable_name;&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;int x&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;int x=50&#39;,&#39;&#39;,0,0,1); I[14][3][2]=new Array(&#39;int z;&#39;,&#39;&#39;,0,0,1); I[14][3][3]=new Array(&#39;int x=50;&#39;,&#39;&#39;,1,100,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;TC++ generates error if variables are?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;undeclared&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;not initialized&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;undeclared + not initialized&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The “x==7” will?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;assign 7 as value to x&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;store 7 in x&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;checks whether 7 is equals to x or not&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The logical OR operator combines two conditions and evaluates to true if?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;either one of condition is true&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;no condition is true&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;both conditions are true&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;both conditions are true&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The memory requirement for float data type in bits is?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;4&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;16&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;64&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The non-zero value is produced only when expression evaluates to?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;true&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;false&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;true + false&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The operator which operates on three operands is called?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;unary&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;binary&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ternary&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The process of assigning values to a variable at the time of declaration is___?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;definition&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;assignment&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;initialization&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;definition + assignment&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The term identifier is used to represent names of ____ in a program?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;variables&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;functions&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;labels&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The unsigned int cannot handle following type of values?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;positive&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;fractional&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;negative&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;fractional + negative&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;What is the value of variable at the time of its declaration?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;defined&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;null&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;zero&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;garbage&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following is a standard input function?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;printf()&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int()&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;scanf()&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;sqrt()&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings have predefined meaning in C?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;standard identifiers&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;reserved words&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;keywords&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following is a “not equals to operator”?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;gt;=&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;&amp;lt;=&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;!=&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following is a valid syntax for variable declaration?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data_type variable_name;&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data_type;&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;variable_name;&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following is a valid variable initialization?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int x&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int x=50&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int z;&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int x=50;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/3453946071788415946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-mcqs-quiz-2.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/3453946071788415946'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/3453946071788415946'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-mcqs-quiz-2.html' title='Elements of C – MCQs Quiz-2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-tIoaisGJDt4/X-mYXZsaJmI/AAAAAAAAAZg/40A31jd57SQ0m4RSnaaq6YJWb4ZbU3XWQCLcBGAsYHQ/s72-c/elements-of-C-MCQs.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5605971028470171183</id><published>2020-12-22T11:00:00.003+05:00</published><updated>2020-12-22T11:04:18.635+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Elements of C - Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-aXCwKI65048/X-GGviQfwPI/AAAAAAAAAZI/P3objJXEYU0jrqkk3LngkFgTRH8k1_G_QCLcBGAsYHQ/s730/elements-of-C-short-questions-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-aXCwKI65048/X-GGviQfwPI/AAAAAAAAAZI/P3objJXEYU0jrqkk3LngkFgTRH8k1_G_QCLcBGAsYHQ/s730/elements-of-C-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Elements-of-C-short-questions-answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-aXCwKI65048/X-GGviQfwPI/AAAAAAAAAZI/P3objJXEYU0jrqkk3LngkFgTRH8k1_G_QCLcBGAsYHQ/w640-h364/elements-of-C-short-questions-answers.jpg&quot; title=&quot;Elements-of-C-short-questions-answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Elements of C - Short Questions and Answers&lt;/b&gt;. This is the 2nd post about&amp;nbsp;&lt;b&gt;2nd Year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;ICS Part-II Computer Science Chapter No.9&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (short questions and answers)&lt;/b&gt;&amp;nbsp;are important for the final examinations of all Boards of Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.9: Elements of C&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 2&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Define data types for integers?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;The data type &lt;b&gt;&lt;i&gt;int&lt;/i&gt;&lt;/b&gt; is used to represent integers – the whole numbers. This means that int variables store numbers that have no fractional parts such as 1128, -1025, etc. Along with standard type &lt;b&gt;&lt;i&gt;int&lt;/i&gt;&lt;/b&gt;, the compiler also supports two more types of integers i.e. &lt;b&gt;&lt;i&gt;short int&lt;/i&gt;&lt;/b&gt;and &lt;b&gt;&lt;i&gt;long int&lt;/i&gt;&lt;/b&gt;. The data types &lt;b&gt;&lt;i&gt;signed int&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;int&lt;/i&gt;&lt;/b&gt;can handle both &lt;b&gt;&lt;i&gt;signed&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;unsigned&lt;/i&gt;&lt;/b&gt; whole numbers such as 245, -150, etc., whereas the data type &lt;b&gt;&lt;i&gt;unsigned&lt;/i&gt;&lt;/b&gt; can not handle negative numbers.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Define data types for floating-point numbers?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Floating-point numbers are the numbers that have a fractional part e.g., 12.359, and -8.64, etc. &lt;b&gt;ANSI C&lt;/b&gt; specifies three floating-point types that differ in their memory requirements: &lt;b&gt;&lt;i&gt;float&lt;/i&gt;&lt;/b&gt;, &lt;b&gt;&lt;i&gt;double,&lt;/i&gt;&lt;/b&gt; and &lt;b&gt;&lt;i&gt;long double&lt;/i&gt;&lt;/b&gt;. These data types provide higher precision than the data types used for integers.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.3: Define data type for characters?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;The data type &lt;b&gt;&lt;i&gt;char&lt;/i&gt;&lt;/b&gt; is used to represent a letter, number, or punctuation mark. A &lt;b style=&quot;font-style: italic;&quot;&gt;char &lt;/b&gt;data&amp;nbsp;type variable occupies 1 byte in memory and can represent individual characters such as ‘a’, ‘c’ and ‘$’ etc.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.4:What is arithmetic underflow?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;When two very small numbers are manipulated, the result may be too small to be represented accurately, so it will be represented as zero. This phenomenon is called &lt;b&gt;&lt;i&gt;arithmetic underflow&lt;/i&gt;&lt;/b&gt;. &lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: What is arithmetic overflow?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Manipulation of two very large numbers may result to a too large number to be represented. This phenomenon is called &lt;b&gt;&lt;i&gt;arithmetic overflow&lt;/i&gt;&lt;/b&gt;.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.6: What are the operators?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;i&gt;Operators&lt;/i&gt;&lt;/b&gt; are symbols, which are used to perform certain operations on data. C is equipped with a rich set of operators e.g. arithmetic operators, relational operators, logical operators, bitwise operators, and many others. &lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: What is the modulus (remainder) operator?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Contrary to the division operator, which returns the quotient, it returns the remainder of an integral division. For example, if a and b are two integers having values 8 and 3 respectively, then the express a % b will be evaluated to 2, which is the remainder of the integral division.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.8: What are relational operators?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;i&gt;Relational operators&lt;/i&gt;&lt;/b&gt; are used to compare two values. These operators always evaluate to true or false. There are six basic relational operators in C i.e. ==, &amp;lt;, &amp;gt;, &amp;lt;=, &amp;gt;=, and != .&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: Define logical operators?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;i&gt;Logical operators&lt;/i&gt;&lt;/b&gt; combine two or more relational expressions to construct compound expressions. The logical operators are &amp;amp;&amp;amp; (logical AND), || (logical OR), and ! (logical NOT). The logical&lt;b&gt;&lt;i&gt;&amp;nbsp;operators&lt;/i&gt;&lt;/b&gt; always evaluate to true or false.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.10: Differentiate between Logical ‘AND’ and Logical ‘OR’ operators?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Logical&amp;amp;&amp;amp; (logical AND) Operator:When combines two conditions, evaluates to true if both the conditions are true, otherwise, it evaluates to false.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Logical || (logical OR) Operator: When combines two conditions evaluate to true if any one of the conditions evaluate to true, otherwise, it evaluates to false. &lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: Define ! (logical NOT) operator?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;The &lt;b&gt;&lt;i&gt;logical operator ! &lt;/i&gt;&lt;/b&gt;(&lt;b&gt;&lt;i&gt;logical NOT&lt;/i&gt;&lt;/b&gt;) when applied toa condition, reverse the result of the evaluation of the condition, this means that if the condition evaluates to true, the logical &lt;b&gt;&lt;i&gt;NOT operator&lt;/i&gt;&lt;/b&gt; evaluates to false and vice versa.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: What is an assignment operator?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;The &lt;b&gt;&lt;i&gt;assignment operator&lt;/i&gt;&lt;/b&gt; is used to store a value or a computational result in a variable. The symbol = represents the assignment operator. For example:&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;Area = height * width;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: Differentiate between increment and decrement operators?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;The &lt;b&gt;&lt;i&gt;increment operator&lt;/i&gt;&lt;/b&gt; increases the value of its operand by one whereas the &lt;b&gt;&lt;i&gt;decrement operator&lt;/i&gt;&lt;/b&gt; decreases the value of its operand by one. These are denoted by the symbol ++ and _ _ respectively.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: Differentiate between prefix and postfix increment operator?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;When ++ precedes its operand, it is called &lt;b&gt;&lt;i&gt;prefix increment&lt;/i&gt;&lt;/b&gt;. When the ++ follows its operand, it is called &lt;b&gt;&lt;i&gt;postfix increment&lt;/i&gt;&lt;/b&gt;.&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: What are compound assignment operators?&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;There are four &lt;b&gt;&lt;i&gt;compound assignment operators&lt;/i&gt;&lt;/b&gt;that can increment or decrement the value of their operand by other than one. These are +=, -=, *= and /= operators.&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Note:&lt;/span&gt;&amp;nbsp;The remaining short questions and answers of this chapter will be published soon InshaAllah, therefore keep stay tuned for further short questions and MCQs || Online Quiz.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-weight: 700; text-decoration-line: underline;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-II&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5605971028470171183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-short-questions.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5605971028470171183'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5605971028470171183'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-short-questions.html' title='Elements of C - Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-aXCwKI65048/X-GGviQfwPI/AAAAAAAAAZI/P3objJXEYU0jrqkk3LngkFgTRH8k1_G_QCLcBGAsYHQ/s72-c/elements-of-C-short-questions-answers.jpg" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-7221846016399673633</id><published>2020-12-19T16:52:00.005+05:00</published><updated>2020-12-22T11:03:19.952+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Information Networks – Short Questions and Answers-1</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-djRa_b_mAqA/X93kn5MNdaI/AAAAAAAAAY8/L2khyYr8iRkBCYDZi-OStW5bIOn7T4R6QCLcBGAsYHQ/s730/information-networks-short-questions-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-djRa_b_mAqA/X93kn5MNdaI/AAAAAAAAAY8/L2khyYr8iRkBCYDZi-OStW5bIOn7T4R6QCLcBGAsYHQ/s730/information-networks-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;information networks short questions answers, ICS Part-I&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-djRa_b_mAqA/X93kn5MNdaI/AAAAAAAAAY8/L2khyYr8iRkBCYDZi-OStW5bIOn7T4R6QCLcBGAsYHQ/w640-h364/information-networks-short-questions-answers.jpg&quot; title=&quot;information networks short questions answers, ICS Part-I&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Information Networks - Questions and Answers&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;. This is the 1st post about&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;1st Year&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&amp;nbsp;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;ICS Part-I Computer Science Chapter No.2&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;: (&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;i&gt;Information Networks&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;) |&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Short Questions and Answers&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (short questions and answers)&lt;/b&gt;&amp;nbsp;are important for the final examinations of all Boards of Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.2: Information Networks&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 1&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Define computer networking?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; A number of computers connected together to communicate with each other through a communication medium is called the computer network. The computer connected to a network can exchange information and data. It can also use the resources of other computers connected to the network.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.2: What are the benefits of networks?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following are some benefits of computer networks:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Increase in productivity&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cost-saving&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Less disk storage&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Easy maintenance&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.3: What is the purpose of networks?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The computers are connected to form a network for one or more of the following reason:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sharing peripheral devices&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sharing of programs and data&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Communications&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Remote access&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Information security&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.4: Define workgroup computing?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A group of persons working together on a task and sharing information through a computer network is called a workgroup. The exchange and sharing of information and data by various members of the workgroup over the computer network is called workgroup computing. It is also known as collaborative computing.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: What is groupware?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The software that provides facilities for workgroup computing is called groupware. This software is used on the computer network. They serve a group of users working together on a project.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.6: Write some functions of groupware?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Groupware provides the following functions:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;E-mail&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Scheduling and contact management&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Document management and sharing&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Teleconferencing&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.7: Define E-mail and also write its two benefits?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;E-mail (Electronic mail) is the process of sending messages directly from one computer to another. An E-mail has many benefits; few of them are as under:&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;font-family: inherit;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Cost-effective&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Distance does not matter&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The recipient is not interrupted&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt; &lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.8: What is the internet?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The internet (International Network) is a network of a large number of computer networks around the world. It is a data communication system. Through this system, millions of computers have been linked together. It is a wonderful and amazing arena where we can find information about anything of the world.&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: What is ARPANET?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;During the late 1960s, it was designed as ARPANET (&lt;b&gt;A&lt;/b&gt;dvanced &lt;b&gt;R&lt;/b&gt;esearch &lt;b&gt;P&lt;/b&gt;roject &lt;b&gt;A&lt;/b&gt;gency &lt;b&gt;NET&lt;/b&gt;work) by the US Department of Defense – DARPA, in collaboration with other universities and research organizations. It allows scientists at different locations to share information to collaborate on military and scientific projects.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: What is NSFNET?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;In 1989, all previous networks were replaced by National Science Foundation’s Network (&lt;b&gt;NSFNET&lt;/b&gt;). This was an important decision. Now the network could be used for civilian purpose also, and the use and application of the internet grew rapidly.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.11: What is packet switching?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The network operated with a technique called packet switching in which digital data was sent in small packages called packets. The packets contained data, address information, error-control information and sequencing information.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.12: Define servers?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Servers allow users to connect to the internet. Servers also help the users to store and share information on the internet.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.13: What is host computer?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;A computer that stores information in the form of text, pictures, sound, and video and to which the terminal or PC is attached is called host computer. If a PC is being used as a terminal, file transfer software permits users to download data files from the host or upload data files to the host.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: Differentiate between download and upload?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;To &lt;b&gt;download&lt;/b&gt;a file means to retrieve it from another computer and to send it to the computer of the user who requested the file. To &lt;b&gt;upload&lt;/b&gt; a file, a user sends a file to another computer.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Write some components (services) of the Internet?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The most commonly used Internet components/services include E-mail, Telnet, Newsgroup, Mailing List, Chat Rooms, Gopher, and World Wide Web (&lt;b&gt;WWW&lt;/b&gt;) etc.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;                                                                                                                       &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;Note:&lt;/span&gt; The remaining short questions and answers of this chapter will be published soon InshaAllah, therefore keep stay tuned for further short questions and MCQs || Online Quiz.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #0000ee; font-weight: 700; text-decoration-line: underline;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-I&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/7221846016399673633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-short-questions.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7221846016399673633'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7221846016399673633'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-short-questions.html' title='Information Networks – Short Questions and Answers-1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-djRa_b_mAqA/X93kn5MNdaI/AAAAAAAAAY8/L2khyYr8iRkBCYDZi-OStW5bIOn7T4R6QCLcBGAsYHQ/s72-c/information-networks-short-questions-answers.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5906918969559412301</id><published>2020-12-15T13:18:00.003+05:00</published><updated>2020-12-29T10:50:29.133+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComQuiz"/><title type='text'>Information Networks – MCQs Quiz</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-IVObTzvmNxc/X9huOIuEX2I/AAAAAAAAAYw/4_4zGQkCp6kRNEW1JfSoDHq0AhMXwrywgCLcBGAsYHQ/s730/information-networks-mcqs.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-IVObTzvmNxc/X9huOIuEX2I/AAAAAAAAAYw/4_4zGQkCp6kRNEW1JfSoDHq0AhMXwrywgCLcBGAsYHQ/s730/information-networks-mcqs.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;ICS Part-I, computer chapter no.2 information networks MCQs with answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-IVObTzvmNxc/X9huOIuEX2I/AAAAAAAAAYw/4_4zGQkCp6kRNEW1JfSoDHq0AhMXwrywgCLcBGAsYHQ/w640-h364/information-networks-mcqs.jpg&quot; title=&quot;ICS Part-I, computer chapter no.2 information networks MCQs with answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Information Networks - MCQs Quiz&lt;/b&gt;. This is 1st post of&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;online quiz&lt;/b&gt;&amp;nbsp;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;Part-I ||&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;1st-year&lt;/b&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;Computer Science&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Chapter No.2&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;. MCQ Questions of this&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;quiz&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;final examination&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;ECAT&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;, and all&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;entry tests&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Information Networks&lt;/i&gt;&lt;/b&gt;) with answers.&amp;nbsp;This is the 1st post for&amp;nbsp;the&amp;nbsp;&lt;b&gt;&lt;i&gt;online quiz&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter, the remaining MCQs along with answers will be posted soon.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.2: Information Networks ||&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs Online Quiz-1&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;information networks mcqs&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;information networks mcqs with answers&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;ics part-i information networks mcqs with answers&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;information networks important mcqs with answers&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;client&#39;,&#39;&#39;,0,0,1); I[0][3][1]=new Array(&#39;server&#39;,&#39;&#39;,1,100,1); I[0][3][2]=new Array(&#39;terminal&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;client&#39;,&#39;&#39;,1,100,1); I[1][3][1]=new Array(&#39;host&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;server&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;unicasting&#39;,&#39;&#39;,1,100,1); I[2][3][1]=new Array(&#39;multicasting&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;broadcasting&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;how sender sends data&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;how receiver receives data&#39;,&#39;&#39;,0,0,1); I[3][3][2]=new Array(&#39;how data will be represented&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;twisted pair&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;coaxial&#39;,&#39;&#39;,0,0,1); I[4][3][2]=new Array(&#39;optical&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;electrical mail&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;electronic mail&#39;,&#39;&#39;,1,100,1); I[5][3][2]=new Array(&#39;electronic email&#39;,&#39;&#39;,0,0,1); I[5][3][3]=new Array(&#39;enable mail&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;device&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;node&#39;,&#39;&#39;,1,100,1); I[6][3][2]=new Array(&#39;bus&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;terminator&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;data link&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;presentation&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;network&#39;,&#39;&#39;,0,0,1); I[7][3][3]=new Array(&#39;session&#39;,&#39;&#39;,1,100,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;NIC&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;switch&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;hub&#39;,&#39;&#39;,0,0,1); I[8][3][3]=new Array(&#39;Switch, hub&#39;,&#39;&#39;,1,100,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;DARPA&#39;,&#39;&#39;,1,100,1); I[9][3][1]=new Array(&#39;ARPA&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;NSFNET&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;data sharing&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;reduce hardware cost&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;resource sharing&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;NIC&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;terminal&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;barrel connector&#39;,&#39;&#39;,1,100,1); I[11][3][3]=new Array(&#39;extension wire&#39;,&#39;&#39;,0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;international network&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;www&#39;,&#39;&#39;,1,100,1); I[12][3][2]=new Array(&#39;intranet&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;internet&#39;,&#39;&#39;,0,0,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;server&#39;,&#39;&#39;,0,0,1); I[13][3][1]=new Array(&#39;central device&#39;,&#39;&#39;,1,100,1); I[13][3][2]=new Array(&#39;sender&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;receiver&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;LAN&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;MAN&#39;,&#39;&#39;,0,0,1); I[14][3][2]=new Array(&#39;WAN&#39;,&#39;&#39;,1,100,1); I[14][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,0,0,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;A computer that controls the whole network is known as?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;client&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;server&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;terminal&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;A computer which needs the services from a server is known as?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;client&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;host&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;server&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;A method of sending data to a single node in a computer network?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;unicasting&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;multicasting&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;broadcasting&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;A network protocol tells?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;how sender sends data&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;how receiver receives data&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;how data will be represented&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Arcnet protocol supports which communication media?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;twisted pair&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;coaxial&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;optical&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Email stands for?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;electrical mail&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;electronic mail&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;electronic email&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;enable mail&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;In a network each computer refers to a? &lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;device&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;node&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;bus&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;terminator&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which layer creates and manages connection between machines? &lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data link&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;presentation&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;network&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;session&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;In star network topology, central device can be?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;NIC&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;switch&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;hub&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Switch, hub&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;ARPANET was developed by?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;DARPA&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ARPA&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;NSFNET&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Benefits of computer network may include?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;data sharing&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;reduce hardware cost&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;resource sharing&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The cabling in a linear bus topology can be extended using?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;NIC&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;terminal&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;barrel connector&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;extension wire&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Collection of all webpages around the globe is called?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;international network&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;www&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;intranet&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;internet&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Communication in star network is controlled by?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;server&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;central device&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;sender&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;receiver&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The cost of setup for which type of network is highest?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;LAN&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;MAN&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;WAN&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5906918969559412301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-mcqs-quiz.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5906918969559412301'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5906918969559412301'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/information-networks-mcqs-quiz.html' title='Information Networks – MCQs Quiz'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-IVObTzvmNxc/X9huOIuEX2I/AAAAAAAAAYw/4_4zGQkCp6kRNEW1JfSoDHq0AhMXwrywgCLcBGAsYHQ/s72-c/information-networks-mcqs.jpg" height="72" width="72"/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-4802550607955448883</id><published>2020-12-14T13:58:00.001+05:00</published><updated>2020-12-14T13:59:39.025+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Basics of IT – Short Question and Answer</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-5QYpN_SF2J0/X9clWSlIApI/AAAAAAAAAYk/KH-EziHo8hkYgEoFIOGCwoJkq8R24HjzACLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-5QYpN_SF2J0/X9clWSlIApI/AAAAAAAAAYk/KH-EziHo8hkYgEoFIOGCwoJkq8R24HjzACLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;11 class Basics of IT short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;365&quot; src=&quot;https://1.bp.blogspot.com/-5QYpN_SF2J0/X9clWSlIApI/AAAAAAAAAYk/KH-EziHo8hkYgEoFIOGCwoJkq8R24HjzACLcBGAsYHQ/w640-h365/basics-of-IT-short-questions-answers.jpg&quot; title=&quot;11 class Basics of IT short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Basics of IT, Question and Answer&lt;/b&gt;. This is the 5th post about&amp;nbsp;&lt;b&gt;1st Year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;ICS Part-I Computer Science Chapter No.1&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Basics of Information Technology&lt;/i&gt;&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (short questions and answers)&lt;/b&gt;&amp;nbsp;are important for the final examinations of all Boards of Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Basics of Information Technology&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 5&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: Differentiate between flatbed and drum plotter? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A flatbed plotter has a paper lying flat on table-like surface. The bed size varies according to the need. One to four color pens move across the paper.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Drum plotter works like a flatbed plotter with the difference that the paper is mounted over a drum enabling a continuous output. Typical usage is to track an earthquake reading. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Differentiate between bit and byte?&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The binary number 1 or 0 is called a &lt;b&gt;bit&lt;/b&gt;(Binary Digit), which is the basic unit for storing data in the computer memory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A byte is a combination of 8-bits, that can store a single character of data. the capacity of the memory or the storage is expressed in terms of the number of bytes it can hold or store.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: What is meant by the term “WORD”?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Word is the size of a register, is defined as the number of bits that constitute a common unit of data. it varies from computer to computer. Generally, the larger the word, the more powerful is the computer. Normally 4-bytes are equal to 1-Word in the microcomputer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: Define the terms “system”?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is a combination of some related components that interact with each other to perform some specific tasks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: Write components of the system?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hardware&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Software&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;People / users&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Data / information&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Communication setup&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;/p&gt;         &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: What is SDLC?&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;SDLC (Software Development Life Cycle) is an organized way to develop a successful system. It involves several distinct phases.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Define logical design?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It describes the general functional capabilities of the proposed system. It reviews the system requirements and considers the major system components.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Define physical design?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It describes how a proposed system will deliver the general capabilities described in the logical design. It will address the following points: input/output requirements, storage requirements, processing requirements, and system control and backup/recovery.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: What is coding?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;This is the core area of the system development process. It consists of writing the segments, which will be coupled together in the shape of a complete system. It needs a lot of time, effort, and budget to acquire a workable system. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Differentiate between unit-testing and system-testing?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Unit-Testing:&lt;/b&gt; It is also called modular testing where individual modules can be tested using test data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;System-Testing:&lt;/b&gt; In this, parts or modules are linked together to test their workability as one system. Actual or erroneous data can be used to check whether the system fails or not. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: Differentiate between direct implementation and parallel implementation?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Direct Implementation:&lt;/b&gt; In this way, the users start using the new system right away and stop working on the old one.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Parallel Implementation:&lt;/b&gt; Using the approach, the new and old systems are used side by side until it is felt that the new system is quite reliable. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Differentiate between Phased implementation and Pilot implementation?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Phased Implementation:&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; In this approach, parts of the system are implemented from time to time until the whole system is implemented.&lt;/span&gt;&lt;br /&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Pilot Implementation:&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; This type of implementation allows to implement the complete system but to a selected group of users or selected departments.&lt;/span&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: Which type of implementation is most preferred?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pilot and phased implementations are the most favored and popular approaches to implement the system. &lt;b&gt;&lt;i&gt;Phased&lt;/i&gt;&lt;/b&gt;approach is preferable for organizations where different types of functions carried out whereas &lt;b&gt;&lt;i&gt;Pilot&lt;/i&gt;&lt;/b&gt; approach is preferred where almost the same type of work is going on in the organization.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: Define user training?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;User training means how to use/operate the system. A variety of methods/tools are used to do so i.e. instruction manual, video/CD and lectures, etc. It may be conducted “in-house” or it may be “contracted-out”.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-I&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/4802550607955448883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/basics-of-it-short-question-answer-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/4802550607955448883'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/4802550607955448883'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/basics-of-it-short-question-answer-5.html' title='Basics of IT – Short Question and Answer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-5QYpN_SF2J0/X9clWSlIApI/AAAAAAAAAYk/KH-EziHo8hkYgEoFIOGCwoJkq8R24HjzACLcBGAsYHQ/s72-c/basics-of-IT-short-questions-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-1156150969999679413</id><published>2020-12-04T15:24:00.003+05:00</published><updated>2020-12-29T10:56:28.685+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComQuiz"/><title type='text'>Elements of C - MCQs Quiz</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-2cyXMXVGOgY/X8oLUq2EltI/AAAAAAAAAYU/QnfZP2Qc5ncNtlpU1RIOpJAS8bsA-7qrwCLcBGAsYHQ/s730/elements-of-c-mcqs.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-2cyXMXVGOgY/X8oLUq2EltI/AAAAAAAAAYU/QnfZP2Qc5ncNtlpU1RIOpJAS8bsA-7qrwCLcBGAsYHQ/s730/elements-of-c-mcqs.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;elements of c mcqs ics part ii&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-2cyXMXVGOgY/X8oLUq2EltI/AAAAAAAAAYU/QnfZP2Qc5ncNtlpU1RIOpJAS8bsA-7qrwCLcBGAsYHQ/w640-h364/elements-of-c-mcqs.jpg&quot; title=&quot;elements of c mcqs ics part ii&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Elements of C - MCQs Quiz&lt;/b&gt;. This is the 1st post of Chapter No.9 (Elements of C). These&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;online quiz&lt;/b&gt;&amp;nbsp;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;2nd year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Part-II Computer Science&lt;/b&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;b&gt;final examination&lt;/b&gt;,&amp;nbsp;&lt;b&gt;ECAT&lt;/b&gt;, and all&amp;nbsp;&lt;b&gt;entry tests&lt;/b&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;MCQs&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;(Multiple Choice Questions) from this chapter (&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;). The remaining MCQs will be posted soon&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;.&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Elements of C |&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs - Online Quiz-1&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;elements of c mcqs&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;elements of c mcqs with answers&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;elements of c mcqs online quiz&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;elements of c important mcqs&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;&lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;single line comments&#39;,&#39;&#39;,0,0,1); I[0][3][1]=new Array(&#39;multi line comments&#39;,&#39;&#39;,1,100,1); I[0][3][2]=new Array(&#39;two lines comments&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;true&#39;,&#39;&#39;,1,100,1); I[1][3][1]=new Array(&#39;false&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;4&#39;,&#39;&#39;,1,100,1); I[2][3][1]=new Array(&#39;0.5&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;4.5&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;0&#39;,&#39;&#39;,1,100,1); I[3][3][1]=new Array(&#39;3.5&#39;,&#39;&#39;,0,0,1); I[3][3][2]=new Array(&#39;8&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;350&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;upper&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;lower&#39;,&#39;&#39;,1,100,1); I[4][3][2]=new Array(&#39;upper + lower&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;unsigned&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;short&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;signed&#39;,&#39;&#39;,0,0,1); I[5][3][3]=new Array(&#39;short + signed&#39;,&#39;&#39;,1,100,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;permanently in RAM&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;temporarily in RAM&#39;,&#39;&#39;,1,100,1); I[6][3][2]=new Array(&#39;ROM&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;none of these&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;blank space&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;~&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;50&#39;,&#39;&#39;,1,100,1); I[7][3][3]=new Array(&#39;56&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;printf&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;int&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;sum&#39;,&#39;&#39;,1,100,1); I[8][3][3]=new Array(&#39;scanf&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;X&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;else&#39;,&#39;&#39;,1,100,1); I[9][3][2]=new Array(&#39;bce37&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;interest&#39;,&#39;&#39;,0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;easy readability&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;easy debugging&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;easy modification&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;all of these&#39;,&#39;&#39;,1,100,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;+&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;%&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;-&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;x&#39;,&#39;&#39;,1,100,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;allow all characters&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;not allow all characters&#39;,&#39;&#39;,0,0,1); I[12][3][2]=new Array(&#39;produce an error&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;ignore exceeding characters&#39;,&#39;&#39;,1,100,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;31&#39;,&#39;&#39;,1,100,1); I[13][3][1]=new Array(&#39;32&#39;,&#39;&#39;,0,0,1); I[13][3][2]=new Array(&#39;33&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;unlimited&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;defining variable name&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;variable assignment&#39;,&#39;&#39;,0,0,1); I[14][3][2]=new Array(&#39;allocation of memory to variable&#39;,&#39;&#39;,0,0,1); I[14][3][3]=new Array(&#39;defining name + allocation of memory to variable&#39;,&#39;&#39;,1,100,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;/* This is an example of ____ type of comment */&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;single line comments&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;multi line comments&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;two lines comments&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;10&amp;gt;=8 will evaluate to?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;true&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;false&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;18/4 = ?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;4&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;0.5&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;4.5&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;70%5 will result in?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;0&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;3.5&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;8&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;350&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;A keyword is always written in ____ case letters?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;upper&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;lower&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;upper + lower&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;All int variables are ___ if not mentioned?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;unsigned&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;short&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;signed&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;short + signed&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;All kind of variables are stored in?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;permanently in RAM&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;temporarily in RAM&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ROM&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;none of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;ASCII code for ‘2’ is ?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;blank space&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;~&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;50&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;56&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Following are examples of standard identifier except?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;printf&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;int&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;sum&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;scanf&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Following are valid variable names except?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;X&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;else&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;bce37&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;interest&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Following is an advantage of using comments?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;easy readability&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;easy debugging&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;easy modification&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;all of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Following are arithmetic operators except?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;+&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;%&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;-&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;x&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;If number of characters in a variable name exceeds 31 characters, the compiler will?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;allow all characters&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;not allow all characters&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;produce an error&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ignore exceeding characters&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;In C compiler, there are ___ number of significant characters for identifiers?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;31&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;33&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;unlimited&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;In C, variable declaration results in?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;defining variable name&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;variable assignment&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;allocation of memory to variable&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;defining name + allocation of memory to variable&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/1156150969999679413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-mcqs-quiz.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1156150969999679413'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1156150969999679413'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/elements-of-c-mcqs-quiz.html' title='Elements of C - MCQs Quiz'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-2cyXMXVGOgY/X8oLUq2EltI/AAAAAAAAAYU/QnfZP2Qc5ncNtlpU1RIOpJAS8bsA-7qrwCLcBGAsYHQ/s72-c/elements-of-c-mcqs.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-5157210132742751717</id><published>2020-12-03T12:54:00.002+05:00</published><updated>2020-12-03T12:55:28.927+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Basics of IT – Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-O9xmzGI3FW4/X8iWea4_ZEI/AAAAAAAAAAM/mQOynVt4mssX7PFco1JAEWY5IoM_CoQDwCLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-O9xmzGI3FW4/X8iWea4_ZEI/AAAAAAAAAAM/mQOynVt4mssX7PFco1JAEWY5IoM_CoQDwCLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;basics of IT short questions answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-O9xmzGI3FW4/X8iWea4_ZEI/AAAAAAAAAAM/mQOynVt4mssX7PFco1JAEWY5IoM_CoQDwCLcBGAsYHQ/w640-h364/basics-of-IT-short-questions-answers.jpg&quot; title=&quot;basics of IT short questions answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Basics of IT, Questions and Answers&lt;/b&gt;. This is the 4th post about&amp;nbsp;&lt;b&gt;1st Year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;ICS Part-I Computer Science Chapter No.1&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Basics of Information Technology&lt;/i&gt;&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions (short questions and answers)&lt;/b&gt;&amp;nbsp;are important for the final examinations of all Boards of Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Basics of Information Technology&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 4&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: What is XGA?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;XGA stands for Extended Graphics Array. It supports up to 16.7 million colors at a resolution of 1024 x 768 pixels. Depending on the video display adapter memory chip, XGA will support 256,65536 or 16,777,216 colors. It is called 24-bit color or true color.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.2: Define CRT?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;CRT (Cathode Ray Tube) is a vacuum tube used as a display screen in a computer or video display terminal. This also is found in the television set and in-flight information monitors in the airport.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: What is a flat-panel display screen?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The flat-panel displays are much thinner, weightless, and consume less power to CRT. It is made up of two plates of glass with a substance in between them which is activated in different ways. This is better for portable computers.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What is LCD?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;LCD (Liquid Crystal Display) is a type of flat-panel display screen. It consists of a substance called liquid crystal, the molecules of which line up in a way that lighting behind the screen is blocked or allowed through to create an image.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: What is the Electro-Luminescent Display?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;EL (Electro-Luminescent Display) is a type of flat-panel display screen. It contains a substance that glows when it is charged by an electric current.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: What is Gas-Plasma Display?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Gas-Plasma display is a type of flat-panel display screen. It is like a neon bulb, in which the display uses a gas that emits light in the presence of an electric current.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Define impact printers?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;An impact printer forms character or images by striking a mechanism such as a print hammer or wheel against an inked ribbon, leaving an image on the paper. Dot matrix, daisy wheel, and line printers are examples of an impact printer.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Define the dot-matrix printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It contains a print head of small pins, which strike an inked ribbon against the paper, forming characters or images. Print heads with 9, 18, or 24 pins, with 24 pins head offer the best quality.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: Define the daisy-wheel printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It uses a mechanism in the shape of a series of petals arranged on a petal wheel having a character at the end of each petal. A character comes into a print position by wheel rotation and an image is formed by the hammer strike on the desired character. It is slower than dot-matrix but better in quality.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Define the line printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Line printer is normally used by mainframe and minicomputers. It prints a whole line of characters at once rather than a single character at a time. It can print up to 3000 lines per minute.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What is a non-impact printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It forms characters or images without making direct physical contact between the printing mechanism and paper. Laser, ink-jet, and thermal printers are examples of non-impact printers.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Define laser printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Laser (Light Amplification by Stimulated Emission of Radiation) printer is similar to a photocopying machine and it uses the principle of dot-matrix printers of creating images with dots. These images are created on a drum treated with a magnetically charged ink-like toner and then transferred from drum to the paper.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: Define thermal printer?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It uses colored waxes and heat to produce images by burning dots on special paper. It produces a high-quality printout but is quite expensive.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: What is a plotter?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A plotter is used to produce high-quality graphics in many colors and for specialized applications i.e. architectural drawings, maps, graphs, and charts.&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of this Chapter No.1 (&lt;i&gt;Basics of IT&lt;/i&gt;) will be published soon.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-I&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/5157210132742751717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/12/basics-of-it-short-questions-and-answers.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5157210132742751717'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/5157210132742751717'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/12/basics-of-it-short-questions-and-answers.html' title='Basics of IT – Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-O9xmzGI3FW4/X8iWea4_ZEI/AAAAAAAAAAM/mQOynVt4mssX7PFco1JAEWY5IoM_CoQDwCLcBGAsYHQ/s72-c/basics-of-IT-short-questions-answers.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-2779239202687278967</id><published>2020-11-20T15:18:00.001+05:00</published><updated>2020-11-20T15:18:57.811+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Basics of IT – Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-NON-mWdT1xo/X7eVIxXVfWI/AAAAAAAAAYA/b57Vzraobng2xWqvpD7yETXNX2HeuRO4gCLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-NON-mWdT1xo/X7eVIxXVfWI/AAAAAAAAAYA/b57Vzraobng2xWqvpD7yETXNX2HeuRO4gCLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;basics-of-IT-short-questions-answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-NON-mWdT1xo/X7eVIxXVfWI/AAAAAAAAAYA/b57Vzraobng2xWqvpD7yETXNX2HeuRO4gCLcBGAsYHQ/w640-h364/basics-of-IT-short-questions-answers.jpg&quot; title=&quot;basics-of-IT-short-questions-answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Basics of IT, Questions and Answers&lt;/b&gt;. This is the 3rd post about&amp;nbsp;&lt;b&gt;1st Year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;ICS Part-I Computer Science Chapter No.1&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Basics of IT&lt;/i&gt;&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following&amp;nbsp;&lt;b&gt;objective questions&lt;/b&gt;&amp;nbsp;are very important for the final examinations of all Boards of Punjab as well as Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Basics of Information Technology&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 3&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: What is MICR?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;MICR stands for Magnetic-Ink Character Recognition. It is a method of machine-reading characters made of magnetized particles. MICR characters, which are printed with magnetized ink, are read by MICR equipment, producing a digitized signal, which goes to the computer as data for further processing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.2: Define OMR?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;OMR stands for Optical Mark-Recognition. Optical recognition systems use a light beam to scan input data to convert it into electrical/digital signals, which are then sent to the computers for further processing. For example, OMR is used to read the SAT and GRE marks.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.3: What is OCR?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;OCR stands for Optical Character-Recognition. It uses a device that reads preprinted characters in a particular font and converts them to digital code. The common examples are some utility bills, and price tags in the department stores.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.4: Define Magnetic-Strip Cards?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It has a strip of magnetically encoded data on its back. They are used for personal identification during driving, in the stores, at public places, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: Define smart cards?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It looks like a credit card but a microprocessor and memory chip has been added additionally. When inserted into a reader, it exchanges data with the corresponding information on a central computer. A mobile sim card and ATM card are good examples of smart cards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.6: What is a Fax Machine?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The fax or facsimile transmission machine scans an image and sends it as electrical signals over telephone lines to a receiving fax machine, which re-creates the image on paper. It has two types.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.7: Differentiate between dedicated fax machine and fax modem? &lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Dedicated fax machines are the normal fax machines whereas, the fax modem is a circuit board inside the system unit. It has the capability to send signals directly to someone else’s fax machine or computer fax modem, from computer to computer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.8: What is an Image system? &lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Image scanner (graphic scanner) converts text, drawings, and photographs into digital form and stores it on the computer system for further processing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: Define raster graphics? &lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Raster graphics refers to the technique of representing a graphic image as a matrix of dots.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.10: Define the audio input device? &lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;An audio input device records analog sound and translates it for digital storage and processing. Microphone is mostly used as an audio input device.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.11: What is a sound/audio board?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Sound (analog form) goes through a special circuit board called an audio board, which converts analog sound to digital form and stores it for further processing and/or plays it back.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.12: Define video input device?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Films and video images from VCR or camcorder are converted to digital form with the help of a special digitizing card is called a video input card. It has two types. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.13: Differentiate between frame-grabber and full-motion video card?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Frame-grabber video card capture and digitize only a single frame at a time. Full-motion video card also known as adapters can convert analog to digital signals at the rate of up to 30 frames per second, giving the effect of a continuously flowing motion picture.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: What is a digital camera?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A digital camera uses a light-sensitive processor chip to capture photographic images in digital form on a small disk inserted in the camera or on flash-memory chips. The digital form is then uploaded to the computer for manipulation and printing out.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.15: Differentiate between softcopy (sound) output and hardcopy output?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Softcopy: It refers to data that is shown on a display screen or is in audio or voice form. It is not tangible; it cannot be touched. Virtual reality and robots might also be considered softcopy devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hardcopy: It refers to printed output. The principal examples are printout, whether text or graphics, from printers, plotters, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.16: Define the display screen?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Also known as CRTs, Monitors, or simply screens differ in size, color, resolution, and video display adapter card. These are used for inputting the data or displaying the information after processing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.17: What is a resolution?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;All the characters and images on a monitor are made up of dot patterns; the number of dot, or pixels, per inch, determines resolution. The number of pixels in matrix form in an inch is called resolution. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.18: Define video display adapters / video graphics card / video controller?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is a circuit board that determines the resolution, number of colors, and speed with which images appear on the display screen. There are different types of graphics cards.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.19: What is a VGA?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Video Graphics Array, support 16-256 colors, depending on screen resolution. At 320 x 200 pixels, it will support 16 colors and at 640 x 480 pixels, 256 colors. It is called 4-bit color. &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.20: What is SVGA?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Super Video Graphics Array, support 256 colors at higher resolution than VGA. It has two graphics modes: 800 x 600 pixels and 1024 x 768 pixels. It is called 8-bit color.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of this Chapter No.1 (&lt;i&gt;Basics of IT&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-I&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/2779239202687278967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-short-questions-and-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2779239202687278967'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2779239202687278967'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-short-questions-and-answers.html' title='Basics of IT – Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-NON-mWdT1xo/X7eVIxXVfWI/AAAAAAAAAYA/b57Vzraobng2xWqvpD7yETXNX2HeuRO4gCLcBGAsYHQ/s72-c/basics-of-IT-short-questions-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-7919756179909547794</id><published>2020-11-17T14:15:00.003+05:00</published><updated>2020-11-17T14:16:35.330+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Elements of C Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-7BEF0-vb2Qc/X7OOkdCmLqI/AAAAAAAAAXw/aqRjhMyppOwPut7EWvLRb-RDXK62X7l9QCPcBGAYYCw/s730/elements-of-c-short-question-answer.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-7BEF0-vb2Qc/X7OOkdCmLqI/AAAAAAAAAXw/aqRjhMyppOwPut7EWvLRb-RDXK62X7l9QCPcBGAYYCw/s730/elements-of-c-short-question-answer.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Elements of C Short Questions and Answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-7BEF0-vb2Qc/X7OOkdCmLqI/AAAAAAAAAXw/aqRjhMyppOwPut7EWvLRb-RDXK62X7l9QCPcBGAYYCw/w640-h364/elements-of-c-short-question-answer.jpg&quot; title=&quot;Elements of C Short Questions and Answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Elements of C Questions and Answers&lt;/b&gt;. This is the 1st post about &lt;b&gt;2nd Year&lt;/b&gt; | &lt;b&gt;ICS Part-II Computer Science Chapter No.9&lt;/b&gt;: (&lt;b&gt;&lt;i&gt;Elements of C&lt;/i&gt;&lt;/b&gt;) | &lt;b&gt;Short Questions and Answers&lt;/b&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The following &lt;b&gt;objective questions&lt;/b&gt;are very important for the final examinations of all Boards of Punjab as well as Pakistan:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.9: Elements of C&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 1&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Define identifiers?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Identifiers are the names used to represent variables, constants, types, functions, and labels in the program. Identifiers in C can contain any number of characters, but only the first 31 are significant to C compiler. There are two types of identifiers in C:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Standard identifiers&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;User-defined identifier&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.2: What are the standard identifiers?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Like reserved words, standard identifiers have special meanings in C, but these can be redefined to use in the program for other purposes, however, it is not recommended. Examples of standard identifiers include &lt;b&gt;printf&lt;/b&gt; and &lt;b&gt;scanf&lt;/b&gt;.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.3: What are user-defined identifiers?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;The programmer may need to access memory locations for storing data and program results. For this purpose, memory cells are named that are called user-defined identifiers.&lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What is meant by case sensitive language?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;This means that C compiler considers uppercase and lowercase letters to be distinct characters. For example, the compiler considers Area and area as two different identifiers referring to different memory locations.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: What are the keywords?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Keywords or reserved words are the words, which have predefined meaning in C. There are 32 keywords in C. These cannot be reused or redefined for any other purpose in a C program. They are used by the compiler as an aid to compile the program. They are always written in lowercase.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.6: What is meant by strongly typed language?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Strongly typed language means that variables in C language must be declared before using them.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.7: What are the variables?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Variables are named memory locations which are used to store the program’s input data and its computational results during program execution. The value of the variable may change during the program execution. These are created in RAM, therefore the data is stored in them temporarily.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.8: What is meant by declaring a variable in C?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Variable declaring means to inform the compiler about the name of the variable and the type of data to be stored in it. A variable is declared in C by specifying its type (data type) and name.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Syntax:&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;data-type&lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;variable_name;&lt;br /&gt;Example:&lt;span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;int &lt;span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;area;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: What is defining a variable?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;A variable defining means set aside memory location for the data to be stored. It occupies the memory location for the variable to store value.&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: What is initializing a variable?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Assigning a value to a variable at the time of its declaration is called initializing a variable. By default, the allocated memory space may contain data meaningless to the program (called garbage).&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;Example:&lt;br /&gt;int count; (variable declaration and definition)&lt;br /&gt;count = 25; (variable initialization)&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What is constant?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;A constant is a quantity whose value cannot be changed during program execution. The define directive can be used to define constant macros, for example:&lt;br /&gt;#define&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;PI&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3.142857&lt;br /&gt; &lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Define numeric constant?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Numeric constants consist of numbers. It can be further divided into integer and floating-point constants. Integer constants do not have a fractional part e.g. +55, -70, etc.&lt;br /&gt;Floating-point constants represent values that are measured e.g. -5.50, 0.78 etc.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: What is a character constant?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;A character constant is a single alphabet, a single digit, or a single symbol enclosed within apostrophes e.g. ‘A’, ‘7’ and ‘#’ etc. The maximum length of a character constant is 1 character.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: What is the data type?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;The data type defines a set of values and a set of operations on those values. The data is given to the program (variable) as input. The data is processed according to the program instruction and output is returned e.g. int, float, and char, etc.&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Define standard data types?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;o:p&gt;&amp;nbsp;&lt;br /&gt;&lt;/o:p&gt;C provides different types of predefined data types to declare and store data values into variables such as &lt;i&gt;&lt;b&gt;int&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;float&lt;/b&gt;&lt;/i&gt;, &lt;b style=&quot;font-style: italic;&quot;&gt;double&lt;/b&gt;, and &lt;b&gt;&lt;i&gt;char&lt;/i&gt;&lt;/b&gt;etc&lt;/span&gt;. &lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of this Chapter No.9 (&lt;i&gt;Elements of C&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-II&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/7919756179909547794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/elements-of-c-short-question-and-answer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7919756179909547794'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7919756179909547794'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/elements-of-c-short-question-and-answer.html' title='Elements of C Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-7BEF0-vb2Qc/X7OOkdCmLqI/AAAAAAAAAXw/aqRjhMyppOwPut7EWvLRb-RDXK62X7l9QCPcBGAYYCw/s72-c/elements-of-c-short-question-answer.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-1546447101126917406</id><published>2020-11-10T12:36:00.006+05:00</published><updated>2020-12-29T10:54:31.683+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComQuiz"/><title type='text'>Basics of IT – MCQs Quiz</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-ISqj4fv3zXA/X6o_gIApnnI/AAAAAAAAAXk/2hfZRFN8SxwEz-HF1nPh8tUoNPv4gRgggCLcBGAsYHQ/s740/basics-of-IT-mcqs.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-ISqj4fv3zXA/X6o_gIApnnI/AAAAAAAAAXk/2hfZRFN8SxwEz-HF1nPh8tUoNPv4gRgggCLcBGAsYHQ/s740/basics-of-IT-mcqs.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;basics-of-IT-mcqs&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;740&quot; height=&quot;360&quot; src=&quot;https://1.bp.blogspot.com/-ISqj4fv3zXA/X6o_gIApnnI/AAAAAAAAAXk/2hfZRFN8SxwEz-HF1nPh8tUoNPv4gRgggCLcBGAsYHQ/w640-h360/basics-of-IT-mcqs.jpg&quot; title=&quot;basics-of-IT-mcqs&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Basics of IT - MCQs Quiz&lt;/b&gt;. This is 3rd post of&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;|&amp;nbsp;&lt;b&gt;online quiz&lt;/b&gt;&amp;nbsp;for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;1st year&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Part-I Computer Science&lt;/b&gt;&amp;nbsp;&lt;b&gt;Chapter No.1&lt;/b&gt;. MCQ Questions of this&amp;nbsp;&lt;b&gt;quiz&lt;/b&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;b&gt;final examination&lt;/b&gt;,&amp;nbsp;&lt;b&gt;ECAT&lt;/b&gt;, and all&amp;nbsp;&lt;b&gt;entry tests&lt;/b&gt;&amp;nbsp;for all universities of Pakistan.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;If you are trying to find&amp;nbsp;&lt;/span&gt;&lt;b&gt;Computer&#39;s&amp;nbsp;&lt;/b&gt;&lt;span&gt;Multiple Choice Questions&lt;/span&gt;&lt;b&gt;&amp;nbsp;(MCQs)&lt;/b&gt;&lt;span&gt;&amp;nbsp;of the 1st chapter named Basics of Information Technology, ICS Part-I, then you are at the right place. Here you can find | attempt maximum objective questions (&lt;b&gt;MCQs&lt;/b&gt;) | &lt;b&gt;online&lt;/b&gt;&amp;nbsp;&lt;b&gt;quiz&amp;nbsp;&lt;/b&gt;of&amp;nbsp;&lt;b&gt;Computer Science&amp;nbsp;&lt;/b&gt;as well as all other subjects.&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Basics of IT&lt;/i&gt;&lt;/b&gt;).&amp;nbsp;This is 3rd &lt;b&gt;&lt;i&gt;online quiz&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-I | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-I | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Basics of IT |&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs | Online Quiz - 3&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt; &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;basics of IT mcqs&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;basics of IT mcqs with answers&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;basics of IT important mcqs&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 16; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;Laser printer&#39;,&#39;&#39;,1,100,1); I[0][3][1]=new Array(&#39;Ink-jet printer&#39;,&#39;&#39;,0,0,1); I[0][3][2]=new Array(&#39;Thermal printer&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;None of above&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;Heavy in weight&#39;,&#39;&#39;,0,0,1); I[1][3][1]=new Array(&#39;Large in size&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;Consumes more power&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;Barcode reader&#39;,&#39;&#39;,1,100,1); I[2][3][1]=new Array(&#39;OMR&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;MICR&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;Liquid crystal display&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;Electro-Luminescent display&#39;,&#39;&#39;,0,0,1); I[3][3][2]=new Array(&#39;Gas-plasma display&#39;,&#39;&#39;,1,100,1); I[3][3][3]=new Array(&#39;All of above&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;Magnetic strip card&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;Smart card&#39;,&#39;&#39;,1,100,1); I[4][3][2]=new Array(&#39;Visiting card&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;Mouse&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;Trackball&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;Joystick&#39;,&#39;&#39;,1,100,1); I[5][3][3]=new Array(&#39;Gear stick&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;Softcopy&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;Hardcopy&#39;,&#39;&#39;,0,0,1); I[6][3][2]=new Array(&#39;Both&#39;,&#39;&#39;,1,100,1); I[6][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;Printer&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;Mouse&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;Terminal&#39;,&#39;&#39;,1,100,1); I[7][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;Keyboard&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;Printer&#39;,&#39;&#39;,1,100,1); I[8][3][2]=new Array(&#39;Microphone&#39;,&#39;&#39;,0,0,1); I[8][3][3]=new Array(&#39;MICR&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;ALT key&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;CTRL key&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;Shift key&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;ROM&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;PROM&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;Hard disk&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;Computer&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;Peripheral device&#39;,&#39;&#39;,1,100,1); I[11][3][2]=new Array(&#39;Attached device&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;Connecting device&#39;,&#39;&#39;,0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;Gantt charts&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;Flowcharts&#39;,&#39;&#39;,0,0,1); I[12][3][2]=new Array(&#39;Connectivity diagrams&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;Speaker&#39;,&#39;&#39;,0,0,1); I[13][3][1]=new Array(&#39;Sound board&#39;,&#39;&#39;,1,100,1); I[13][3][2]=new Array(&#39;Microphone&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;Speaker + sound board&#39;,&#39;&#39;,0,0,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;Frame grabber&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;Full motion card&#39;,&#39;&#39;,1,100,1); I[14][3][2]=new Array(&#39;VGA&#39;,&#39;&#39;,0,0,1); I[14][3][3]=new Array(&#39;XGA&#39;,&#39;&#39;,0,0,1); I[15]=new Array();I[15][0]=100; I[15][1]=&#39;&#39;; I[15][2]=&#39;0&#39;; I[15][3]=new Array(); I[15][3][0]=new Array(&#39;Mechanical mouse&#39;,&#39;&#39;,0,0,1); I[15][3][1]=new Array(&#39;Optical mouse&#39;,&#39;&#39;,1,100,1); I[15][3][2]=new Array(&#39;Both&#39;,&#39;&#39;,0,0,1); I[15][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The working principle of ____ printer is same as dot matrix printer:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Laser printer&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Ink-jet printer&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Thermal printer&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of above&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;What is true about CRT screen:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Heavy in weight&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Large in size&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Consumes more power&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which device reads vertical zebra stripped lines, convert it into digital form and send it to computer for further processing:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Barcode reader&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;OMR&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;MICR&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which flat-panel screen displays the image when substance emits light in presence electric current:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Liquid crystal display&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Electro-Luminescent display&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Gas-plasma display&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of above&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings card uses processor and memory chip:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Magnetic strip card&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Smart card&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Visiting card&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following device is specially used in games and computer aided designing:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Mouse&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Trackball&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Joystick&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Gear stick&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is a type of output:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Softcopy&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Hardcopy&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Both&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is an example of I/O device:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Printer&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Mouse&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Terminal&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings is not an input device?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Keyboard&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Printer&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Microphone&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;MICR&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings, special key is used always with combination of other keys to execute commands:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ALT key&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;CTRL key&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Shift key&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following stores data permanently?&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ROM&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;PROM&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Hard disk&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following term refers to all input, output and processing devices:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Computer&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Peripheral device&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Attached device&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Connecting device&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following tool can be used for data analysis in SDLC:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Gantt charts&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Flowcharts&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Connectivity diagrams&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings uses special circuit board to convert sound from analog to digital form:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Speaker&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Sound board&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Microphone&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Speaker + sound board&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the followings video card converts video images from analog to digital form up to 30 frames/sec:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Frame grabber&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Full motion card&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;VGA&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;XGA&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_15&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;____ type of mouse senses light to detect the change in cursor position:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_15_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_15_0_Btn&quot; onclick=&quot;CheckMCAnswer(15,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Mechanical mouse&lt;/li&gt;&lt;li id=&quot;Q_15_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_15_1_Btn&quot; onclick=&quot;CheckMCAnswer(15,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Optical mouse&lt;/li&gt;&lt;li id=&quot;Q_15_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_15_2_Btn&quot; onclick=&quot;CheckMCAnswer(15,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Both&lt;/li&gt;&lt;li id=&quot;Q_15_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_15_3_Btn&quot; onclick=&quot;CheckMCAnswer(15,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/1546447101126917406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-mcqs-quiz.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1546447101126917406'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1546447101126917406'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-mcqs-quiz.html' title='Basics of IT – MCQs Quiz'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-ISqj4fv3zXA/X6o_gIApnnI/AAAAAAAAAXk/2hfZRFN8SxwEz-HF1nPh8tUoNPv4gRgggCLcBGAsYHQ/s72-c/basics-of-IT-mcqs.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-6181085673488035060</id><published>2020-11-09T12:40:00.004+05:00</published><updated>2020-11-10T10:50:03.281+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>Basics of IT – Short Questions Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-MyEyVzaTVBY/X6juH9C_oLI/AAAAAAAAAXY/gNbYWyA0Fig40G3NSMRNMqJiwfDIJZoVACLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-MyEyVzaTVBY/X6juH9C_oLI/AAAAAAAAAXY/gNbYWyA0Fig40G3NSMRNMqJiwfDIJZoVACLcBGAsYHQ/s730/basics-of-IT-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;basics of IT short questions answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-MyEyVzaTVBY/X6juH9C_oLI/AAAAAAAAAXY/gNbYWyA0Fig40G3NSMRNMqJiwfDIJZoVACLcBGAsYHQ/w640-h364/basics-of-IT-short-questions-answers.jpg&quot; title=&quot;basics of IT short questions answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Basics of IT Short Questions Answers.&amp;nbsp;&lt;/b&gt;This is the 2nd post about&lt;b&gt;&amp;nbsp;1sy Year | ICS Part-I Computer Science Chapter No.1:&amp;nbsp;&lt;/b&gt;&lt;b&gt;(&lt;i&gt;Basics of Information Technology&lt;/i&gt;)&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&amp;nbsp;The following &lt;b&gt;&lt;i&gt;objective&lt;/i&gt;&lt;/b&gt;&amp;nbsp;&lt;b&gt;q&lt;/b&gt;&lt;i&gt;&lt;b&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;/i&gt;are very important for the final&amp;nbsp;&lt;b&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Basics of Information Technology&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 2&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;Q.21: What is the use of Print Screen key?&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The print screen key causes the current screen display to be taken a copy of information or image on the screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.22: Define the Scroll Lock key?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The scroll lock key causes lines of text images – not the cursor – to move. When the computer is in the Scroll Lock mode, the status light under “Scroll Lock” lights up.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.23: What is Pause Key?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The Pause Key causes the screen to pause when information is appearing on the screen too fast to read.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.24: Define pointing devices?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Pointing devices control the positions of the cursor or pointer on the screen. For example, mouse, trackball, pointing stick, and touchpad, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.25: What is a mouse?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A mouse is an input that looks a little bit like a mouse. It has a ball on its underside that is rolled on a flat surface or mouse pad. The rolling movement causes a corresponding cursor movement on the screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.26: What is meant by mouse events? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The tasks which are performed by the mouse are called mouse events. There are three types of mouse events i.e. left-click, right-click, and drag event.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.27: What is a trackball?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The trackball is a movable ball, on top of a stationary device, that is rotated with fingers or palm of the hand. Its popularity surged with the advent of laptop computers where traveling users found themselves without a flat surface to roll the traditional mouse.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.28: Define Pointing Stick?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A pointing stick is a pointing device that looks like a pencil eraser protruding from the keyboard between the G, H, and B keys. We move the pointing stick with our forefinger while using the thumb to press buttons located in front of the space bar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.29: What is a joystick?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A joystick is a pointing device that consists of a vertical handle like a gearshift lever mounted on a base with one or two buttons. It is basically used in video games and in some computer-aided-design systems.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.30: What is a Touch Pad?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The touchpad is a small, flat surface over which we slide our finger, using the same movements as we would with a mouse. As we move the finger, the cursor follows the movement. We click by tapping the finger on the pad’s surface or by pressing a button positioned close by the pad.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.31: What is meant by a portable computer?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The computer that is easy to carry is called a portable computer e.g. laptop, iPad, and iPhone, etc. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.32: Define Touch Screen?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A touch screen is a video display screen that is sensitized to receive input from simply touching our fingers onto it. It is covered with a plastic layer, behind which are invisible beams of infrared light. We simply touch the provided buttons or menus and get the information on the display screen accordingly.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.33: What is a Light Pen?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The light pen is a light-sensitive stylus, or pen-like device, connected by a wire to the computer terminal. The user brings the pen to a desired point on the display screen and presses the pen button, which identifies that screen location to the computer. Engineers, graphic designers, and illustrators use light pen. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.34: What is Digitizing Graphic Tablet?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Digitizing Graphic Tablet is used primarily in design and engineering. When used with drawing and painting software, a digitizing tablet and stylus allow us to do shading and many other effects similar to those artists achieve with a pencil, pen, or charcoal. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.35: What is a stylus?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A stylus is a pen-like device with which the user sketches an image.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.36: What is a puck?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A puck is a copying device with which the user copies an image, such as an architectural drawing or a civil engineering map. It looks a bit like a mouse but has different types of buttons and a clear plastic section extending from one end with crosshairs printed on it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.37: Define Pen-based Systems?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The pen-based system connects an instructor’s electronic whiteboard on the classroom wall with student’s pen computers, so that the students could receive notes directly, without having to copy information word for word. The idea is that the students should concentrate on the lecture listening only.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.38: What are the source data-entry devices?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The devices which are used for direct data entry to computer systems are called source data-entry devices. For example, bar-code reader, MICR, and OMR, etc. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.39: What is Universal Product Code?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Bar codes are the vertical zebra-stripped marks we find on most of the manufactured products in the market. This bar-code system is also called Universal Product Code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.40: What is Bar-Code Reader?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The vertical bar codes are read by bar-code readers, photoelectric scanners that translate the bar-code symbols into digital code, which is then fed to the computers for further processing.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of Chapter No.1 (&lt;i&gt;Basics of IT&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of&amp;nbsp; Computer Science ICS, Part-I&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/6181085673488035060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-short-questions-answers.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/6181085673488035060'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/6181085673488035060'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-it-short-questions-answers.html' title='Basics of IT – Short Questions Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-MyEyVzaTVBY/X6juH9C_oLI/AAAAAAAAAXY/gNbYWyA0Fig40G3NSMRNMqJiwfDIJZoVACLcBGAsYHQ/s72-c/basics-of-IT-short-questions-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-2113944034500042713</id><published>2020-11-06T15:01:00.003+05:00</published><updated>2020-11-10T10:49:44.554+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Getting Started With C Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-b-sEJKAAZrM/X6UZU1LFO2I/AAAAAAAAAXE/5E-urrtr_3Qv6ovgKCGTTyMiWRcrChjJwCLcBGAsYHQ/s730/getting-started-with-c-short-questions-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-b-sEJKAAZrM/X6UZU1LFO2I/AAAAAAAAAXE/5E-urrtr_3Qv6ovgKCGTTyMiWRcrChjJwCLcBGAsYHQ/s730/getting-started-with-c-short-questions-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;getting started with c short questions answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-b-sEJKAAZrM/X6UZU1LFO2I/AAAAAAAAAXE/5E-urrtr_3Qv6ovgKCGTTyMiWRcrChjJwCLcBGAsYHQ/w640-h364/getting-started-with-c-short-questions-answers.jpg&quot; title=&quot;getting started with c short questions answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Getting Started With C Short Questions and Answers.&amp;nbsp;&lt;/b&gt;This is the 2nd post about&lt;b&gt;&amp;nbsp;2nd Year | ICS Part-II Computer Science Chapter No.8:&amp;nbsp;&lt;/b&gt;&lt;b&gt;(&lt;i&gt;Getting Started With C&lt;/i&gt;)&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&amp;nbsp;The following&amp;nbsp;&lt;b&gt;q&lt;/b&gt;&lt;i&gt;&lt;b&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;/i&gt;are very important for the final&amp;nbsp;&lt;b&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;/p&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.8: Getting Started With C&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers - 2&lt;/span&gt;&lt;/h4&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: What is #define directive?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;#define directive is used to define a constant macro.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Syntax:&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;#define&lt;span style=&quot;mso-tab-count: 1;&quot;&gt; &lt;/span&gt;Macro_Name&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;expression&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Example:&lt;/b&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;#define PI&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;3.142857&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.2: Define expression?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;Answer:&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The expression may be constant, arithmetic expression, or a string. C preprocessor replaces each occurrence of the identifier Macro_Name with the value of the expression. The expression of the identifier Macro_Name can not be changed during the program execution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.3: What is Constant Macro?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is a name that is replaced by a particular constant value before the program is sent to the computer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: Define the function main? &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In fact, main is the function where the execution of the C program begins, every C program has a main function. The rest of the lines of the program forms the body of the main function, the body is enclosed in braces { and }. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: Define void word in void main (void)?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The firs void represents the data type of the value that is returned by the function, which means the function main returns nothing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The second void enclosed in parenthesis describes that the function main does not accept any argument.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: Define the term arguments?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Arguments can be passed to the main function and it can also return a value.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.7: Define body of the main function?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The rest of the lines of function main forms the body of the main function, the body of the main function is enclosed in curly braces i.e. { and }.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: What are delimiters? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Next to the function definition are braces, which indicate the beginning and end of the function body. These braces are called delimiters. { indicates opening of the main function whereas { indicates closing of main function. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: Define statement terminator?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Every statement in a C program terminates with a semicolon (;). If any of the statement is missing the statement terminator, the compiler will report “Statement missing” error message.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: What is the purpose of printf function?&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is used to display the output of the program on the screen. The “stdio.h” header file contains the details of printf function; therefore, it must be included. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What are bugs and debugging?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The programmer may come across errors while writing a computer program, these errors are called bugs and processing of finding and removing these bugs is called debugging.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: What is syntax error? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A syntax error occurs when the program violates one or more grammar rules of C language. Compiler detects these errors as it attempts to translate the program. If syntax error exists, it can not be translated and the program could not be executed.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: What is run time error? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A runtime error occurs when the program directs the computer to perform an illegal operation, such as dividing a number by zero. Runtime error is detected and displayed by the computer during the execution of a program.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: What is logical error?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;A logical error occurs when a program follows a faulty algorithm. The compiler or computer can not detect logical error; therefore, no error message is reported and doesn’t program crashed due to logical error. Logical errors can only be detected by thorough testing of the program &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Define Machine language?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Machine language is the native language of the computer. The computer does not need any translator to understand this language.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.16: Define assembly language. What are mnemonics? &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;In assembly language, machine language instructions are replaced with English-like words known as mnemonics. An assembler is used to translate assembly language programs into machine language.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.17: Define high-level language?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Programming languages whose instructions resemble the English language are called high-level languages. Every high language defines a set of rules for writing programs called the syntax of the language.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.18: Describe applications of FORTRAN and COBOL?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;FORTRAN (Formula Translation) has very powerful mathematical capabilities while COBOL (Common Business Oriented Language) is ideal for writing business applications.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.19: Describe applications of Java language?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: 0in; margin-top: 0in; mso-add-space: auto; mso-margin-bottom-alt: 8.0pt; mso-margin-top-alt: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Java is a high-level language and equipped with strong network programming features.&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of ICS Part-II, Computer Science, Chapter No.8&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/2113944034500042713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/getting-started-with-c-short-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2113944034500042713'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/2113944034500042713'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/getting-started-with-c-short-questions.html' title='Getting Started With C Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-b-sEJKAAZrM/X6UZU1LFO2I/AAAAAAAAAXE/5E-urrtr_3Qv6ovgKCGTTyMiWRcrChjJwCLcBGAsYHQ/s72-c/getting-started-with-c-short-questions-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-103490258024926912</id><published>2020-11-04T12:35:00.002+05:00</published><updated>2020-11-04T12:37:04.322+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComQuiz"/><title type='text'>Getting Started With C MCQs</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-sdmXFSSnLZg/X6JVWIQqaKI/AAAAAAAAAW4/1_oj8C2rQgs6d3Xy43pqGzW_PSEP8zJKQCLcBGAsYHQ/s730/getting-started-with-C-quiz-2.jpg&quot; style=&quot;display:none&quot;/&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-sdmXFSSnLZg/X6JVWIQqaKI/AAAAAAAAAW4/1_oj8C2rQgs6d3Xy43pqGzW_PSEP8zJKQCLcBGAsYHQ/s730/getting-started-with-C-quiz-2.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;365&quot; src=&quot;https://1.bp.blogspot.com/-sdmXFSSnLZg/X6JVWIQqaKI/AAAAAAAAAW4/1_oj8C2rQgs6d3Xy43pqGzW_PSEP8zJKQCLcBGAsYHQ/w640-h365/getting-started-with-C-quiz-2.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Getting Started With C MCQs&lt;/b&gt;. This is 2nd post of&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;| &lt;b&gt;online quiz&lt;/b&gt; for&amp;nbsp;&lt;b&gt;ICS&lt;/b&gt;&amp;nbsp;&lt;b&gt;2nd year&lt;/b&gt; |&amp;nbsp;&lt;b&gt;Part-II Computer Science&lt;/b&gt;&amp;nbsp;&lt;b&gt;Chapter No.8&lt;/b&gt;.&amp;nbsp;Questions of this&amp;nbsp;&lt;b&gt;quiz&lt;/b&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;b&gt;final examination&lt;/b&gt;,&amp;nbsp;&lt;b&gt;ECAT&lt;/b&gt;, and all&amp;nbsp;&lt;b&gt;entry tests&lt;/b&gt;&amp;nbsp;for all universities over the Pakistan.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;If you are trying to find&amp;nbsp;&lt;/span&gt;&lt;b&gt;Computer&#39;s&amp;nbsp;&lt;/b&gt;&lt;span&gt;Multiple Choice Questions&lt;/span&gt;&lt;b&gt;&amp;nbsp;(MCQs)&lt;/b&gt;&lt;span&gt;&amp;nbsp;of the 8th chapter named Getting Started With C, ICS Part-II, then you are at the right place. Here you can find | attempt maximum objective questions (&lt;b&gt;MCQs&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;quiz&amp;nbsp;&lt;/b&gt;of&amp;nbsp;&lt;b&gt;Computer Science&amp;nbsp;&lt;/b&gt;as well as all other subjects.&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Getting Started With C&lt;/i&gt;&lt;/b&gt;).&amp;nbsp;This&amp;nbsp;&lt;b&gt;&lt;i&gt;quiz-2&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter, the remaining questions |&amp;nbsp;&lt;b&gt;&lt;i&gt;MCQs&lt;/i&gt;&lt;/b&gt;&amp;nbsp;of this will be online soon Insha-Allah.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in; text-align: left;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-II | Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICS Part-II | Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in; text-align: center;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Getting Started With C | Online Quiz | MCQs&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;Created with Hot Potatoes by Half-Baked Software, registered to stars.&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Hot Potatoes, Hot Potatoes, Half-Baked Software, Windows, University of Victoria&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;stars&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 13; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;Testing program&#39;,&#39;&#39;,0,0,1); I[0][3][1]=new Array(&#39;Recompiling program&#39;,&#39;&#39;,0,0,1); I[0][3][2]=new Array(&#39;Translating program&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;Looking at program&#39;,&#39;&#39;,1,100,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;Include&#39;,&#39;&#39;,0,0,1); I[1][3][1]=new Array(&#39;Source&#39;,&#39;&#39;,1,100,1); I[1][3][2]=new Array(&#39;Library&#39;,&#39;&#39;,0,0,1); I[1][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;High level language&#39;,&#39;&#39;,0,0,1); I[2][3][1]=new Array(&#39;Machine language&#39;,&#39;&#39;,0,0,1); I[2][3][2]=new Array(&#39;Assembly language&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;Machine + assembly language&#39;,&#39;&#39;,1,100,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;Compiling&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;Identifying errors&#39;,&#39;&#39;,0,0,1); I[3][3][2]=new Array(&#39;Searching errors&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;Debugging&#39;,&#39;&#39;,1,100,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;Ctrl+Alt+F&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;Alt+F&#39;,&#39;&#39;,1,100,1); I[4][3][2]=new Array(&#39;Ctrl+F&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;Shift+F&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;High level&#39;,&#39;&#39;,0,0,1); I[5][3][1]=new Array(&#39;Machine&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;Assembly&#39;,&#39;&#39;,1,100,1); I[5][3][3]=new Array(&#39;C&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;C language&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;C++&#39;,&#39;&#39;,0,0,1); I[6][3][2]=new Array(&#39;C#&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;C and C++&#39;,&#39;&#39;,1,100,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;Compile | Run&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;Run | Run&#39;,&#39;&#39;,1,100,1); I[7][3][2]=new Array(&#39;Compile | Loader&#39;,&#39;&#39;,0,0,1); I[7][3][3]=new Array(&#39;Run | Loader&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;Object code&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;Source code&#39;,&#39;&#39;,0,0,1); I[8][3][2]=new Array(&#39;Machine code&#39;,&#39;&#39;,1,100,1); I[8][3][3]=new Array(&#39;Object code + source code&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;ASCII&#39;,&#39;&#39;,0,0,1); I[9][3][1]=new Array(&#39;IEEE&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;ANSI&#39;,&#39;&#39;,1,100,1); I[9][3][3]=new Array(&#39;ISO&#39;,&#39;&#39;,0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;#define PI 3.142&#39;,&#39;&#39;,0,0,1); I[10][3][1]=new Array(&#39;#define a=100&#39;,&#39;&#39;,1,100,1); I[10][3][2]=new Array(&#39;#define age 20&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;Compiler&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;C Preprocessor&#39;,&#39;&#39;,1,100,1); I[11][3][2]=new Array(&#39;Directive&#39;,&#39;&#39;,0,0,1); I[11][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;Syntax&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;Runtime&#39;,&#39;&#39;,0,0,1); I[12][3][2]=new Array(&#39;Logical&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The logical errors can be detected only by:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Testing program&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Recompiling program&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Translating program&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Looking at program&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The path of output directory filed should be same as____ director field:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Include&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Source&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Library&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The problems like human machine interaction is faced in:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;High level language&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Machine language&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Assembly language&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Machine + assembly language&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The process of identifying and removing errors from a program is called:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Compiling&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Identifying errors&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Searching errors&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Debugging&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The shortcut key to open file menu in Turbo C++ is:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Ctrl+Alt+F&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Alt+F&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Ctrl+F&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Shift+F&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The string of 1s and 0s are replaced with English like words in ____ language:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;High level&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Machine&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Assembly&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The Turbo C++ can compile programs written in:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C language&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C++&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C#&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C and C++&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;To invoke loader _____ command is used:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Compile | Run&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Run | Run&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Compile | Loader&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Run | Loader&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following code can run directly on microprocessor:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Object code&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Source code&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Machine code&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Object code + source code&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following organization developed the standard version of C:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ASCII&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;IEEE&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ANSI&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;ISO&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following does not defines constant macro:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;#define PI 3.142&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;#define a=100&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;#define age 20&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following get instructions from preprocessor directive:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Compiler&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;C Preprocessor&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Directive&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;Which of the following is type of error:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Syntax&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Runtime&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Logical&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/103490258024926912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/getting-started-with-c-mcqs.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/103490258024926912'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/103490258024926912'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/getting-started-with-c-mcqs.html' title='Getting Started With C MCQs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-sdmXFSSnLZg/X6JVWIQqaKI/AAAAAAAAAW4/1_oj8C2rQgs6d3Xy43pqGzW_PSEP8zJKQCLcBGAsYHQ/s72-c/getting-started-with-C-quiz-2.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-1388297792942715417</id><published>2020-11-03T15:12:00.008+05:00</published><updated>2020-11-10T12:54:11.300+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComQuiz"/><title type='text'>Basics of Information Technology (IT) MCQs</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-PFproZ3xmQ4/X6EngzoerDI/AAAAAAAAAWs/MVN2vpHfFIgrsyqRlY5COon_vrCGcL3OACLcBGAsYHQ/s730/basics-of-it-mcqs-quiz.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-PFproZ3xmQ4/X6EngzoerDI/AAAAAAAAAWs/MVN2vpHfFIgrsyqRlY5COon_vrCGcL3OACLcBGAsYHQ/s730/basics-of-it-mcqs-quiz.jpg&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;365&quot; src=&quot;https://1.bp.blogspot.com/-PFproZ3xmQ4/X6EngzoerDI/AAAAAAAAAWs/MVN2vpHfFIgrsyqRlY5COon_vrCGcL3OACLcBGAsYHQ/w640-h365/basics-of-it-mcqs-quiz.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;b&gt;Basics of Information Technology (IT) MCQs&lt;/b&gt;. This is 2nd post of &lt;b&gt;MCQs &lt;/b&gt;| online quiz for &lt;b&gt;ICS&lt;/b&gt; 1st year | &lt;b&gt;Part-I Computer Science&lt;/b&gt; &lt;b&gt;Chapter No.1&lt;/b&gt;.&amp;nbsp;Questions of this&amp;nbsp;&lt;b&gt;quiz&lt;/b&gt;&amp;nbsp;are important for the&amp;nbsp;&lt;b&gt;final examination&lt;/b&gt;,&amp;nbsp;&lt;b&gt;ECAT&lt;/b&gt;, and all&amp;nbsp;&lt;b&gt;entry tests&lt;/b&gt;&amp;nbsp;for all universities.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;If you are finding&amp;nbsp;&lt;/span&gt;&lt;b&gt;Computer&#39;s&amp;nbsp;&lt;/b&gt;&lt;span&gt;Multiple Choice Questions&lt;/span&gt;&lt;b&gt;&amp;nbsp;(MCQs)&lt;/b&gt;&lt;span&gt;&amp;nbsp;of the first chapter named Basics of IT, ICS Part-I, then you are at the right place. Here you can find | attempt maximum objective questions (&lt;b&gt;MCQs&lt;/b&gt;) |&amp;nbsp;&lt;b&gt;quiz&amp;nbsp;&lt;/b&gt;of&amp;nbsp;&lt;b&gt;Computer Science&amp;nbsp;&lt;/b&gt;as well as all other subjects.&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is tried best to make the important&amp;nbsp;&lt;b&gt;MCQs&amp;nbsp;&lt;/b&gt;(Multiple Choice Questions) from this chapter (&lt;b&gt;&lt;i&gt;Basics of IT&lt;/i&gt;&lt;/b&gt;).&amp;nbsp;This&amp;nbsp;&lt;b&gt;&lt;i&gt;quiz-2&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&amp;nbsp;&lt;/i&gt;of this chapter, the remaining questions |&amp;nbsp;&lt;b&gt;&lt;i&gt;MCQs&lt;/i&gt;&lt;/b&gt;&amp;nbsp;of this will be online soon Insha-Allah.&lt;/span&gt;&lt;span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;h3 style=&quot;margin: 0in; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/h3&gt;&lt;h3 style=&quot;margin: 0in; text-align: left;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit; font-size: large;&quot;&gt;The following may relate to you!&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComQuiz&quot; target=&quot;_blank&quot;&gt;ICS Part-I Computer | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhyQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICSPart-I Physics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11MathQuiz&quot; target=&quot;_blank&quot;&gt;FSc ICSPart-I Mathematics | MCQs | Quiz&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11ComSQ&quot; target=&quot;_blank&quot;&gt;ICS Part-I Computer | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/11PhySQ&quot; target=&quot;_blank&quot;&gt;FSc ICSPart-I Physics | Short Questions and Answers&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin: 6pt 0in 0in; text-align: left;&quot;&gt;&lt;a href=&quot;https://www.studyspot.pk/search/label/12MathSQ&quot; target=&quot;_blank&quot;&gt;FSc ICSPart-I Mathematics | Short Questions and Answers&lt;/a&gt;&lt;/p&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style=&quot;line-height: 24px; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Basics of IT |&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;MCQs | Online Quiz - 2&lt;/span&gt;&lt;/h3&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;  &lt;html lang=&quot;en&quot; prefix=&quot;dc: http://purl.org/dc/elements/1.1/&quot; xml:lang=&quot;en&quot; xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;&lt;head&gt;&lt;meta content=&quot;Created with Hot Potatoes by Half-Baked Software, registered to stars.&quot; name=&quot;author&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;Hot Potatoes, Hot Potatoes, Half-Baked Software, Windows, University of Victoria&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;&lt;meta content=&quot;text/html; charset=UTF-8&quot; http-equiv=&quot;Content-Type&quot;&gt;&lt;/meta&gt; &lt;meta content=&quot;stars&quot; name=&quot;dc:creator&quot;&gt;&lt;/meta&gt;   &lt;title&gt; &lt;/title&gt; &lt;!-- Made with executable version 7.0 Release 3 Build 0 --&gt; &lt;!-- The following insertion allows you to add your own code directly to this head tag from the configuration screen --&gt; &lt;script async=&quot;&quot; id=&quot;MathJax-script&quot; src=&quot;https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js&quot;&gt;&lt;/script&gt; &lt;style&gt;  /* This is the CSS stylesheet used in the exercise. */ /* Elements in square brackets are replaced by data based on configuration settings when the exercise is built. */  /* BeginCorePageCSS */  /* Made with executable version 7.0 Release 3 Build 0 */    /* CSS variables for colours. */ :root{ 	--strFontFace:       &quot;Times New Roman&quot;,Geneva,Arial,sans-serif; 	--strFontSize:       medium; 	--strTextColor:      #000000; 	--strTitleColor:     #000000;  	--strFuncLightColor: #dfdfdf; 	--strFuncShadeColor: #606060; 	--strLinkColor:      #0000FF; 	--strVLinkColor:     #0000CC; 	 	--strNavBarColor:    #000000; 	--strNavLightColor:  #7f7f7f; 	--strNavShadeColor:  #000000; 	--strNavTextColor:   #ffffff; 	 	--strPageBGColor:    #f0f0fa; 	--strExBGColor:      #c0c0c0; }  body{ 	font-family: var(--strFontFace); 	background-color: var(--strPageBGColor); 	color: var(--strTextColor);   	margin-right: 5%; 	margin-left: 5%; 	font-size: var(--strFontSize); 	padding-bottom: 0.5em; }  p{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  table,div,span,td{ 	font-size: 1em; 	color: var(--strTextColor); }  div.Titles{ 	padding: 0.5em;; 	text-align: center; 	color: var(--strTitleColor); }  button{ 	font-family: var(--strFontFace); 	font-size: 1em; 	display: inline; }  .ExerciseTitle{ 	font-size: 140%; 	color: var(--strTitleColor); }  .ExerciseSubtitle{ 	font-size: 120%; 	color: var(--strTitleColor); }  div.StdDiv, div.ExerciseContainer, div.ReadingContainer{ 	background-color: var(--strExBGColor); 	text-align: center; 	font-size: 1em; 	color: var(--strTextColor); 	padding: 0.5em; 	border-style: solid; 	border-width: 1px 1px 1px 1px; 	border-color: var(--strTextColor); 	margin-bottom: 1px; }  div.ReadingContainer, div.ExerciseContainer{ 	min-width: 15em; 	flex-grow: 1; 	flex-basis: 0; 	margin: 1px; }  div#ContainerDiv{ 	margin: -1px; 	padding: 0; 	border: none; 	display: flex; 	flex-direction: row; 	flex-wrap: wrap; 	justify-content: space-between; }  /* EndCorePageCSS */  .RTLText{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  .CentredRTLText{ 	text-align: center; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Simplified Arabic&quot;, &quot;Traditional Arabic&quot;, &quot;Times New Roman&quot;, var(--strFontFace);  }  button p.RTLText{ 	text-align: center; }  .RTLGapBox{ 	text-align: right; 	font-size: 150%; 	direction: rtl; 	font-family: &quot;Times New Roman&quot;, var(--strFontFace); }  .Guess{ 	font-weight: bold; }  .CorrectAnswer{ 	font-weight: bold; }  div#Timer{ 	padding: 0.25em; 	margin-left: auto; 	margin-right: auto; 	text-align: center; 	color: var(--strTitleColor); }  span#TimerText{ 	padding: 0.25em; 	border-width: 1px; 	border-style: solid; 	font-weight: bold; 	display: none; 	color: var(--strTitleColor); }  span.Instructions{  }  div.ExerciseText{  }  .FeedbackText, .FeedbackText span.CorrectAnswer, .FeedbackText span.Guess, .FeedbackText span.Answer{ 	color: var(--strTitleColor); }  .LeftItem{ 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  .RightItem{ 	font-weight: bold; 	font-size: 1em; 	color: var(--strTextColor); 	text-align: left; }  span.CorrectMark{  }  input, textarea{ 	font-family: var(--strFontFace); 	font-size: 120%; }  select{ 	font-size: 1em; }  div.Feedback { 	background-color: var(--strPageBGColor); 	left: 33%; 	width: 34%; 	top: 33%; 	z-index: 1; 	border-style: solid; 	border-width: 1px; 	padding: 5px; 	text-align: center; 	color: var(--strTitleColor); 	position: absolute; 	display: none; 	font-size: 1em; }     div.ExerciseDiv{ 	color: var(--strTextColor); }  /* JMatch standard output table. */ table.MatchTable{ 	margin: 2em auto;  	border-width: 0; }  /* JMatch flashcard styles */ table.FlashcardTable{ 	background-color: transparent; 	color: var(--strTextColor); 	border-color: var(--strTextColor); 	margin-left: auto; 	margin-right: auto; 	margin-top: 2em; 	margin-bottom: 2em; 	/*width: 90%;*/ 	position: relative; 	text-align: center; 	padding: 0px; }  table.FlashcardTable tr{ 	border-style: none; 	margin: 0px; 	padding: 0px; 	background-color: var(--strExBGColor); }  table.FlashcardTable td.Showing{ 	font-size: 140%; 	text-align: center; 	width: 50%; 	display: table-cell; 	padding: 2em; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); 	background-color: var(--strPageBGColor); }  table.FlashcardTable td.Hidden{ 	display: none; }  /* JMix styles */ div.JMixDrag, div.JMatchDrag{ 	padding: 0; 	background-color: var(--strPageBGColor); 	border-style: none; }  div#GuessDiv{ 	padding: 0.5em; 	margin-bottom: 2em; }  div#SegmentDiv{ 	margin-top: 2em; 	margin-bottom: 2em; 	text-align: center; }  a.ExSegment{ 	font-size: 120%; 	font-weight: bold; 	text-decoration: none; 	color: var(--strTextColor); 	display: inline-block; 	padding: 0.5em; 	border: solid 1pt gray; 	margin-bottom: 0.5em; }  span.RemainingWordList{ 	font-style: italic; }  div.DropLine { 	position: absolute; 	text-align: left; 	border-bottom-style: solid; 	border-bottom-width: 1px; 	border-bottom-color: var(--strTitleColor); 	width: 80%; 	left: 10%; }  /* JCloze styles */  .ClozeWordList{ 	text-align: center; 	font-weight: bold; }  div.ClozeBody{ 	text-align: left; 	margin-top: 2em; 	margin-bottom: 2em; 	line-height: 2.0 }  span.GapSpan{ 	font-weight: bold; }  /* JCross styles */  table.CrosswordGrid{ 	margin: auto auto 1em auto; 	border-collapse: collapse; 	padding: 0px; 	background-color: #000000; }  table.CrosswordGrid tbody tr td{ 	width: 1.5em; 	height: 1.5em; 	text-align: center; 	vertical-align: middle; 	font-size: 140%; 	padding: 1px; 	margin: 0px; 	border-style: solid; 	border-width: 1px; 	border-color: #000000; 	color: #000000; }  table.CrosswordGrid span{ 	color: #000000; }  table.CrosswordGrid td.BlankCell{ 	background-color: #000000; 	color: #000000; }  table.CrosswordGrid td.LetterOnlyCell{ 	text-align: center; 	vertical-align: middle; 	background-color: #ffffff; 	color: #000000; 	font-weight: bold; }  table.CrosswordGrid td.NumLetterCell{ 	text-align: left; 	vertical-align: top; 	background-color: #ffffff; 	color: #000000; 	padding: 1px; 	font-weight: bold; }  .NumLetterCellText{ 	cursor: pointer; 	color: #000000; }  .GridNum{ 	vertical-align: super; 	font-size: 66%; 	font-weight: bold; 	text-decoration: none; 	color: #000000; }  .GridNum:hover, .GridNum:visited{ 	color: #000000; }  table#Clues{ 	margin: auto; 	vertical-align: top; }  table#Clues td{ 	vertical-align: top; }  table.ClueList{   margin: auto; }  td.ClueNum{ 	text-align: right; 	font-weight: bold; 	vertical-align: top; }  td.Clue{ 	text-align: left; }  div#ClueEntry{ 	text-align: left; 	margin-bottom: 1em; }  /* Keypad styles */  div.Keypad{ 	text-align: center; 	display: none; /* initially hidden, shown if needed */ 	margin-bottom: 0.5em; }  div.Keypad button{ 	font-family: var(--strFontFace); 	font-size: 120%; 	background-color: #ffffff; 	color: #000000; 	width: 2em; 	border-style: solid; 	border-width: 1px; 	border-radius: 0.5em; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); }  /* JQuiz styles */  div.QuestionNavigation{ 	text-align: center; }  .QNum{ 	margin: 0em 1em 0.5em 1em; 	font-weight: bold; 	vertical-align: middle; }  textarea{ 	font-family: var(--strFontFace); }  .QuestionText{ 	text-align: left; 	margin: 0px; 	font-size: 1em; }  .Answer{ 	font-size: 120%; }  .PartialAnswer{ 	font-size: 120%; 	letter-spacing: 0.1em; 	color: var(--strTitleColor); }  .Highlight{ 	color: #000000; 	background-color: #ffff00; 	font-weight: bold; 	font-size: 120%; }  ol.QuizQuestions{ 	text-align: left; 	list-style-type: none; }  li.QuizQuestion{ 	padding: 1em; 	border-style: solid; 	border-width: 0px 0px 1px 0px; }  ol.MCAnswers{ 	text-align: left; 	list-style-type: upper-alpha; 	padding: 1em; }  ol.MCAnswers li{ 	margin-bottom: 1em; }  ol.MSelAnswers{ 	text-align: left; 	list-style-type: lower-alpha; 	padding: 1em; }  div.ShortAnswer{ 	padding: 1em; }  .FuncButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em;  	border-left-color: var(--strFuncLightColor); 	border-top-color: var(--strFuncLightColor); 	border-right-color: var(--strFuncShadeColor); 	border-bottom-color: var(--strFuncShadeColor); 	color: var(--strTextColor); 	background-color: var(--strExBGColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strFuncShadeColor); }  .FuncButton:active { 	box-shadow: none; }  .FuncButton:hover{ 	color: var(--strExBGColor); 	background-color: var(--strTextColor); }  /*BeginNavBarStyle*/  div.NavButtonBar{ 	background-color: var(--strNavBarColor); 	text-align: center; 	margin: 0.25rem 0; 	clear: both; 	font-size: 1em; 	padding: 0.2em; 	box-sizing: border-box; }  .NavButton { 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 3em; 	 	border-left-color: var(--strNavLightColor); 	border-top-color: var(--strNavLightColor); 	border-right-color: var(--strNavShadeColor); 	border-bottom-color: var(--strNavShadeColor);  	background-color: var(--strNavBarColor); 	color: var(--strNavTextColor);  	border-width: 1pt; 	cursor: pointer;	 	box-shadow: 0.2em 0.3em 0.2em var(--strNavShadeColor); }  .NavButton:active { 	box-shadow: none; }  .NavButton:hover{ 	color: var(--strNavBarColor); 	background-color: var(--strNavTextColor); }  /*EndNavBarStyle*/  a{ 	color: var(--strLinkColor); }  a:visited{ 	color: var(--strVLinkColor); }  a:hover{ 	color: var(--strLinkColor); }  div.CardStyle { 	position: absolute; 	font-family: var(--strFontFace); 	font-size: 1em; 	border-style: solid; 	border-radius: 0.5em; 	padding: 0.5em; 	min-width: 2em; 	border-width: 1pt; 	color: var(--strTextColor); 	box-shadow: 0.2em 0.3em 0.2em var(--strTextColor); 	background-color: var(--strExBGColor); 	left: -50px; 	top: -50px; 	overflow: visible; 	touch-action: none; 	user-select: none; 	box-sizing: border-box; }  div.CardStyleCentered{ 	text-align: center; }  .rtl{ 	text-align: right; 	font-size: 140%; }   &lt;/style&gt; &lt;script&gt; //&lt;![CDATA[  &lt;!--     //CODE FOR HANDLING NAV BUTTONS AND FUNCTION BUTTONS  function FocusAButton(){ 	if (document.getElementById(&#39;CheckButton1&#39;) != null){ 		document.getElementById(&#39;CheckButton1&#39;).focus(); 	} 	else{ 		if (document.getElementById(&#39;CheckButton2&#39;) != null){ 			document.getElementById(&#39;CheckButton2&#39;).focus(); 		} 		else{ 			document.getElementsByTagName(&#39;button&#39;)[0].focus(); 		} 	} }     //CODE FOR HANDLING DISPLAY OF POPUP FEEDBACK BOX  var topZ = 1000;  function ShowMessage(Feedback){ 	var Output = Feedback + &#39;&lt;br /&gt;&lt;br /&gt;&#39;; 	document.getElementById(&#39;FeedbackContent&#39;).innerHTML = Output; 	var FDiv = document.getElementById(&#39;FeedbackDiv&#39;); 	topZ++; 	FDiv.style.zIndex = topZ; 	FDiv.style.top = TopSettingWithScrollOffset(30) + &#39;px&#39;;  	FDiv.style.display = &#39;block&#39;;  	ShowElements(false, &#39;input&#39;); 	ShowElements(false, &#39;select&#39;); 	ShowElements(false, &#39;object&#39;); 	ShowElements(true, &#39;object&#39;, &#39;FeedbackContent&#39;);  //Focus the OK button 	setTimeout(&quot;document.getElementById(&#39;FeedbackOKButton&#39;).focus()&quot;, 50); 	 // }  function ShowElements(Show, TagName, ContainerToReverse){ // added third argument to allow objects in the feedback box to appear //IE bug -- hide all the form elements that will show through the popup //FF on Mac bug : doesn&#39;t redisplay objects whose visibility is set to visible //unless the object&#39;s display property is changed  	//get container object (by Id passed in, or use document otherwise) 	TopNode = document.getElementById(ContainerToReverse); 	var Els; 	if (TopNode != null) { 		Els = TopNode.getElementsByTagName(TagName); 	} else { 		Els = document.getElementsByTagName(TagName); 	}  	for (var i=0; i&lt;Els.length; i++){ 		if (TagName == &quot;object&quot;) { 			//manipulate object elements in all browsers 			if (Show == true){ 				Els[i].style.visibility = &#39;visible&#39;; 			} 			else{ 				Els[i].style.visibility = &#39;hidden&#39;; 			} 		}  	} }    function HideFeedback(){ 	document.getElementById(&#39;FeedbackDiv&#39;).style.display = &#39;none&#39;; 	ShowElements(true, &#39;input&#39;); 	ShowElements(true, &#39;select&#39;); 	ShowElements(true, &#39;object&#39;); }   //GENERAL UTILITY FUNCTIONS AND VARIABLES  //PAGE DIMENSION FUNCTIONS function PageDim(){ //Get the page width and height 	this.W = 600; 	this.H = 400; 	this.W = document.getElementsByTagName(&#39;body&#39;)[0].offsetWidth; 	this.H = document.getElementsByTagName(&#39;body&#39;)[0].offsetHeight; }  var pg = null;  function GetPageXY(El) { 	var XY = {x: 0, y: 0}; 	while(El){ 		XY.x += El.offsetLeft; 		XY.y += El.offsetTop; 		El = El.offsetParent; 	} 	return XY; }  function GetScrollTop(){ 	if (typeof(window.pageYOffset) == &#39;number&#39;){ 		return window.pageYOffset; 	} 	else{ 		if ((document.body)&amp;&amp;(document.body.scrollTop)){ 			return document.body.scrollTop; 		} 		else{ 			if ((document.documentElement)&amp;&amp;(document.documentElement.scrollTop)){ 				return document.documentElement.scrollTop; 			} 			else{ 				return 0; 			} 		} 	} }  function GetViewportHeight(){ 	if (typeof window.innerHeight != &#39;undefined&#39;){ 		return window.innerHeight; 	} 	else{ 		if (((typeof document.documentElement != &#39;undefined&#39;)&amp;&amp;(typeof document.documentElement.clientHeight !=      &#39;undefined&#39;))&amp;&amp;(document.documentElement.clientHeight != 0)){ 			return document.documentElement.clientHeight; 		} 		else{ 			return document.getElementsByTagName(&#39;body&#39;)[0].clientHeight; 		} 	} }  function TopSettingWithScrollOffset(TopPercent){ 	var T = Math.floor(GetViewportHeight() * (TopPercent/100)); 	return GetScrollTop() + T;  }  //CODE FOR AVOIDING LOSS OF DATA WHEN BACKSPACE KEY INVOKES history.back() var InTextBox = false;  function SuppressBackspace(e){  	if (InTextBox == true){return;} 	thisKey = e.keyCode;  	var Suppress = false;  	if (thisKey == 8) { 		Suppress = true; 		e.preventDefault(); 	} }  window.addEventListener(&#39;keypress&#39;,SuppressBackspace,false);  function ReduceItems(InArray, ReduceToSize){ 	var ItemToDump=0; 	var j=0; 	while (InArray.length &gt; ReduceToSize){ 		ItemToDump = Math.floor(InArray.length*Math.random()); 		InArray.splice(ItemToDump, 1); 	} }  function Shuffle(InArray){ 	var Num; 	var Temp = new Array(); 	var Len = InArray.length;  	var j = Len;  	for (var i=0; i&lt;Len; i++){ 		Temp[i] = InArray[i]; 	}  	for (i=0; i&lt;Len; i++){ 		Num = Math.floor(j  *  Math.random()); 		InArray[i] = Temp[Num];  		for (var k=Num; k &lt; (j-1); k++) { 			Temp[k] = Temp[k+1]; 		} 		j--; 	} 	return InArray; }  function WriteToInstructions(Feedback) { 	document.getElementById(&#39;InstructionsDiv&#39;).innerHTML = Feedback;  }     function EscapeDoubleQuotes(InString){ 	return InString.replace(/&quot;/g, &#39;&amp;quot;&#39;) }  function TrimString(InString){         var x = 0;          if (InString.length != 0) {                 while ((InString.charAt(InString.length - 1) == &#39;\u0020&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000A&#39;) || (InString.charAt(InString.length - 1) == &#39;\u000D&#39;)){                         InString = InString.substring(0, InString.length - 1)                 }                  while ((InString.charAt(0) == &#39;\u0020&#39;) || (InString.charAt(0) == &#39;\u000A&#39;) || (InString.charAt(0) == &#39;\u000D&#39;)){                         InString = InString.substring(1, InString.length)                 }                  while (InString.indexOf(&#39;  &#39;) != -1) {                         x = InString.indexOf(&#39;  &#39;)                         InString = InString.substring(0, x) + InString.substring(x+1, InString.length)                  }                  return InString;         }          else {                 return &#39;&#39;;         } }  function FindLongest(InArray){ 	if (InArray.length &lt; 1){return -1;}  	var Longest = 0; 	for (var i=1; i&lt;InArray.length; i++){ 		if (InArray[i].length &gt; InArray[Longest].length){ 			Longest = i; 		} 	} 	return Longest; }  //SELECTION OBJECT FOR TYPING WITH KEYPAD var selObj = null;              SelObj = function(box){ 	this.box = box; 	this.selStart = this.box.selectionStart; 	this.selEnd = this.box.selectionEnd; 	this.selText = this.box.value.substring(this.selStart, this.selEnd); 	return this; }  function setSelText(newText){ 	var caretPos = this.selStart + newText.length; 	var newValue = this.box.value.substring(0, this.selStart); 	newValue += newText; 	newValue += this.box.value.substring(this.selEnd, this.box.value.length); 	this.box.value = newValue; 	this.box.setSelectionRange(caretPos, caretPos); 	this.box.focus(); } SelObj.prototype.setSelText = setSelText;  function setSelSelectionRange(start, end){ 	this.box.setSelectionRange(start, end); } SelObj.prototype.setSelSelectionRange = setSelSelectionRange;  //UNICODE CHARACTER FUNCTIONS function IsCombiningDiacritic(CharNum){ 	var Result = (((CharNum &gt;= 0x0300)&amp;&amp;(CharNum &lt;= 0x370))||((CharNum &gt;= 0x20d0)&amp;&amp;(CharNum &lt;= 0x20ff))); 	Result = Result || (((CharNum &gt;= 0x3099)&amp;&amp;(CharNum &lt;= 0x309a))||((CharNum &gt;= 0xfe20)&amp;&amp;(CharNum &lt;= 0xfe23))); 	return Result; }  function IsCJK(CharNum){ 	return ((CharNum &gt;= 0x3000)&amp;&amp;(CharNum &lt; 0xd800)); }  //SETUP FUNCTIONS //BROWSER WILL REFILL TEXT BOXES FROM CACHE IF NOT PREVENTED function ClearTextBoxes(){ 	var NList = document.getElementsByTagName(&#39;input&#39;); 	for (var i=0; i&lt;NList.length; i++){ 		if ((NList[i].id.indexOf(&#39;Guess&#39;) &gt; -1)||(NList[i].id.indexOf(&#39;Gap&#39;) &gt; -1)){ 			NList[i].value = &#39;&#39;; 		} 		if (NList[i].id.indexOf(&#39;Chk&#39;) &gt; -1){ 			NList[i].checked = &#39;&#39;; 		} 	} }        //JQUIZ CORE JAVASCRIPT CODE  var CurrQNum = 0; var CorrectIndicator = &#39;&amp;#x2714;&#39;; var IncorrectIndicator = &#39;&amp;#x2718;&#39;; var YourScoreIs = &#39;Your score is &#39;;  //New for 6.2.2.0 var CompletedSoFar = &#39;Questions completed so far: &#39;; var ExerciseCompleted = &#39;You have completed the exercise.&#39;; var ShowCompletedSoFar = true;  var ContinuousScoring = true; var CorrectFirstTime = &#39;Questions answered correctly first time: &#39;; var ShowCorrectFirstTime = true; var ShuffleQs = true; var ShuffleAs = true; var DefaultRight = &#39;Correct!&#39;; var DefaultWrong = &#39;Sorry! Try again.&#39;; var QsToShow = 15; var Score = 0; var Finished = false; var Qs = null; var QArray = new Array(); var ShowingAllQuestions = false; var ShowAllQuestionsCaption = &#39;Show all questions&#39;; var ShowOneByOneCaption = &#39;Show questions one by one&#39;; var State = new Array(); var Feedback = &#39;&#39;; var TimeOver = false; var strInstructions = &#39;&#39;; var Locked = false;  //The following variable can be used to add a message explaining that //the question is finished, so no further marking will take place. var strQuestionFinished = &#39;&#39;;  function CompleteEmptyFeedback(){ 	var QNum, ANum; 	for (QNum=0; QNum&lt;I.length; QNum++){ //Only do this if not multi-select 		if (I[QNum][2] != &#39;3&#39;){   		for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){   			if (I[QNum][3][ANum][1].length &lt; 1){   				if (I[QNum][3][ANum][2] &gt; 0){   					I[QNum][3][ANum][1] = DefaultRight;   				}   				else{   					I[QNum][3][ANum][1] = DefaultWrong;   				}   			}   		} 		} 	} }  function SetUpQuestions(){ 	var AList = new Array();  	var QList = new Array(); 	var i, j; 	Qs = document.getElementById(&#39;Questions&#39;); 	while (Qs.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 		QList.push(Qs.removeChild(Qs.getElementsByTagName(&#39;li&#39;)[0])); 	} 	var DumpItem = 0; 	if (QsToShow &gt; QList.length){ 		QsToShow = QList.length; 	} 	while (QsToShow &lt; QList.length){ 		DumpItem = Math.floor(QList.length*Math.random()); 		for (j=DumpItem; j&lt;(QList.length-1); j++){ 			QList[j] = QList[j+1]; 		} 		QList.length = QList.length-1; 	} 	if (ShuffleQs == true){ 		QList = Shuffle(QList); 	} 	if (ShuffleAs == true){ 		var As; 		for (var i=0; i&lt;QList.length; i++){ 			As = QList[i].getElementsByTagName(&#39;ol&#39;)[0]; 			if (As != null){   			AList.length = 0; 				while (As.getElementsByTagName(&#39;li&#39;).length &gt; 0){ 					AList.push(As.removeChild(As.getElementsByTagName(&#39;li&#39;)[0])); 				} 				AList = Shuffle(AList); 				for (j=0; j&lt;AList.length; j++){ 					As.appendChild(AList[j]); 				} 			} 		} 	} 	 	for (i=0; i&lt;QList.length; i++){ 		Qs.appendChild(QList[i]); 		QArray[QArray.length] = QList[i]; 	}  //Show the first item 	QArray[0].style.display = &#39;&#39;; 	 //Now hide all except the first item 	for (i=1; i&lt;QArray.length; i++){ 		QArray[i].style.display = &#39;none&#39;; 	}		 	SetQNumReadout(); 	 	SetFocusToTextbox(); }  function SetFocusToTextbox(){ //if there&#39;s a textbox, set the focus in it 	if (QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0] != null){ 		QArray[CurrQNum].getElementsByTagName(&#39;input&#39;)[0].focus(); //and show a keypad if there is one 		if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 			document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 		} 	} 	else{   	if (QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0] != null){   		QArray[CurrQNum].getElementsByTagName(&#39;textarea&#39;)[0].focus();	 //and show a keypad if there is one 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;block&#39;; 			} 		} //This added for 6.0.4.11: hide accented character buttons if no textbox 		else{ 			if (document.getElementById(&#39;CharacterKeypad&#39;) != null){ 				document.getElementById(&#39;CharacterKeypad&#39;).style.display = &#39;none&#39;; 			} 		} 	} }  function ChangeQ(ChangeBy){ //The following line prevents moving to another question until the current //question is answered correctly. Uncomment it to enable this behaviour.  //	if (State[CurrQNum][0] == -1){return;} 	if (((CurrQNum + ChangeBy) &lt; 0)||((CurrQNum + ChangeBy) &gt;= QArray.length)){return;} 	QArray[CurrQNum].style.display = &#39;none&#39;; 	CurrQNum += ChangeBy; 	QArray[CurrQNum].style.display = &#39;&#39;; //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); 	SetQNumReadout(); 	SetFocusToTextbox(); }  var HiddenReadingShown = false; function ShowSpecialReadingForQuestion(){ //Undocumented function for showing specific reading text elements which change with each question //Added on 10/12/2004 	if (document.getElementById(&#39;ReadingDiv&#39;) != null){ 		if (HiddenReadingShown == true){ 			document.getElementById(&#39;ReadingDiv&#39;).innerHTML = &#39;&#39;; 		} 		if (QArray[CurrQNum] != null){ //Fix for 6.0.4.25 			var Children = QArray[CurrQNum].getElementsByTagName(&#39;div&#39;); 			for (var i=0; i&lt;Children.length; i++){ 			if (Children[i].className==&quot;HiddenReading&quot;){ 					document.getElementById(&#39;ReadingDiv&#39;).innerHTML = Children[i].innerHTML; 					HiddenReadingShown = true; //Hide the ShowAllQuestions button to avoid confusion 					if (document.getElementById(&#39;ShowMethodButton&#39;) != null){ 						document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 					} 				} 			}	 		} 	} }  function SetQNumReadout(){ 	document.getElementById(&#39;QNumReadout&#39;).innerHTML = (CurrQNum+1) + &#39; / &#39; + QArray.length; 	if ((CurrQNum+1) &gt;= QArray.length){ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;NextQButton&#39;) != null){ 			document.getElementById(&#39;NextQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} 	if (CurrQNum &lt;= 0){ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;hidden&#39;; 		} 	} 	else{ 		if (document.getElementById(&#39;PrevQButton&#39;) != null){ 			document.getElementById(&#39;PrevQButton&#39;).style.visibility = &#39;visible&#39;; 		} 	} }  var I=new Array(); I[0]=new Array();I[0][0]=100; I[0][1]=&#39;&#39;; I[0][2]=&#39;0&#39;; I[0][3]=new Array(); I[0][3][0]=new Array(&#39;Preliminary investigation&#39;,&#39;&#39;,1,100,1); I[0][3][1]=new Array(&#39;Data gathering&#39;,&#39;&#39;,0,0,1); I[0][3][2]=new Array(&#39;Requirement analysis&#39;,&#39;&#39;,0,0,1); I[0][3][3]=new Array(&#39;All of above&#39;,&#39;&#39;,0,0,1); I[1]=new Array();I[1][0]=100; I[1][1]=&#39;&#39;; I[1][2]=&#39;0&#39;; I[1][3]=new Array(); I[1][3][0]=new Array(&#39;1-4 pages / minute&#39;,&#39;&#39;,0,0,1); I[1][3][1]=new Array(&#39;1-5 pages / minute&#39;,&#39;&#39;,0,0,1); I[1][3][2]=new Array(&#39;1-6 pages / minute&#39;,&#39;&#39;,1,100,1); I[1][3][3]=new Array(&#39;1-7 pages / minute&#39;,&#39;&#39;,0,0,1); I[2]=new Array();I[2][0]=100; I[2][1]=&#39;&#39;; I[2][2]=&#39;0&#39;; I[2][3]=new Array(); I[2][3][0]=new Array(&#39;Direct input device&#39;,&#39;&#39;,0,0,1); I[2][3][1]=new Array(&#39;Indirect input device&#39;,&#39;&#39;,1,100,1); I[2][3][2]=new Array(&#39;Both&#39;,&#39;&#39;,0,0,1); I[2][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[3]=new Array();I[3][0]=100; I[3][1]=&#39;&#39;; I[3][2]=&#39;0&#39;; I[3][3]=new Array(); I[3][3][0]=new Array(&#39;Storage devices&#39;,&#39;&#39;,0,0,1); I[3][3][1]=new Array(&#39;I/O devices&#39;,&#39;&#39;,1,100,1); I[3][3][2]=new Array(&#39;Networking devices&#39;,&#39;&#39;,0,0,1); I[3][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[4]=new Array();I[4][0]=100; I[4][1]=&#39;&#39;; I[4][2]=&#39;0&#39;; I[4][3]=new Array(); I[4][3][0]=new Array(&#39;Low resolution&#39;,&#39;&#39;,0,0,1); I[4][3][1]=new Array(&#39;More sharpness&#39;,&#39;&#39;,1,100,1); I[4][3][2]=new Array(&#39;More size of screen&#39;,&#39;&#39;,0,0,1); I[4][3][3]=new Array(&#39;None of above&#39;,&#39;&#39;,0,0,1); I[5]=new Array();I[5][0]=100; I[5][1]=&#39;&#39;; I[5][2]=&#39;0&#39;; I[5][3]=new Array(); I[5][3][0]=new Array(&#39;Softcopy&#39;,&#39;&#39;,1,100,1); I[5][3][1]=new Array(&#39;Hardcopy&#39;,&#39;&#39;,0,0,1); I[5][3][2]=new Array(&#39;Printed papers&#39;,&#39;&#39;,0,0,1); I[5][3][3]=new Array(&#39;Hardcopy &amp; printed papers&#39;,&#39;&#39;,0,0,1); I[6]=new Array();I[6][0]=100; I[6][1]=&#39;&#39;; I[6][2]=&#39;0&#39;; I[6][3]=new Array(); I[6][3][0]=new Array(&#39;Information Technology&#39;,&#39;&#39;,0,0,1); I[6][3][1]=new Array(&#39;Computing&#39;,&#39;&#39;,0,0,1); I[6][3][2]=new Array(&#39;Data processing&#39;,&#39;&#39;,0,0,1); I[6][3][3]=new Array(&#39;Computing &amp; data processing&#39;,&#39;&#39;,1,100,1); I[7]=new Array();I[7][0]=100; I[7][1]=&#39;&#39;; I[7][2]=&#39;0&#39;; I[7][3]=new Array(); I[7][3][0]=new Array(&#39;Distributed computing&#39;,&#39;&#39;,0,0,1); I[7][3][1]=new Array(&#39;Computer animation&#39;,&#39;&#39;,0,0,1); I[7][3][2]=new Array(&#39;Artificial intelligence&#39;,&#39;&#39;,1,100,1); I[7][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[8]=new Array();I[8][0]=100; I[8][1]=&#39;&#39;; I[8][2]=&#39;0&#39;; I[8][3]=new Array(); I[8][3][0]=new Array(&#39;M-commerce&#39;,&#39;&#39;,0,0,1); I[8][3][1]=new Array(&#39;E-commerce&#39;,&#39;&#39;,1,100,1); I[8][3][2]=new Array(&#39;Information technology&#39;,&#39;&#39;,0,0,1); I[8][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[9]=new Array();I[9][0]=100; I[9][1]=&#39;&#39;; I[9][2]=&#39;0&#39;; I[9][3]=new Array(); I[9][3][0]=new Array(&#39;4 bytes&#39;,&#39;&#39;,1,100,1); I[9][3][1]=new Array(&#39;8 bytes&#39;,&#39;&#39;,0,0,1); I[9][3][2]=new Array(&#39;16 bytes&#39;,&#39;&#39;,0,0,1); I[9][3][3]=new Array(&#39;32 bytes&#39;,&#39;&#39;,0,0,1); I[10]=new Array();I[10][0]=100; I[10][1]=&#39;&#39;; I[10][2]=&#39;0&#39;; I[10][3]=new Array(); I[10][3][0]=new Array(&#39;Custom built software&#39;,&#39;&#39;,1,100,1); I[10][3][1]=new Array(&#39;Packaged software&#39;,&#39;&#39;,0,0,1); I[10][3][2]=new Array(&#39;Both&#39;,&#39;&#39;,0,0,1); I[10][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[11]=new Array();I[11][0]=100; I[11][1]=&#39;&#39;; I[11][2]=&#39;0&#39;; I[11][3]=new Array(); I[11][3][0]=new Array(&#39;10&#39;,&#39;&#39;,0,0,1); I[11][3][1]=new Array(&#39;11&#39;,&#39;&#39;,0,0,1); I[11][3][2]=new Array(&#39;12&#39;,&#39;&#39;,1,100,1); I[11][3][3]=new Array(&#39;13&#39;,&#39;&#39;,0,0,1); I[12]=new Array();I[12][0]=100; I[12][1]=&#39;&#39;; I[12][2]=&#39;0&#39;; I[12][3]=new Array(); I[12][3][0]=new Array(&#39;Stylus&#39;,&#39;&#39;,0,0,1); I[12][3][1]=new Array(&#39;Puck&#39;,&#39;&#39;,1,100,1); I[12][3][2]=new Array(&#39;Pointing stick&#39;,&#39;&#39;,0,0,1); I[12][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1); I[13]=new Array();I[13][0]=100; I[13][1]=&#39;&#39;; I[13][2]=&#39;0&#39;; I[13][3]=new Array(); I[13][3][0]=new Array(&#39;Resolution&#39;,&#39;&#39;,0,0,1); I[13][3][1]=new Array(&#39;Number of colors&#39;,&#39;&#39;,0,0,1); I[13][3][2]=new Array(&#39;Speed of image display&#39;,&#39;&#39;,0,0,1); I[13][3][3]=new Array(&#39;All of these&#39;,&#39;&#39;,1,100,1); I[14]=new Array();I[14][0]=100; I[14][1]=&#39;&#39;; I[14][2]=&#39;0&#39;; I[14][3]=new Array(); I[14][3][0]=new Array(&#39;Device driver&#39;,&#39;&#39;,0,0,1); I[14][3][1]=new Array(&#39;Operating system&#39;,&#39;&#39;,0,0,1); I[14][3][2]=new Array(&#39;Utility programs&#39;,&#39;&#39;,1,100,1); I[14][3][3]=new Array(&#39;None of these&#39;,&#39;&#39;,0,0,1);   function StartUp(){  //If there&#39;s only one question, no need for question navigation controls 	if (QsToShow &lt; 2){ 		document.getElementById(&#39;QNav&#39;).style.display = &#39;none&#39;; 	} 	 //Stash the instructions so they can be redisplayed 	strInstructions = document.getElementById(&#39;InstructionsDiv&#39;).innerHTML; 	  	  	  	 	CompleteEmptyFeedback();  	SetUpQuestions(); 	ClearTextBoxes(); 	CreateStatusArray(); 	  	 //Check search string for q parameter 	if (document.location.search.length &gt; 0){ 		if (ShuffleQs == false){ 			var JumpTo = parseInt(document.location.search.substring(1,document.location.search.length))-1; 			if (JumpTo &lt;= QsToShow){ 				ChangeQ(JumpTo); 			} 		} 	} //Undocumented function added 10/12/2004 	ShowSpecialReadingForQuestion(); }  function ShowHideQuestions(){ 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;none&#39;; 	if (ShowingAllQuestions == false){ 		for (var i=0; i&lt;QArray.length; i++){ 				QArray[i].style.display = &#39;&#39;; 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;decimal&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;none&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowOneByOneCaption; 		ShowingAllQuestions = true; 	} 	else{ 		for (var i=0; i&lt;QArray.length; i++){ 				if (i != CurrQNum){ 					QArray[i].style.display = &#39;none&#39;; 				} 			} 		document.getElementById(&#39;Questions&#39;).style.listStyleType = &#39;none&#39;; 		document.getElementById(&#39;OneByOneReadout&#39;).style.display = &#39;&#39;; 		document.getElementById(&#39;ShowMethodButton&#39;).innerHTML = ShowAllQuestionsCaption; 		ShowingAllQuestions = false;	 	} 	document.getElementById(&#39;ShowMethodButton&#39;).style.display = &#39;inline&#39;; }  function CreateStatusArray(){ 	var QNum, ANum; //For each item in the item array 	for (QNum=0; QNum&lt;I.length; QNum++){ //Check if the question still exists (hasn&#39;t been nuked by showing a random selection) 		if (document.getElementById(&#39;Q_&#39; + QNum) != null){ 			State[QNum] = new Array(); 			State[QNum][0] = -1; //Score for this q; -1 shows question not done yet 			State[QNum][1] = new Array(); //answers 			for (ANum = 0; ANum&lt;I[QNum][3].length; ANum++){ 				State[QNum][1][ANum] = 0; //answer not chosen yet; when chosen, will store its position in the series of choices 			} 			State[QNum][2] = 0; //tries at this q so far 			State[QNum][3] = 0; //incrementing percent-correct values of selected answers 			State[QNum][4] = 0; //penalties incurred for hints 			State[QNum][5] = &#39;&#39;; //Sequence of answers chosen by number 		} 		else{ 			State[QNum] = null; 		} 	} }    function CheckMCAnswer(QNum, ANum, Btn){ //if question doesn&#39;t exist, bail 	if (State[QNum].length &lt; 1){return;} 	 //Get the feedback 	Feedback = I[QNum][3][ANum][1]; 	 //Now show feedback and bail if question already complete 	if (State[QNum][0] &gt; -1){ //Add an extra message explaining that the question // is finished if defined by the user 		if (strQuestionFinished.length &gt; 0){Feedback += &#39;&lt;br /&gt;&#39; + strQuestionFinished;} //Show the feedback 		ShowMessage(Feedback); //New for 6.2.2.1: If you want to mark an answer as correct even when it&#39;s the final choice, uncomment this line. //		if (I[QNum][3][ANum][2] &gt;= 1){Btn.innerHTML = CorrectIndicator;}else{Btn.innerHTML = IncorrectIndicator;}	 		return; 	} 	 //Hide the button while processing 	Btn.style.display = &#39;none&#39;;  //Increment the number of tries 	State[QNum][2]++; 	 //Add the percent-correct value of this answer 	State[QNum][3] += I[QNum][3][ANum][3]; 	 //Store the try number in the answer part of the State array, for tracking purposes 	State[QNum][1][ANum] = State[QNum][2]; 	if (State[QNum][5].length &gt; 0){State[QNum][5] += &#39; | &#39;;} 	State[QNum][5] += String.fromCharCode(65+ANum); 	 //Should this answer be accepted as correct? 	if (I[QNum][3][ANum][2] &lt; 1){ //It&#39;s wrong  //Mark the answer 		Btn.innerHTML = IncorrectIndicator; 		 //Remove any previous score unless exercise is finished (6.0.3.8+) 		if (Finished == false){ 			WriteToInstructions(strInstructions); 		}	 		 //Check whether this leaves just one MC answer unselected, in which case the Q is terminated 		var RemainingAnswer = FinalAnswer(QNum); 		if (RemainingAnswer &gt; -1){ //Behave as if the last answer had been selected, but give no credit for it //Increment the number of tries 			State[QNum][2]++;		 		 //Calculate the score for this question 			CalculateMCQuestionScore(QNum); 			 //Get the overall score and add it to the feedback 			CalculateOverallScore(); //New for 6.2.2.1 			var QsDone = CheckQuestionsCompleted(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 			else{ 				WriteToInstructions(QsDone); 			} 		} 	} 	else{ //It&#39;s right //Mark the answer 		Btn.innerHTML = CorrectIndicator; 				 //Calculate the score for this question 		CalculateMCQuestionScore(QNum); 		 //New for 6.2.2.0 		var QsDone = CheckQuestionsCompleted();  //Get the overall score and add it to the feedback 		if (ContinuousScoring == true){ 			CalculateOverallScore(); 			if ((ContinuousScoring == true)||(Finished == true)){ 				Feedback += &#39;&lt;br /&gt;&#39; + YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone; 				WriteToInstructions(YourScoreIs + &#39; &#39; + Score + &#39;%.&#39; + &#39;&lt;br /&gt;&#39; + QsDone); 			} 		} 		else{ 			WriteToInstructions(QsDone); 		} 	} 	 //Show the button again 	Btn.style.display = &#39;inline&#39;; 	 //Finally, show the feedback	 	ShowMessage(Feedback); 	 //Check whether all questions are now done 	CheckFinished(); }  function CalculateMCQuestionScore(QNum){ 	var Tries = State[QNum][2] + State[QNum][4]; //include tries and hint penalties 	var PercentCorrect = State[QNum][3]; 	var TotAns = GetTotalMCAnswers(QNum); 	var HintPenalties = State[QNum][4]; 	 //Make sure it&#39;s not already complete  	if (State[QNum][0] &lt; 0){ //Allow for Hybrids 		if (HintPenalties &gt;= 1){ 			State[QNum][0] = 0; 		} 		else{ //This line calculates the score for this question 			if (TotAns == 1){ 				State[QNum][0] = 1; 			} 			else{ 				State[QNum][0] = ((TotAns-((Tries*100)/State[QNum][3]))/(TotAns-1)); 			} 		} //Fix for Safari bug added for version 6.0.3.42 (negative infinity problem) 		if ((State[QNum][0] &lt; 0)||(State[QNum][0] == Number.NEGATIVE_INFINITY)){ 			State[QNum][0] = 0; 		} 	} }  function GetTotalMCAnswers(QNum){ 	var Result = 0; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			Result++; 		} 	} 	return Result; }  function FinalAnswer(QNum){ 	var UnchosenAnswers = 0; 	var FinalAnswer = -1; 	for (var ANum=0; ANum&lt;I[QNum][3].length; ANum++){ 		if (I[QNum][3][ANum][4] == 1){ //This is an MC answer 			if (State[QNum][1][ANum] &lt; 1){ //This answer hasn&#39;t been chosen yet 				UnchosenAnswers++; 				FinalAnswer = ANum; 			} 		} 	} 	if (UnchosenAnswers == 1){ 		return FinalAnswer; 	} 	else{ 		return -1; 	} }      function CalculateOverallScore(){ 	var TotalWeighting = 0; 	var TotalScore = 0; 	 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt; -1){ 				TotalWeighting += I[QNum][0]; 				TotalScore += (I[QNum][0] * State[QNum][0]); 			} 		} 	} 	if (TotalWeighting &gt; 0){ 		Score = Math.floor((TotalScore/TotalWeighting)*100); 	} 	else{ //if TotalWeighting is 0, no questions so far have any value, so  //no penalty should be shown. 		Score = 100;  	} }  //New for 6.2.2.0 function CheckQuestionsCompleted(){ 	if (ShowCompletedSoFar == false){return &#39;&#39;;} 	var QsCompleted = 0; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &gt;= 0){ 				QsCompleted++; 			} 		} 	} //Fixes for 6.2.2.2 	if (QsCompleted &gt;= QArray.length){ 		return ExerciseCompleted; 	} 	else{ 		return CompletedSoFar + &#39; &#39; + QsCompleted + &#39;/&#39; + QArray.length + &#39;.&#39;; 	} }  function CheckFinished(){ 	var FB = &#39;&#39;; 	var AllDone = true; 	for (var QNum=0; QNum&lt;State.length; QNum++){ 		if (State[QNum] != null){ 			if (State[QNum][0] &lt; 0){ 				AllDone = false; 			} 		} 	} 	if (AllDone == true){ 	 //Report final score and submit if necessary 		CalculateOverallScore(); 		FB = YourScoreIs + &#39; &#39; + Score + &#39;%.&#39;; 		if (ShowCorrectFirstTime == true){ 			var CFT = 0; 			for (QNum=0; QNum&lt;State.length; QNum++){ 				if (State[QNum] != null){ 					if (State[QNum][0] &gt;= 1){ 						CFT++; 					} 				} 			} 			FB += &#39;&lt;br /&gt;&#39; + CorrectFirstTime + &#39; &#39; + CFT + &#39;/&#39; + QsToShow; 		} 		 //New for 6.2.2.0 		FB += &#39;&lt;br /&gt;&#39; + ExerciseCompleted; 		 		WriteToInstructions(FB); 		 		Finished == true;     		TimeOver = true; 		Locked = true; 		   		Finished = true; 		Detail = &#39;&lt;?xml version=&quot;1.0&quot;?&gt;&lt;hpnetresult&gt;&lt;fields&gt;&#39;; 		for (QNum=0; QNum&lt;State.length; QNum++){ 			if (State[QNum] != null){ 				if (State[QNum][5].length &gt; 0){ 					Detail += &#39;&lt;field&gt;&lt;fieldname&gt;Question #&#39; + (QNum+1) + &#39;&lt;/fieldname&gt;&lt;fieldtype&gt;question-tracking&lt;/fieldtype&gt;&lt;fieldlabel&gt;Q &#39; + (QNum+1) + &#39;&lt;/fieldlabel&gt;&lt;fieldlabelid&gt;QuestionTrackingField&lt;/fieldlabelid&gt;&lt;fielddata&gt;&#39; + State[QNum][5] + &#39;&lt;/fielddata&gt;&lt;/field&gt;&#39;; 				} 			} 		} 		Detail += &#39;&lt;/fields&gt;&lt;/hpnetresult&gt;&#39;; 	}  }           //--&gt; //]]&gt; &lt;/script&gt;  &lt;/head&gt; &lt;body id=&quot;TheBody&quot; onload=&quot;StartUp()&quot;&gt; &lt;!-- BeginTopNavButtons --&gt;   &lt;!-- EndTopNavButtons --&gt; &lt;div class=&quot;Titles&quot;&gt;	&lt;h2 class=&quot;ExerciseTitle&quot;&gt;&lt;/h2&gt;   &lt;/div&gt; &lt;div class=&quot;StdDiv&quot; id=&quot;InstructionsDiv&quot;&gt;	&lt;div id=&quot;Instructions&quot;&gt;&lt;/div&gt;&lt;/div&gt;  &lt;div id=&quot;ContainerDiv&quot;&gt;   &lt;div class=&quot;ExerciseContainer&quot;&gt; &lt;div class=&quot;QuestionNavigation&quot; id=&quot;QNav&quot;&gt; &lt;p style=&quot;text-align: right;&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;ShowMethodButton&quot; onclick=&quot;ShowHideQuestions(); return false;&quot;&gt;Show all questions&lt;/button&gt;&lt;/p&gt; &lt;div id=&quot;OneByOneReadout&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;PrevQButton&quot; onclick=&quot;ChangeQ(-1); return false;&quot;&gt;Back&lt;/button&gt; &lt;span class=&quot;QNum&quot; id=&quot;QNumReadout&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;button class=&quot;FuncButton&quot; id=&quot;NextQButton&quot; onclick=&quot;ChangeQ(1); return false;&quot;&gt;Next&lt;/button&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;  &lt;ol class=&quot;QuizQuestions&quot; id=&quot;Questions&quot;&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_0&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The initial analysis and finding of the system is performed at which stage of SDLC:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_0_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_0_Btn&quot; onclick=&quot;CheckMCAnswer(0,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Preliminary investigation&lt;/li&gt;&lt;li id=&quot;Q_0_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_1_Btn&quot; onclick=&quot;CheckMCAnswer(0,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Data gathering&lt;/li&gt;&lt;li id=&quot;Q_0_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_2_Btn&quot; onclick=&quot;CheckMCAnswer(0,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Requirement analysis&lt;/li&gt;&lt;li id=&quot;Q_0_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_0_3_Btn&quot; onclick=&quot;CheckMCAnswer(0,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of above&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_1&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The ink-jet printer can print textual data at which rate:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_1_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_0_Btn&quot; onclick=&quot;CheckMCAnswer(1,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1-4 pages / minute&lt;/li&gt;&lt;li id=&quot;Q_1_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_1_Btn&quot; onclick=&quot;CheckMCAnswer(1,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1-5 pages / minute&lt;/li&gt;&lt;li id=&quot;Q_1_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_2_Btn&quot; onclick=&quot;CheckMCAnswer(1,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1-6 pages / minute&lt;/li&gt;&lt;li id=&quot;Q_1_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_1_3_Btn&quot; onclick=&quot;CheckMCAnswer(1,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;1-7 pages / minute&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_2&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The input device which need more human interaction:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_2_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_0_Btn&quot; onclick=&quot;CheckMCAnswer(2,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Direct input device&lt;/li&gt;&lt;li id=&quot;Q_2_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_1_Btn&quot; onclick=&quot;CheckMCAnswer(2,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Indirect input device&lt;/li&gt;&lt;li id=&quot;Q_2_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_2_Btn&quot; onclick=&quot;CheckMCAnswer(2,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Both&lt;/li&gt;&lt;li id=&quot;Q_2_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_2_3_Btn&quot; onclick=&quot;CheckMCAnswer(2,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_3&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The modem, router and bridge are examples of:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_3_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_0_Btn&quot; onclick=&quot;CheckMCAnswer(3,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Storage devices&lt;/li&gt;&lt;li id=&quot;Q_3_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_1_Btn&quot; onclick=&quot;CheckMCAnswer(3,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;I/O devices&lt;/li&gt;&lt;li id=&quot;Q_3_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_2_Btn&quot; onclick=&quot;CheckMCAnswer(3,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Networking devices&lt;/li&gt;&lt;li id=&quot;Q_3_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_3_3_Btn&quot; onclick=&quot;CheckMCAnswer(3,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_4&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The more number of pixels results in:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_4_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_0_Btn&quot; onclick=&quot;CheckMCAnswer(4,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Low resolution&lt;/li&gt;&lt;li id=&quot;Q_4_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_1_Btn&quot; onclick=&quot;CheckMCAnswer(4,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;More sharpness&lt;/li&gt;&lt;li id=&quot;Q_4_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_2_Btn&quot; onclick=&quot;CheckMCAnswer(4,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;More size of screen&lt;/li&gt;&lt;li id=&quot;Q_4_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_4_3_Btn&quot; onclick=&quot;CheckMCAnswer(4,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of above&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_5&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The output which is not tangible:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_5_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_0_Btn&quot; onclick=&quot;CheckMCAnswer(5,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Softcopy&lt;/li&gt;&lt;li id=&quot;Q_5_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_1_Btn&quot; onclick=&quot;CheckMCAnswer(5,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Hardcopy&lt;/li&gt;&lt;li id=&quot;Q_5_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_2_Btn&quot; onclick=&quot;CheckMCAnswer(5,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Printed papers&lt;/li&gt;&lt;li id=&quot;Q_5_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_5_3_Btn&quot; onclick=&quot;CheckMCAnswer(5,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Hardcopy &amp;amp; printed papers&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_6&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The process of converting data into information is called:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_6_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_0_Btn&quot; onclick=&quot;CheckMCAnswer(6,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Information Technology&lt;/li&gt;&lt;li id=&quot;Q_6_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_1_Btn&quot; onclick=&quot;CheckMCAnswer(6,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Computing&lt;/li&gt;&lt;li id=&quot;Q_6_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_2_Btn&quot; onclick=&quot;CheckMCAnswer(6,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Data processing&lt;/li&gt;&lt;li id=&quot;Q_6_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_6_3_Btn&quot; onclick=&quot;CheckMCAnswer(6,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Computing &amp;amp; data processing&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_7&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The process of enabling computers to make decisions by itself is known as:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_7_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_0_Btn&quot; onclick=&quot;CheckMCAnswer(7,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Distributed computing&lt;/li&gt;&lt;li id=&quot;Q_7_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_1_Btn&quot; onclick=&quot;CheckMCAnswer(7,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Computer animation&lt;/li&gt;&lt;li id=&quot;Q_7_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_2_Btn&quot; onclick=&quot;CheckMCAnswer(7,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Artificial intelligence&lt;/li&gt;&lt;li id=&quot;Q_7_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_7_3_Btn&quot; onclick=&quot;CheckMCAnswer(7,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_8&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The process of shopping through internet is known as:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_8_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_0_Btn&quot; onclick=&quot;CheckMCAnswer(8,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;M-commerce&lt;/li&gt;&lt;li id=&quot;Q_8_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_1_Btn&quot; onclick=&quot;CheckMCAnswer(8,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;E-commerce&lt;/li&gt;&lt;li id=&quot;Q_8_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_2_Btn&quot; onclick=&quot;CheckMCAnswer(8,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Information technology&lt;/li&gt;&lt;li id=&quot;Q_8_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_8_3_Btn&quot; onclick=&quot;CheckMCAnswer(8,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_9&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The size of “word” for mainframe is:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_9_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_0_Btn&quot; onclick=&quot;CheckMCAnswer(9,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;4 bytes&lt;/li&gt;&lt;li id=&quot;Q_9_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_1_Btn&quot; onclick=&quot;CheckMCAnswer(9,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;8 bytes&lt;/li&gt;&lt;li id=&quot;Q_9_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_2_Btn&quot; onclick=&quot;CheckMCAnswer(9,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;16 bytes&lt;/li&gt;&lt;li id=&quot;Q_9_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_9_3_Btn&quot; onclick=&quot;CheckMCAnswer(9,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;32 bytes&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_10&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The software developed for a particular customer or organization is:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_10_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_0_Btn&quot; onclick=&quot;CheckMCAnswer(10,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Custom built software&lt;/li&gt;&lt;li id=&quot;Q_10_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_1_Btn&quot; onclick=&quot;CheckMCAnswer(10,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Packaged software&lt;/li&gt;&lt;li id=&quot;Q_10_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_2_Btn&quot; onclick=&quot;CheckMCAnswer(10,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Both&lt;/li&gt;&lt;li id=&quot;Q_10_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_10_3_Btn&quot; onclick=&quot;CheckMCAnswer(10,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_11&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The total number of function keys on a keyboard are:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_11_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_0_Btn&quot; onclick=&quot;CheckMCAnswer(11,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;10&lt;/li&gt;&lt;li id=&quot;Q_11_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_1_Btn&quot; onclick=&quot;CheckMCAnswer(11,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;11&lt;/li&gt;&lt;li id=&quot;Q_11_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_2_Btn&quot; onclick=&quot;CheckMCAnswer(11,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;12&lt;/li&gt;&lt;li id=&quot;Q_11_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_11_3_Btn&quot; onclick=&quot;CheckMCAnswer(11,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;13&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_12&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The user uses ____ device to copy maps on digitizing tablet:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_12_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_0_Btn&quot; onclick=&quot;CheckMCAnswer(12,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Stylus&lt;/li&gt;&lt;li id=&quot;Q_12_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_1_Btn&quot; onclick=&quot;CheckMCAnswer(12,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Puck&lt;/li&gt;&lt;li id=&quot;Q_12_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_2_Btn&quot; onclick=&quot;CheckMCAnswer(12,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Pointing stick&lt;/li&gt;&lt;li id=&quot;Q_12_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_12_3_Btn&quot; onclick=&quot;CheckMCAnswer(12,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_13&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The video display adapter controls:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_13_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_0_Btn&quot; onclick=&quot;CheckMCAnswer(13,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Resolution&lt;/li&gt;&lt;li id=&quot;Q_13_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_1_Btn&quot; onclick=&quot;CheckMCAnswer(13,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Number of colors&lt;/li&gt;&lt;li id=&quot;Q_13_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_2_Btn&quot; onclick=&quot;CheckMCAnswer(13,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Speed of image display&lt;/li&gt;&lt;li id=&quot;Q_13_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_13_3_Btn&quot; onclick=&quot;CheckMCAnswer(13,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;All of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li class=&quot;QuizQuestion&quot; id=&quot;Q_14&quot; style=&quot;display: none;&quot;&gt;&lt;div class=&quot;QuestionText&quot;&gt;The virus protection, memory management and disk defragmentation are performed by:&lt;/div&gt;&lt;ol class=&quot;MCAnswers&quot;&gt;&lt;li id=&quot;Q_14_0&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_0_Btn&quot; onclick=&quot;CheckMCAnswer(14,0,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Device driver&lt;/li&gt;&lt;li id=&quot;Q_14_1&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_1_Btn&quot; onclick=&quot;CheckMCAnswer(14,1,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Operating system&lt;/li&gt;&lt;li id=&quot;Q_14_2&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_2_Btn&quot; onclick=&quot;CheckMCAnswer(14,2,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;Utility programs&lt;/li&gt;&lt;li id=&quot;Q_14_3&quot;&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;Q_14_3_Btn&quot; onclick=&quot;CheckMCAnswer(14,3,this)&quot;&gt;?&lt;/button&gt;&amp;nbsp;&amp;nbsp;None of these&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;/ol&gt;   &lt;/div&gt; &lt;/div&gt; &lt;div class=&quot;Feedback&quot; id=&quot;FeedbackDiv&quot;&gt;&lt;div class=&quot;FeedbackText&quot; id=&quot;FeedbackContent&quot;&gt;&lt;/div&gt;&lt;button class=&quot;FuncButton&quot; id=&quot;FeedbackOKButton&quot; onclick=&quot;HideFeedback(); return false;&quot;&gt;&amp;nbsp;OK&amp;nbsp;&lt;/button&gt;&lt;/div&gt; &lt;!-- BeginBottomNavButtons --&gt;   &lt;!-- EndBottomNavButtons --&gt; &lt;!-- BeginSubmissionForm --&gt; &lt;!-- EndSubmissionForm --&gt; &lt;/body&gt; &lt;/html&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/1388297792942715417/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-information-technology-it-mcqs.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1388297792942715417'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/1388297792942715417'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/11/basics-of-information-technology-it-mcqs.html' title='Basics of Information Technology (IT) MCQs'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-PFproZ3xmQ4/X6EngzoerDI/AAAAAAAAAWs/MVN2vpHfFIgrsyqRlY5COon_vrCGcL3OACLcBGAsYHQ/s72-c/basics-of-it-mcqs-quiz.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-8762089527278567044</id><published>2020-10-29T11:50:00.005+05:00</published><updated>2020-11-01T22:43:56.848+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12MathSQ"/><title type='text'>Functions and Limits | Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-ngKp0DfV8FU/X5pc4nKZYgI/AAAAAAAAAVQ/sR83cyzlWggy0X_e6Gv1lq2JM7XNixJLQCLcBGAsYHQ/s730/maths-functions-and-limits-short-questions-and-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-ngKp0DfV8FU/X5pc4nKZYgI/AAAAAAAAAVQ/sR83cyzlWggy0X_e6Gv1lq2JM7XNixJLQCLcBGAsYHQ/s730/maths-functions-and-limits-short-questions-and-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;maths functions and limits short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;364&quot; src=&quot;https://1.bp.blogspot.com/-ngKp0DfV8FU/X5pc4nKZYgI/AAAAAAAAAVQ/sR83cyzlWggy0X_e6Gv1lq2JM7XNixJLQCLcBGAsYHQ/w640-h364/maths-functions-and-limits-short-questions-and-answers.jpg&quot; title=&quot;maths functions and limits short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Functions and Limits Short Questions and Answers.&amp;nbsp;&lt;/b&gt;This post is about&lt;b&gt;&amp;nbsp;2nd Year | FSc. Part-II Mathematics Chapter No.1:&amp;nbsp;&lt;/b&gt;&lt;b&gt;(&lt;i&gt;Functions and Limits&lt;/i&gt;)&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&amp;nbsp;The following&amp;nbsp;&lt;b&gt;q&lt;/b&gt;&lt;i&gt;&lt;b&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;/i&gt;are very important for the final&amp;nbsp;&lt;b&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Functions and Limits&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: What is a function?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;A function `f` from a set X to a set Y is a rule that assigns to each element x in X a unique element y in Y. Symbolically we write its as `f:X\rightarrow Y` and read as “f is a function from X to Y”.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: If `f(x)=2x^3-5x^2+6x+3`, then find `f(\frac{1}{2x})`,`x\ne0`?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; `f(x)=2x^3-5x^2+6x+3`&amp;nbsp;&amp;nbsp; (1)&lt;br /&gt;Putting `x=\frac{1}{2x}` in (1), we have&lt;br /&gt;`f(\frac{1}{2x})=2(\frac{1}{2x})^3-5(\frac{1}{2x})^2+6(\frac{1}{2x})+3`&lt;br /&gt;`=\frac{2}{8x^3}-\frac{5}{4x^2}+\frac{6}{2x}+3`&lt;br /&gt;`f(\frac{1}{2x})=\frac{1}{4x^3}-\frac{5}{4x^2}+\frac{3}{x}+3, x\ne0`&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: If `f(x)=x^2-x`, then find `f(x-1)`? (Lahore Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; `f(x)=x^2-x`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;br /&gt;Replacing x by x-1 in (1), we have&lt;br /&gt;`f(x-1)=(x-1)^2-(x-1)`&lt;br /&gt;`=x^2-2x+1-x+1`&lt;br /&gt;`=x^2-3x+2`&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: If `f(x)=\sqrt{x+4}`, then find `f(x^2+4)`? (Lahore Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; `f(x)=\sqrt{x+4}`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;br /&gt;Putting `x=x^2+4` in (1), we have&lt;br /&gt;`f(x^2+4)=\sqrt{x^2+4+4}=\sqrt{x^2+8}`&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: Without finding the inverse, state the domain and range of `f^{-1}(x)` when `f(x)=\frac{x-1}{x-4}, x\ne4`? (Mirpur Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; `f(x)=\frac{x-1}{x-4}`&lt;br /&gt;First we find the domain and range of `f`. Since `f` is not defined at x=4, so this point must not be in the domain of `f`.&lt;br /&gt; Thus, Domain of `f=R-(-1)`&lt;br /&gt;Now&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Domain of `f^{-1}` = Range of `f=R-(-1)`&lt;br /&gt;And&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Range of `f^{-1}` = Domain of `f=R-(-4)`&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: Without finding the inverse, state the domain and range of `f^{-1}(x)` when `f(x)=(x-5)^2,x\geq5`? (Gujranwala Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Since the range of `f(x)` is `x\geq0`, so the domain of `f^{-1}(x)` is `x\geq0`. Since the domain of `f(x)` is `x\geq5`, so the range of `f^{-1}(x)` is `x\geq5`.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Without finding the inverse, state the domain and range of `f^{-1}(x)` when `f(x)=\frac{1}{x+3}`? (Rawalpindi Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;`f(x)=\frac{1}{x+3}`&lt;br /&gt;First, we find the domain and range of `f`. Since `f` is not defined at `x=-3`, so this point must not be in the domain of `f`. Thus,&lt;br /&gt;Domain of `f=R-(-3)`&lt;br /&gt;Since no value of x can give the value of `f` zero, so 0 is not in the range of `f`&lt;br /&gt;Range of `f = R-(0)`&lt;br /&gt;Now&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Domain of `f^{-1}` = Range of `f = R-(0)`&lt;br /&gt;And&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Range of `f^{-1}`= Domain of `f = R-(-3)`&lt;br /&gt; &lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Without finding the inverse, state the domain and range of `f^{-1}(x)` when `f(x)= \sqrt{x+2}`? (Faisalabad Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Since the range of `f(x)= \sqrt{x+2}` is `x\geq-2`, so the domain of `f^{-1}(x)` is `x\geq-2`. Since the domain of `f(x)` is `x\geq0`, so the range of `f^{-1}(x)` is `x\geq0`.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: Find `f^{-1}(x)` for `f(x)= \frac{1}{x+3}`? (Lahore Board)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Let `y=f(x)=\frac{1}{x+3}`, then `x+3=\frac{1}{y}`&lt;/div&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;                                                                                           &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-YcsnG9xa1v0/X57zQMu7eEI/AAAAAAAAAVk/efGwmIPqvbsigdB1e1QGOsmWJgI97XF6gCLcBGAsYHQ/s327/1.9.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;functions and limits&quot; border=&quot;0&quot; data-original-height=&quot;138&quot; data-original-width=&quot;327&quot; height=&quot;135&quot; src=&quot;https://1.bp.blogspot.com/-YcsnG9xa1v0/X57zQMu7eEI/AAAAAAAAAVk/efGwmIPqvbsigdB1e1QGOsmWJgI97XF6gCLcBGAsYHQ/w320-h135/1.9.jpeg&quot; title=&quot;functions and limits&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: If `f(x)=2x+1`, then show that `f^{-1}(f(x))=x`? (Multan and Lahore Board)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Let `y=f(x)`, then `f^{-1)(y)=x`.&lt;br /&gt;Now `f(x)=2x+1`&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;     &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-l-1D8ljueoo/X57zca6uPkI/AAAAAAAAAVo/-SByxRoZ6lEkvxM_TLuZpVe1M98P8WfHQCLcBGAsYHQ/s404/1.10.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;functions and limits&quot; border=&quot;0&quot; data-original-height=&quot;234&quot; data-original-width=&quot;404&quot; height=&quot;185&quot; src=&quot;https://1.bp.blogspot.com/-l-1D8ljueoo/X57zca6uPkI/AAAAAAAAAVo/-SByxRoZ6lEkvxM_TLuZpVe1M98P8WfHQCLcBGAsYHQ/w320-h185/1.10.jpeg&quot; title=&quot;functions and limits&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: If `f(x)=-2x+8`, then find `f^{-1}(x)`? (Lahore Board)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Let `y=f(x)`, then `f^{-1}(y)=x`&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;   &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-b935DZHLmcg/X57zkvCb6HI/AAAAAAAAAVw/YVks7hvD24Iba83TOqunKfgq6YTKzhshgCLcBGAsYHQ/s361/1.11.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;functions and limits&quot; border=&quot;0&quot; data-original-height=&quot;174&quot; data-original-width=&quot;361&quot; height=&quot;154&quot; src=&quot;https://1.bp.blogspot.com/-b935DZHLmcg/X57zkvCb6HI/AAAAAAAAAVw/YVks7hvD24Iba83TOqunKfgq6YTKzhshgCLcBGAsYHQ/w320-h154/1.11.jpeg&quot; title=&quot;functions and limits&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;color: #990000; text-align: justify;&quot;&gt;Q.12: If `f(x)=(-x+9)^3`, then find `f^{-1}(x)`? (Lahore Board)&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Let `y=f(x)`, then `f^{-1}(y)=x`&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;   &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-85-x2FaL1Io/X57zsetjkTI/AAAAAAAAAV4/9XwuGUlZGfsePefs3MrpkS2xCK8mQG8dwCLcBGAsYHQ/s358/1.12.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;functions and limits&quot; border=&quot;0&quot; data-original-height=&quot;129&quot; data-original-width=&quot;358&quot; height=&quot;115&quot; src=&quot;https://1.bp.blogspot.com/-85-x2FaL1Io/X57zsetjkTI/AAAAAAAAAV4/9XwuGUlZGfsePefs3MrpkS2xCK8mQG8dwCLcBGAsYHQ/w320-h115/1.12.jpeg&quot; title=&quot;functions and limits&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;color: #990000; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;b style=&quot;color: #990000; text-align: justify;&quot;&gt;Q.13: Given that `f(x)=x^3-x^2+x-1`, then find `f(0)? (Lahore Board)&lt;/b&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`f(x)=x^3-x^2+x-1`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Putting x=0 in (1), we have&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`f(0)=0^3-0^2+0-1`&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`\Rightarrow f(0)=-1`&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: What is a vertical line test of a function?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;If a vertical line intersects a graph in more than one point, it is not the graph of a function. In fact, when the graph intersects at more than one points a vertical line, then a single point will have more than one images (points of intersection), so it will not be graph of a function.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: What is an algebraic function?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;The functions defined by algebraic expressions are called algebraic functions, for example `f(x)=x+2`, `f(x)=x^2-4x+1` etc. are algebraic functions. But `f(x)=sin x is not an algebraic function, because it is not defined by an algebraic expression.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.16: Define a polynomial function of degree `n`? (Gujranwala Board)&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;A function `P(x)= a_{n}x^n+a_{n-1}x^{n-1}+a_{n-2}x^{n-2}+...+a_2x^2+a_1x+a_0` for all x, where the coefficients `a_n,a_{n-1},a_{n-2},….,a_2,a_1,a_0` are real numbers with `a_n\ne0` and the the exponents are non-negative integers, is called a polynomial function of degree `n`.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.17: Express the perimeter `P` of a square as function of its area `A`? (Lahore Board, G-I)&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;If `x` is the side length of the square, then its perimeter `P` is &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`P=4x`&amp;nbsp;&amp;nbsp; (1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;The area `A` of the square is&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`A=x^2`&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`\Rightarrow x=\sqrt{A}`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (2)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Putting this value of `x` from (2) in (1), we have&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`P=4\sqrt{A}`&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Which is the required perimeter `P` as a function of area `A`.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.18: Express the volume `V` of the cube as a function of its base area `A`?&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;(DG Khan Board, G-I)&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Let `x` is the side length of the cube, then its volume `V` is &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`V=x^3`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;The area `A` of the base of the cube is `A=x^2 \Rightarrow x=\pm\sqrt{A}`. Since the side length cannot be negative, so `x=\sqrt{A}=(A)^\frac{1}{2}`. Putting this valued of `x` in (1), we have&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`V=(A)^\frac{3}{2}` &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Which is the required volume `V` of the cube as a function of its base area `A`.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.19: Express the area `A` of a circle as a function of its circumference `C`? (DG Khan Board, G-II)&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Let `x` be the radius of the circle, then its area `A` is given by&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`A=\pi x^2`&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;The circumference `C` of the circle is given by `C=2\pi x \Rightarrow x=\frac{C}{2\pi}`.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Putting this value of `x` in (1), we have&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;`A=\pi(\frac{C}{2\pi})^2=\frac{\pi C^2}{4\pi^2}=\frac{1}{4\pi}C^2` &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;Which is the required area `A` of a circle as a function of its circumference `C`.&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.20: Find the domain of `g(x)=\sqrt{x^2-4}`? (Lahore Board)&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;Answer:&lt;br /&gt;&lt;/b&gt;Domain of `g(x)=\sqrt{x^2-4}` is `x^2-4\geq0`&lt;br /&gt;`(x+2)(x-2)\geq0\Rightarrow x\geq2,x\leq-2`&lt;br /&gt;Therefore, the domain of `g(x)=\sqrt{x^2-4}` is `(-\infty,-2]\cup[2,\infty)`.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;                                                                                       &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-top: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span&gt;&lt;div style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The remaining short questions and answers of Chapter No.1 (&lt;i&gt;Functions and Limits&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/09/fsc-2-maths-functions-and-limits-mcqs-quiz-1.html&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of FSc Part-II, Mathematics Chapter No.1&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/8762089527278567044/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/functions-and-limits-short-questions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/8762089527278567044'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/8762089527278567044'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/functions-and-limits-short-questions.html' title='Functions and Limits | Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-ngKp0DfV8FU/X5pc4nKZYgI/AAAAAAAAAVQ/sR83cyzlWggy0X_e6Gv1lq2JM7XNixJLQCLcBGAsYHQ/s72-c/maths-functions-and-limits-short-questions-and-answers.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-840914364508348852</id><published>2020-10-26T16:26:00.017+05:00</published><updated>2020-11-01T22:48:05.427+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12PhySQ"/><title type='text'>Electrostatics Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-5AdMvhGSRXo/X5aswHYp5pI/AAAAAAAAAVE/QW1M4uGbaq4JxzV7ogtVcVNETbIrjMPYQCLcBGAsYHQ/s740/electrostatics-short-questions-and-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-5AdMvhGSRXo/X5aswHYp5pI/AAAAAAAAAVE/QW1M4uGbaq4JxzV7ogtVcVNETbIrjMPYQCLcBGAsYHQ/s740/electrostatics-short-questions-and-answers.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;fsc part-ii electrostatics short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;740&quot; height=&quot;360&quot; src=&quot;https://1.bp.blogspot.com/-5AdMvhGSRXo/X5aswHYp5pI/AAAAAAAAAVE/QW1M4uGbaq4JxzV7ogtVcVNETbIrjMPYQCLcBGAsYHQ/w640-h360/electrostatics-short-questions-and-answers.jpg&quot; title=&quot;fsc part-ii electrostatics short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Electrostatics Short Questions and Answers. &lt;/b&gt;This post is about&lt;b&gt; 2nd Year | FSc. Part-II Physics:&amp;nbsp;&lt;/b&gt;&lt;b&gt;(&lt;i&gt;Electrostatics&lt;/i&gt;)&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Short Questions and Answers&lt;/b&gt;.&amp;nbsp;The following&amp;nbsp;&lt;b&gt;q&lt;/b&gt;&lt;i&gt;&lt;b&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;/i&gt;are very important for the final&amp;nbsp;&lt;b&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Electrostatics&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.1: The potential is constant throughout a given region of space. Is the electrical field zero or non-zero in this region? Explain.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The electric field intensity is defined by the relation.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;`E=-\frac{\triangle V}{\triangle r}` which states the negative of the potential gradient. If the potential constant throughout the given region of space then `\triangle V=0`.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;So,&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;`E=\frac{0}{\triangle r}`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;`E=0`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Suppose that you follow an electric field line due to a positive point charge. Do electric field and the potential increases?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;As we know that:&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;`E=\frac{1}{4\pi\epsilon_{\circ}} \frac{q}{r^2}`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Where, `\frac{q}{4\pi\epsilon_{\circ}}` = Constant&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;So, `E \propto \frac{1}{r^2}`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;And `V=\frac{1}{4\pi\epsilon_{\circ}} \frac{q}{r}`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Where, `\frac{q}{4\pi\epsilon}` = Constant&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;So, `V \propto \frac{1}{r}`&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Hence if we follow an electric line of force due to positive charge, the electric the intensity and electric potential decreases because both electric intensity and electric potential are inversely proportional to the distance `(E\propto\frac{1}{r^2}, V\propto\frac{1}{r})`.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: How can you identify that which plate of a capacitor is positively charged?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The presence of a charge on a body is detected by a device called Gold Leaf Electroscope. If the disc of the electroscope is touched with any plate of the capacitor, the divergence of the leaves then the plate of the capacitor is positively charged.&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;OR&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Another method for testing the charged plate of a capacitor, if a positive test charge is placed between the plates of a capacitor, the plate from which the charge moves away is a positively charged plate and the plate from which the charge moves towards is negatively charged plate.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: Describe the force or forces on a positive point charge when placed between parallel plates:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;&lt;b&gt;(a). With similar and equal charges?&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;(b). With opposite and equal charges?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;clear: both; text-align: left;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 150%;&quot;&gt;(a).&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;line-height: 150%;&quot;&gt;&amp;nbsp;In the case of similar and equal charges, when a positive point charge is placed between the parallel plates, the positive charge will remain in equilibrium due to equal and opposite forces as shown in the picture below.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 150%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-uU_OS-Z7Irg/X570co346wI/AAAAAAAAAWI/sJQNuUl8n10qb-rZ_E0n9X4t83aBwLNpgCLcBGAsYHQ/s272/4.1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;188&quot; data-original-width=&quot;272&quot; src=&quot;https://1.bp.blogspot.com/-uU_OS-Z7Irg/X570co346wI/AAAAAAAAAWI/sJQNuUl8n10qb-rZ_E0n9X4t83aBwLNpgCLcBGAsYHQ/s0/4.1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;(b).&lt;/b&gt; In the case of equal and opposite charges, the positive charge will move from positive charge will move from positive to the negative plate due to the forces acting along the same direction so the positive point charge moves towards the negative plate as shown in the below figure.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-IlQMvlYYXcE/X570lOfQRGI/AAAAAAAAAWM/8DcCh6CF6cotJvVsDRMWYlkH-mduqwGpwCLcBGAsYHQ/s277/4.2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;176&quot; data-original-width=&quot;277&quot; src=&quot;https://1.bp.blogspot.com/-IlQMvlYYXcE/X570lOfQRGI/AAAAAAAAAWM/8DcCh6CF6cotJvVsDRMWYlkH-mduqwGpwCLcBGAsYHQ/s0/4.2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: Electric lines of force never cross. Why?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; &lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;No, the electric lines of force never cross each other. If the two electric lines of force may intersect at a point then there would be two values of intensity at the same time which is not correct. So electric lines of force never cross each other.&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit; line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: If a point charge q of mass m is released in a non-uniform electric field with field lines in the same direction pointing, will it make a rectilinear motion?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;(a).&lt;/b&gt; If a point charge q of mass m is placed at any point in the non-uniform field created by a positive charge and negative charge then due to two equal and opposite charge, it will move along a curved path as shown in the below picture.&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-PI_3MhygHro/X570qQkYZDI/AAAAAAAAAWQ/8iKwlRGrCpwQ5TWS4B455wrt0HqJPRDFwCLcBGAsYHQ/s258/6.1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;164&quot; data-original-width=&quot;258&quot; src=&quot;https://1.bp.blogspot.com/-PI_3MhygHro/X570qQkYZDI/AAAAAAAAAWQ/8iKwlRGrCpwQ5TWS4B455wrt0HqJPRDFwCLcBGAsYHQ/s0/6.1.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 150%;&quot;&gt;(b).&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; line-height: 150%; text-align: justify;&quot;&gt;&amp;nbsp;If a point charge q of mass m placed at a point in a non-uniform field created by a negative charge -q or positive charge +q then the point charge will move in a straight line as shown&amp;nbsp;in the below figure.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 13.5pt; line-height: 150%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-P5v3_oV4IJ8/X570xJdS4PI/AAAAAAAAAWY/ZMziXGFwcW8Y2z3dHYZYOqVUuviy5zEbACLcBGAsYHQ/s216/6.2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;216&quot; data-original-width=&quot;200&quot; src=&quot;https://1.bp.blogspot.com/-P5v3_oV4IJ8/X570xJdS4PI/AAAAAAAAAWY/ZMziXGFwcW8Y2z3dHYZYOqVUuviy5zEbACLcBGAsYHQ/s0/6.2.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in;&quot;&gt;&lt;span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style=&quot;font-family: inherit; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The remaining short question and answers of Chapter No.1 (&lt;i&gt;Electrostatics&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/08/fsc-part-ii-physics-cha-12-electrostatics-quiz.html&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of FSc Part-II, Physics Chapter No.1&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/840914364508348852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/electrostatics-short-questions-and-answers.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/840914364508348852'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/840914364508348852'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/electrostatics-short-questions-and-answers.html' title='Electrostatics Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-5AdMvhGSRXo/X5aswHYp5pI/AAAAAAAAAVE/QW1M4uGbaq4JxzV7ogtVcVNETbIrjMPYQCLcBGAsYHQ/s72-c/electrostatics-short-questions-and-answers.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-7139673260255851500</id><published>2020-10-22T14:57:00.012+05:00</published><updated>2020-10-27T13:27:15.190+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ChemSQ"/><title type='text'>Periodic Classification of Elements and Periodicity | Short Questions</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-RLnj_vrqYsU/X5FSHhZm0nI/AAAAAAAAAU0/kmdu-YiUIVEJ2S7eWklt-Wi1H-uECTJdgCLcBGAsYHQ/s740/periodic-classification-of-elements-and-periodicity.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-RLnj_vrqYsU/X5FSHhZm0nI/AAAAAAAAAU0/kmdu-YiUIVEJ2S7eWklt-Wi1H-uECTJdgCLcBGAsYHQ/s740/periodic-classification-of-elements-and-periodicity.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;periodic classification of elements and periodicity&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;740&quot; height=&quot;360&quot; src=&quot;https://1.bp.blogspot.com/-RLnj_vrqYsU/X5FSHhZm0nI/AAAAAAAAAU0/kmdu-YiUIVEJ2S7eWklt-Wi1H-uECTJdgCLcBGAsYHQ/w640-h360/periodic-classification-of-elements-and-periodicity.jpg&quot; title=&quot;periodic classification of elements and periodicity&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;Periodic Classification of Elements and Periodicity &lt;/b&gt;| Short Questions and Answers.&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;This post is about&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;FSc. Part-II Chemistry&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Chapter No.1&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;The following&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;objective&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;q&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;font-style: italic;&quot;&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;i&gt;and&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;answers are&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;very important and conceptual for&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;2nd Year, Chemistry&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, for the final&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.1:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Periodic Classification of Elements and Periodicity&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Why ionic radii of anions are larger than their parent atoms?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;There are the following reasons:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Incoming electron is accommodated in the new shell thus increasing the orbit and therefore size increases.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;There is decrease in the nuclear charge.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If the incoming electron enters the outermost orbit which has already electrons, the orbit will expand. For example, the atomic radius of F is 64 Pm while the ionic radius of `F^-` is 136 Pm.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Why ionization energy decreases down the group?&lt;/span&gt;&lt;br /&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;It is due to:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;There is increase in the atomic size down the group, the hold of the nucleus on the electrons decreases.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Shielding effect also increases.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: Why ionization energy increases along the period?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Along the period, there is decrease in the atomic size, hold of the nucleus on the electrons increase.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Nuclear charge increases.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: why d and f block elements are called transition elements?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The elements of d and f block are in between s and p block elements. Their properties show a transition in systematically and they vary from left to right.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: What is law of octaves?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Newland in 1864 classified 62 elements on the basis of their increasing atomic masses. According to Newland, “every eighth element has properties similar to the first one if they are arranged according to increasing atomic masses”.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: What is Mendleev’s periodic law?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;If the elements are arranged according to their ascending atomic masses, they show periodicity (repetition of physical and chemical properties after regular intervals) in the properties. It is called periodic law.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.7: What is modern periodic law?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;According to Mosley (1913), if elements are arranged according to their ascending order of atomic numbers then chemical properties repeat in the periodic manner. It is called modern periodic law.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.8: Why the size of cation is smaller than its parent element?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;When an electron is removed from the valence shell there is increase in the nuclear charge.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The size of atom reduces. For example, atomic radius of Na 157 Pm ionic radian of `Na^+` is 95 Pm.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: `Na^+`, `Mg^{+2}`, `AI^{+3}` are isoelectronic in nature. Do these ions have same ionic radii?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;`Na^+`, `Mg^{+2}`, `AI^{+3}` all have 10 electrons in their valence shells but their ionic radii are not same. Ionic radii decrease due to increase in the nuclear charge from left to right. `Na^+` has 11 P, `Mg^{+2}` has 12 P and `AI^{+3}` has 13 protons in it.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Why second ionization energy is greater than first ionization energy?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The amount of energy required to remove electron from an atom in the gaseous state is called first ionization energy.&lt;br /&gt;The amount of energy required to remove second electron from mono-positive ion is called second ionization energy. Second ionization energy is greater than first ionization energy due to increase in the nuclear charge. For example:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;`Mg\rightarrow Mg^{+1}+1\bar{e}`&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;(I.E = 738 kJ/mol)&lt;br /&gt;`Mg^{+1}\rightarrow Mg^{+2}+1\bar{e}`&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;(I.E = 1451 kJ/mol)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.11: How the classification of elements in different blocks helps in understanding their chemistry?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;This classification is based upon the valence orbital of the element involved in chemical bonding. So this classification is quite useful in understanding the chemical properties of elements especially the concept of valency as oxidation state.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Why ionization energy decreases down the group and increases along period?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;As we know that:&lt;br /&gt;Ionization energy `\propto` Nuclear charge `\propto\frac{1}{&quot;Atomic Size&quot;}`&lt;br /&gt;As we go down the group the atomic size increases which results as the decrease in nuclear due to which ionization energy decreases down the group.&lt;br /&gt;While moving from left to right in a period, the nuclear charge increases and atomic size decreases which makes the removal of electron difficult and hence the value of ionization energy increases.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.13: Why the second value of electron affinity of an element is usually shown with a positive sign?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;When a second electron is added to a uni-negative ion, the incoming electron is repelled by the already present negative charge and energy is absorbed in this process so, it is usually shown with a positive sign.&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: Why metallic character increases from top to bottom in a group of metals?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Metallic character increases from top to bottom in groups due to increase in size of atom and ease to remove electrons.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Why the oxidation state of noble gases is usually zero?&lt;/span&gt;&lt;br /&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Noble gases consist of He, Ne, Ar, Kr, Xe and Rn. Their atomic numbers are 2, 10, 18, 36, 54 and 86 respectively. As the oxidation state of an element usually depends on the number of electrons which it contributes in bond formation. Noble gases have completely filled outermost shell and they have zero oxidation state.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: normal; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;margin: 6pt 0in 0in;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; line-height: 17.12px;&quot;&gt;The remaining short questions and answers of this chapter will be published soon Insha Allah.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/09/periodic-classification-of-elements-and-periodicity-quiz-mcqs.html&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Attempt MCQs | Quiz of FSc. Part-II, Chemistry Chapter No.1:&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;text-align: left;&quot;&gt;Periodic Classification of Elements and Periodicity&lt;/b&gt;&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;p style=&quot;margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/div&gt;                                                                                                                 &lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/7139673260255851500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/periodic-classification-of-elements-short-questions.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7139673260255851500'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/7139673260255851500'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/periodic-classification-of-elements-short-questions.html' title='Periodic Classification of Elements and Periodicity | Short Questions'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-RLnj_vrqYsU/X5FSHhZm0nI/AAAAAAAAAU0/kmdu-YiUIVEJ2S7eWklt-Wi1H-uECTJdgCLcBGAsYHQ/s72-c/periodic-classification-of-elements-and-periodicity.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-3968811957631778111</id><published>2020-10-20T12:37:00.003+05:00</published><updated>2020-10-27T13:27:26.146+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12BioSQ"/><title type='text'>Homeostasis | Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-BkObZ-mFs9E/X46OzDUS4BI/AAAAAAAAAUc/GLj5syprWqQAfjAacxmE-Cm4zAehbw6pQCLcBGAsYHQ/s740/fsc-part-ii-homeostasis-short-questions-and-answers.webp&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-BkObZ-mFs9E/X46OzDUS4BI/AAAAAAAAAUc/GLj5syprWqQAfjAacxmE-Cm4zAehbw6pQCLcBGAsYHQ/s740/fsc-part-ii-homeostasis-short-questions-and-answers.webp&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;fsc part-ii homeostasis short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;740&quot; height=&quot;360&quot; src=&quot;https://1.bp.blogspot.com/-BkObZ-mFs9E/X46OzDUS4BI/AAAAAAAAAUc/GLj5syprWqQAfjAacxmE-Cm4zAehbw6pQCLcBGAsYHQ/w640-h360/fsc-part-ii-homeostasis-short-questions-and-answers.webp&quot; title=&quot;fsc part-ii homeostasis short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div&gt;&lt;p&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Homeostasis | Short Questions and Answers.&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;This post about&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;FSc. Part-II Biology&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;Chapter No.15: (Homeostasis)&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;The following&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;objective&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;q&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;font-style: italic;&quot;&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;i&gt;and&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;answers are&lt;/i&gt;&lt;/span&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;very important for&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;2nd Year, Biology&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;, for the final&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;text-align: justify;&quot;&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.15: Homeostasis&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Compare the controlling system of refrigerator with the controlling system of man?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The thermometer of the refrigerator acts as a receptor of man. The thermostat acts are the control center of man. And its cooler or heater acts as effecter of man.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Why do some marine fishes retain trimethylamine oxide instead of urea?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Urea is harmful in high concentrations. So, these fish retain another chemical called trimethylamine oxide. This compound protects the fishes against the harms of urea.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: How cactus is able to survive in dry conditions?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Cacti shed their leaves during the dry seasons. Therefore, transpiration is stopped completely. They have stem as their photosynthetic organ. Their stem store water in the rainy season and use it in dry condition.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: Why do animals living in low supply of water secrete urea?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Ammonia cannot be kept as an excretory product in a low supply of water. So, it is changed into a less toxic substances like urea. Urea requires only 50 ml of water for the removal of 1 gm of nitrogen.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: What is deamination? Which compound is produced during deamination?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The catabolism of amino acid release amino group (-NH2) during deamination.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.6: How does skin act as an organ of the thermoregulation in mammals?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; In the case of overproduction of heat, the blood supply is increased to the exposed surface area of skin. So, heat is dissipated and the temperature is lowered by evaporative cooling. Thus, the skin of the mammals acts as an organ of thermoregulation.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: What is a counter-current mechanism?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The opposite flow of adjacent fluid that maximizes the transfer rate is called the counter current mechanism.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Why do biologists face difficulties in the use of the old temperature classification system of animals?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; It is observed that deep-sea fishes have constant natural surroundings. Thus, their body temperature remains constant. Lizard regulates their body temperature. The temperature of numerous birds and mammals change also.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: Define homeostasis?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The protection of the internal environment from the harms of fluctuations in the external environment is termed as homeostasis.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Define osmoregulation?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; It is the regulation of water and solutes between organisms and their environment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What is haemodialysis?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;In haemodialysis blood is circulated through a dialyzer called an artificial kidney. The dialyzer has two spaces separated by a thin membrane. Blood passes from one side of the membrane and dialysis fluid in the other. The wastes and excess water pass from the blood through the membrane into the dialysis fluid.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: What are heterotherms?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Heterotherms are those animals that are capable of varying degree of endothermic heat production but generally do not regulate their body temperature within the narrow range e.g. bats, humming bird etc.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: What are pyrogens? Or What is pyrexia?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;In bacterial and viral infections, leukocytes increase in number. These pathogens and the blood cells produce chemicals called pyrogens. Pyrogens displace the set point of hypothalamus above the normal point of `37^\circ C `.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: Name the excretory structures in the animal Kingdom that are associated with the digestive tract?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Malpighian tubules in insects are found to be associated with the digestive tract.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Define excretion?&lt;br /&gt;&lt;/span&gt;Answer:&lt;/b&gt;&lt;br /&gt;The mechanism which eliminates nitrogenous waste is referred to as excretion.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.16: Define thermoregulation?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The maintenance of internal temperature within a tolerable range is designated as thermoregulation.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.17: What is hypotonic environment?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;When the external environment has more water or a diluted solution compared to the cell concentration, it is designated as a hypotonic environment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.18: What is hypertonic environment?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;When there is more concentrated external environment or solution than cell concentration it is termed as hypertonic environment.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.19: What is isotonic environment?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;When external solution concentration resembles to the internal solution, it is known as isotonic environment.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.20: What are hydrophytes?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Hydrophytes have the adaptations to remove the flooding of its cells in freshwater. In this type, the surface area of leaves is very large to transpire water excessively. Extensive stomata are present on the upper surface facing the atmosphere to promote loss of water, for example, water lilies.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.21: What are mesophytes?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Mesophytes have moderate water availability. In cases of sufficient supply of water stomata are kept open to promote loss of excess water, however, in restricted supply stomata close to prevent the loss, for example rose, mango, brassica, etc.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.22: What are xerophytes?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Xerophytes have adaptations for a reduced rate of transpiration. Many possess small, thick leaves. Their cuticle is thick, waxy, and leathery. Stomata are on the lower surface of leaves and located in a depression. In the rainy season, they store water for use in dry conditions e.g. cactus.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.23: In what form nitrogen is excreted by animals?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Mostly excess nitrogen is excreted by animals as ammonia, urea, or uric acid. Lower quantities of nitrogen are excreted in the form of creatinine, creatine, or trimethylamine oxide and in very small quantities as amino acids, purine, and pyrimidine.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.24: What is metanephridium?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The earthworm is the ideal example of tubular excretory system called metanephridium. This system has an internal ciliated opening nephrostome which is immersed in coelomic fluid and enveloped by a network of capillaries. Nephrostome collects coelomic fluid.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.25: What are malpighian tubules?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Terrestrial arthropods particularly in the insects, the excretory structures are adapted to collect excretory products from hemolymph in sinuses through suspended tubular structures called malpighian tubules.&lt;/span&gt;&lt;/div&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of Chapter No.15 (&lt;i&gt;Homeostasis&lt;/i&gt;) will be uploaded soon Insha Allah.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/07/2nd-year-bio-homeostasis-quiz-part-1.html&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of FSc. Part-II, Biology Chapter No.15&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/3968811957631778111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/homeostasis-short-questions-and-answers.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/3968811957631778111'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/3968811957631778111'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/homeostasis-short-questions-and-answers.html' title='Homeostasis | Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-BkObZ-mFs9E/X46OzDUS4BI/AAAAAAAAAUc/GLj5syprWqQAfjAacxmE-Cm4zAehbw6pQCLcBGAsYHQ/s72-c/fsc-part-ii-homeostasis-short-questions-and-answers.webp" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-6934242033572477105</id><published>2020-10-13T11:30:00.029+05:00</published><updated>2020-11-06T15:04:35.017+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12ComSQ"/><title type='text'>Getting Started With C | Short Questions and Answers</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-1w-gaSvxp04/X4fbZmkgFkI/AAAAAAAAAUI/szlkBm-0EU8wA_ybPCWTpweWehMuKCWSQCLcBGAsYHQ/s720/ics-part-ii-getting-started-with-c-short-questions-and-answers.webp&quot; style=&quot;display: none;&quot; /&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-1w-gaSvxp04/X4fbZmkgFkI/AAAAAAAAAUI/szlkBm-0EU8wA_ybPCWTpweWehMuKCWSQCLcBGAsYHQ/s720/ics-part-ii-getting-started-with-c-short-questions-and-answers.webp&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;ics part ii getting started with c - short questions and answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;720&quot; height=&quot;370&quot; src=&quot;https://1.bp.blogspot.com/-1w-gaSvxp04/X4fbZmkgFkI/AAAAAAAAAUI/szlkBm-0EU8wA_ybPCWTpweWehMuKCWSQCLcBGAsYHQ/w640-h370/ics-part-ii-getting-started-with-c-short-questions-and-answers.webp&quot; title=&quot;ics part ii getting started with c - short questions and answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Getting Started With C | Short Questions and Answers. &lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;This post about &lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;ICS Part-II Computer Science &lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;|&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;Chapter No.8: Getting Started with C&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;.&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;The following&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;q&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;b style=&quot;font-style: italic;&quot;&gt;uestions&amp;nbsp;&lt;/b&gt;&lt;i&gt;and&amp;nbsp;&lt;/i&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;answers &lt;/i&gt;(&lt;b&gt;objective&lt;/b&gt;)&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;is very important for &lt;/span&gt;&lt;i style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;b&gt;2nd Year, Computer Science&lt;/b&gt;&lt;/i&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;, for the final&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;/p&gt;&lt;p style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: inherit; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Chapter No.8: Getting Started With C&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span&gt;Short Questions and Answers - 1&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: What is a computer program.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; A well-defined set of instructions given to the computer is called a computer program. A computer program is written in a programming language.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.2: Describe the history of the C language.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The C programming language was developed by Dennis Ritchie in 1972 in 1972 at AT &amp;amp; T Bell Laboratories. It was derived from an earlier programming language named B. The B was developed by Ken Thompson in 1969-70 and provided the basis for the development of C.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.3: What is the specialty of C language?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The C was originally designed to write system programs under UNIX operating system. But over the years its power and flexibility have made it popular in the industry for a wide range of applications.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.4: What is the name of the earlier version of C?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The earlier version of C was known as K&amp;amp;R (Kernighan and Ritchie) C. As the language further developed, the ANSI (American National Standard Institute) developed a standard version of the language known as ANSI C.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.5: What is an IDE?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Turbo C++ (TC) provides a complete IDE (Integrated Development Environment) to create, edit, and save programs is called TC editor. It also provides a powerful debugger that helps in detecting and removing errors in the program.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.6: How to create a new C program in Turbo C++ IDE?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; To write the new C program, open the edit window of the Turbo C++ IDE. This can be done by selecting File | New option from the menu bar. A window appears on the screen and the cursor inside the window represents the starting point to write a program.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.7: How to save a C Program?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;To save a C program can be done by selecting File|Save command from the menu bar or pressing the F2 key, a dialogue box will appear. At the top of this dialogue box, there is a text box with the caption Save File As. Type the name of the file in it and press Enter key.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.8: What is the default name of C++ program and how to change the name of C file and its path?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; The Turbo C++ (TC) assigns a default name NONAME00.cpp to the file. To save the file in a specific folder/location with a different file name, one has to specify the absolute path.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.9: Why C program is saved with .c extension?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;When a C program is saved with .c extension, the Turbo C++ compiler restricts it to only use standard features of C.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.10: What is a program compiling?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt; Program compiling is a process of translation of the source program into an object program with .obj extension. To invoke compiling, select Compile|Compile from the menu bar or press Alt+F9 key. If there is no error in the source code, the program will be translated to the object program successfully otherwise, the compiler will report error in the program.&lt;br /&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.11: Differentiate between source code and object code?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The program is written in any high-level programming language, such as C, is called source code.&lt;br /&gt;The compiler produces an object program from the source program is called object code.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: Define the linking process?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Linking is the process in which the object the file produced by the compiler is linked to many other library files by the linker and produces an executable file with .exe extension.&lt;br /&gt; &lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.13: What is the linker? And how to invoke it?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The linker is a program that combines the object program with additional object files that may be needed for the program to execute and save the final machine language program as an executable file on disk. In Turbo C++, the linker can be invoked by selecting Compile | Link from the menu bar.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.14: What do know about Loader?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;The loader is a program that places an executable file in memory. In Turbo C++, this is done by selecting Run | Run from the menu bar or pressing Ctrl + F9 key.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.15: How to see the program’s output screen?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt; &lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;To see the program’s output, select Windows | User screen or press Alt + F5 key.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.16: Define unstructured programming language?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;In unstructured programming languages, the entire logic of the program is implemented in a single module (function), which causes the program error-prone, difficult to understand, modify, and debug.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.17: Define structured programming language?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;In structured programming languages, the entire logic of the program is divided into a number of smaller modules, where each module (a piece of code) implements a different functionality.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.18: What is preprocessor directives?&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;Preprocessor directives are commands that give instructions to the C preprocessor. The preprocessor is a program that modifies the C program (source program) prior to its compilation. A preprocessor directive always begins with the symbol (#).&lt;br /&gt; For example: &amp;nbsp;&amp;nbsp;#include, #define&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 24px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;                                                                                                             &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;margin: 6pt 0in 0in; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;The remaining short questions and answers of Chapter No.8 (&lt;i&gt;Getting Started With C&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/06/2nd-Year-Chap-8-Quiz-Part-I.html&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of ICS Part-II, Computer Science Chapter No.8: Getting Started With C&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/6934242033572477105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/getting-started-with-c-short-questions.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/6934242033572477105'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/6934242033572477105'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/getting-started-with-c-short-questions.html' title='Getting Started With C | Short Questions and Answers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-1w-gaSvxp04/X4fbZmkgFkI/AAAAAAAAAUI/szlkBm-0EU8wA_ybPCWTpweWehMuKCWSQCLcBGAsYHQ/s72-c/ics-part-ii-getting-started-with-c-short-questions-and-answers.webp" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7853200920870873538.post-4540681225217496027</id><published>2020-10-09T12:20:00.005+05:00</published><updated>2020-10-27T13:27:44.979+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11ComSQ"/><title type='text'>ICS Part-I Computer Basics of IT | Short Question Answer</title><content type='html'>&lt;img src=&quot;https://1.bp.blogspot.com/-zR3fXYPzTyQ/X4AKQ-mMaQI/AAAAAAAAATg/5L7lBj_ix0MXhxYXQgnNWr7pElpfq8cJQCLcBGAsYHQ/s730/ics-part-1%2Bcomputer-basics-of-information-technology-short-questions-answers.jpg&quot; style=&quot;display: none;&quot; /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;a href=&quot;https://1.bp.blogspot.com/-zR3fXYPzTyQ/X4AKQ-mMaQI/AAAAAAAAATg/5L7lBj_ix0MXhxYXQgnNWr7pElpfq8cJQCLcBGAsYHQ/s730/ics-part-1%2Bcomputer-basics-of-information-technology-short-questions-answers.jpg&quot; style=&quot;display: block; padding: 1em 0px; text-align: center;&quot;&gt;&lt;img alt=&quot;ics part 1 computer basics of information technology short questions answers&quot; border=&quot;0&quot; data-original-height=&quot;416&quot; data-original-width=&quot;730&quot; height=&quot;365&quot; src=&quot;https://1.bp.blogspot.com/-zR3fXYPzTyQ/X4AKQ-mMaQI/AAAAAAAAATg/5L7lBj_ix0MXhxYXQgnNWr7pElpfq8cJQCLcBGAsYHQ/w640-h365/ics-part-1%2Bcomputer-basics-of-information-technology-short-questions-answers.jpg&quot; title=&quot;ics part 1 computer basics of information technology short questions answers&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;ICS Part-I Computer&amp;nbsp;&lt;/b&gt;&lt;b&gt;Basics of IT&lt;/b&gt;&amp;nbsp;|&amp;nbsp;&lt;b&gt;Short Question Answer&lt;/b&gt;.&amp;nbsp;The following&amp;nbsp;&lt;b&gt;q&lt;/b&gt;&lt;i&gt;&lt;b&gt;uestions&amp;nbsp;&lt;/b&gt;and&amp;nbsp;&lt;b&gt;answers&lt;/b&gt;&lt;/i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;are very important from&amp;nbsp;&lt;i&gt;&lt;b&gt;Chapter No.1 of ICS Part-I&lt;/b&gt;&lt;/i&gt;&amp;nbsp;|&amp;nbsp;&lt;i&gt;&lt;b&gt;1st Year, Computer Science&lt;/b&gt;&lt;/i&gt;, for the final&amp;nbsp;&lt;b&gt;&lt;i&gt;examinations&amp;nbsp;&lt;/i&gt;&lt;/b&gt;of all Boards of Punjab as well as Pakistan:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 24px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;h2 style=&quot;line-height: 36px; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;/h2&gt;&lt;h3 style=&quot;text-align: center;&quot;&gt;&lt;span&gt;&lt;span style=&quot;color: #990000; font-family: inherit;&quot;&gt;Chapter No.1: Basics of Information Technology&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Short Questions and Answers&lt;/span&gt;&lt;/h4&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.1: Define Information Technology?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Information Technology is the branch of computer science which deals with telecommunication. The technology developed by combining computing with high-speed telecommunication links for carrying data in the form of text, sound, images, videos, etc. is called information technology.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.2: Differentiate data and information? &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Data is a collection of facts. It is a raw material of information. The meaning conveyed by processed data is called Information. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.3: Define data processing?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Manipulation of data so that it becomes meaningful and useful is called data processing. It is also called computing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.4: What is meant by the global village?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Global Village means the entire world and its inhabitants. This term suggests that the information technology has “shrunk” the world. The world has become a “village” in which all people know each other as if they are living in a village.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.5: What is digital convergence?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;The integration of technologies and products of communications, entertainment, and publishing industries with the help of IT is called digital convergence.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.6: What are four elements of data processing system?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;The four elements of the data processing system include input, storage, processing, and output of data.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.7: Differentiate between hardware and software?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;By conventions, the machine (physical parts of computer) is called hardware whereas a program(s) is known as software which is used to perform a specific task.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.8: Define System Software?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;System Software is used to control the usage and allocation of different hardware components and enables the other application programs to execute. Examples of system software are operating systems, utility programs, and device drivers, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.9: What is application software?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Application software is the software that has been developed to solve a specific problem or to provide audio, video, or multimedia entertainment to the users. It may be categorized as under:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Custom-Built&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Packaged&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.10: Differentiate between custom-built and packaged software? &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Custom-built software that is designed and developed for a specific customer e.g. software for pharmacy or shopping center.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;Packaged software is the kind of off-the-shelf programs or components, designed and developed for the general public to sale, e.g. MS Word, MS Excel, Adobe and Oracle, etc. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.11: What is indirect input?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;In indirect input, the data is entered after intermediate handling. The most commonly used indirect input devices are keyboard and pointing devices.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.12: What is direct input?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot; style=&quot;line-height: 150%; margin-bottom: 0in; margin-left: 0in; margin-right: 0in; margin-top: 6.0pt; margin: 6pt 0in 0in;&quot;&gt;In direct input, the data is entered directly into the computer system from the source. Devices used for direct input are called source data entry devices. The most commonly used direct input devices are scanning devices, microphones, and digital cameras.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.13: What is the keyboard layout?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;The keyboard layout means the order/sequence of keys on the keyboard is called the keyboard layout. There are many types of keyboard layouts e.g. QWERTY and Dvorak and etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.14: Define the Numeric Keypad of the keyboard?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;Numeric keypad functions like a calculator. It has arithmetic operator keys +, -, *, and / that are used in arithmetic operations. The Numeric Keypad also has an extra Enter (Return) Key and Num Lock key. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.15: Define Enter Key?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;The Enter key is used to enter a command or input data in the computer using text editors and word processors. It is also called the Return key. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.16: What are the Function Keys?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;Function Keys from F1 to F12 perform special functions. Their functions depend on the software which is being used on the computer.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.17: What are Ctrl and Alt keys?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;Ctrl and Alt keys are always used in combination with other keys to execute special functions or commands. The use of these keys also depends upon the application software.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;Q.18: Differentiate between Backspace and Del keys?&lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;The Backspace key is used to delete the single character from the left side of the cursor on the screen whereas the Del key is used to delete the single-character form the right side of the cursor. &lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.19: What are Arrow Keys?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;Answer:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;Arrow Keys are also known as Navigation Keys, Cursor Control Keys. These are used to move the cursor Left, Right, Up, and Down on the screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;Q.20: What is a cursor?&lt;/b&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;&lt;b&gt;Answer:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt; &lt;p class=&quot;MsoNormal&quot;&gt;The cursor is the flashing indicator on the screen that shows where the next character will be inserted.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;NOTE:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;p style=&quot;margin: 6pt 0in 0in;&quot;&gt;&lt;b&gt;&lt;span style=&quot;line-height: 17.12px;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;The remaining short question and answers of Chapter No.1 (&lt;i&gt;Basics of Information Technology&lt;/i&gt;) will be published soon Insha Allah.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://www.studyspot.pk/2020/05/1st-Year-Computer-Chap-1-Quiz-Part-I.html&quot; target=&quot;_blank&quot;&gt;Attempt MCQs | Quiz of ICS Part-I, Computer Science Chapter No.1: Basics of Information Technology&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.studyspot.pk/feeds/4540681225217496027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.studyspot.pk/2020/10/ics-part-i-computer-basics-of-it-short.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/4540681225217496027'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/7853200920870873538/posts/default/4540681225217496027'/><link rel='alternate' type='text/html' href='https://www.studyspot.pk/2020/10/ics-part-i-computer-basics-of-it-short.html' title='ICS Part-I Computer Basics of IT | Short Question Answer'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://1.bp.blogspot.com/-zR3fXYPzTyQ/X4AKQ-mMaQI/AAAAAAAAATg/5L7lBj_ix0MXhxYXQgnNWr7pElpfq8cJQCLcBGAsYHQ/s72-c/ics-part-1%2Bcomputer-basics-of-information-technology-short-questions-answers.jpg" height="72" width="72"/><thr:total>4</thr:total></entry></feed>