{"id":248,"date":"2023-01-09T16:47:55","date_gmt":"2023-01-09T16:47:55","guid":{"rendered":"https:\/\/aipsacademy.com\/blogs\/?p=248"},"modified":"2023-02-10T04:45:38","modified_gmt":"2023-02-10T04:45:38","slug":"11th-jac-computer-science-question-paper-2022","status":"publish","type":"post","link":"https:\/\/aipsacademy.com\/blogs\/2023\/01\/09\/11th-jac-computer-science-question-paper-2022\/","title":{"rendered":"11th JAC Computer Science Question Paper 2022"},"content":{"rendered":"\n<p class=\"has-text-align-center\"><strong>COMPUTER SCIENCE XI<\/strong><\/p>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\"><strong><u>2022<\/u><\/strong><\/h3>\n\n\n\n<p class=\"has-text-align-center\">Choose the correct alternative for the following:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;1*40=40<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"has-text-align-center wp-block-heading\">Term II Examination<\/h3>\n\n\n\n<p class=\"has-text-align-center\"><strong>Section A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2*5=10<\/strong><\/p>\n\n\n\n<p>1. Who developed C++, where and when?<\/p>\n\n\n\n<p class=\"has-black-color has-text-color\">Ans:- <strong>B Jarne Stroustrup at AT &amp; T Bell Laboratory in USA in 1980.<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>2. Define Token.<\/p>\n\n\n\n<p>Ans:- <strong>The Smallest individual unit of C++ Program is called Token.<\/strong><\/p>\n\n\n\n<p>3. Which header file will be required for the following built \u2013in function?<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>4. What data types would you use to represent the following terms?<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; i) The average marks in a class<\/p>\n\n\n\n<p>      Ans:- <strong>float<\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; ii) The number of students in a class<\/p>\n\n\n\n<p>Ans:- <strong>int <\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; iii) Name of a Student<\/p>\n\n\n\n<p>Ans:- <strong>char ar[10]<\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; iv)The population of a city<\/p>\n\n\n\n<p>Ans:- <strong>long<\/strong><\/p>\n\n\n\n<p>5. What will be the result of the following expressions when A=10?<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; i) X=++A*3<\/p>\n\n\n\n<p>Ans:- <strong>33<\/strong><\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; ii) X=A++ *5+2<\/p>\n\n\n\n<p>Ans:- <strong>52<\/strong><\/p>\n\n\n\n<p>6. Give any two examples of derived data type.<\/p>\n\n\n\n<p>Ans:- <strong>Array,Pointer<\/strong><\/p>\n\n\n\n<p>7. What will be the output of the following C++ code fragment ?<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; for(int I=1; I&lt;=10; I+=3)<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; {<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; cout&lt;&lt; I&lt;&lt;\u201d\\n\u201d;<\/p>\n\n\n\n<p>&nbsp;&nbsp; }<\/p>\n\n\n\n<p>Ans:- <\/p>\n\n\n\n<p><strong>1<\/strong><\/p>\n\n\n\n<p><strong>4<\/strong><\/p>\n\n\n\n<p><strong>7<\/strong><\/p>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p><strong>10<\/strong><\/p>\n<\/div><\/div>\n\n\n\n<p class=\"has-text-align-center\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;<strong>Section B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3*5=15<\/strong><\/p>\n\n\n\n<p>8. Differentiate between keyword and identifier.<\/p>\n\n\n\n<p>Ans: &#8211; <strong>Differences Between keyword and Identifier<\/strong><\/p>\n\n\n\n<p><strong>  Keywords:- It is a Reserve word that has fixed meaning that meaning can&#8217;t be changed. Example char , int , float ,long ,if , else , for, while etc&#8230; <\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Identifier:- It is a user defined word. like variable name,Array name, function name, class name etc<\/strong> <\/p>\n\n\n\n<p>9.What are fundamental and derived data types ? Explain with example.<\/p>\n\n\n\n<p>10.What is structure ? Give suitable example.<\/p>\n\n\n\n<p>11.What do you mean by unary, binary and ternary operators ? Explain by giving example.<\/p>\n\n\n\n<p>12. Differentiate between while and do while loops.<\/p>\n\n\n\n<p> Ans:- <\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>While Loop<\/strong><\/p>\n\n\n\n<p class=\"has-black-color has-text-color\"> It&#8217;s is Entry control Loop. It executes its body when specified condition is true.<\/p>\n\n\n\n<p> syntax <\/p>\n\n\n\n<p>while(test condition)<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>\/\/body of the loop<\/p>\n\n\n\n<p>}<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p class=\"has-vivid-red-color has-text-color\"><strong>do -while loop<\/strong><\/p>\n\n\n\n<p>While Loop It&#8217;s is Exit control Loop. It executes its body at least once whether specified condition is true or false.<\/p>\n\n\n\n<p> syntax <\/p>\n\n\n\n<p>do<\/p>\n\n\n\n<p>{<\/p>\n\n\n\n<p>\/\/body of the loop<\/p>\n\n\n\n<p>}while(test condition);<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>13.Name the jump statements provided by C++. Explain about any two.<\/p>\n\n\n\n<p>14. Write the purpose of the following functions:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; a) pow( )<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; b) isalpha( )<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp; c) strcmp( )<\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>&nbsp;&nbsp; Section C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;5*3=15<\/strong><\/p>\n\n\n\n<p>15.What are literals in C++ ? How many types of literals are allowed in C++ ?<\/p>\n\n\n\n<p>16. Explain any two of the following with reference to C++:<\/p>\n\n\n\n<p>&nbsp;&nbsp; i) Selection statement<\/p>\n\n\n\n<p>&nbsp;&nbsp; ii) Iteration statement<\/p>\n\n\n\n<p>17. Write a program in C++ to find the sum of the following series:<\/p>\n\n\n\n<p>&nbsp;&nbsp;&nbsp;&nbsp; Sum= 1+3+5+\u2026\u2026\u2026\u2026\u2026\u2026N<\/p>\n\n\n\n<p>18. Write a program in C++ to print the multiplication table of N.<\/p>\n\n\n\n<p>19. Explain switch statement with syntax and example.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2022\/08\/07\/hello-world\/\">12th Computer Science Important Program<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">C++ Programming <\/h4>\n\n\n\n<p><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/c-programming-language-tutorial\/\">C++ Programming Language Tutorial<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/translators-in-programming-languages\/\">Translators in Programming languages<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/tokens-in-c-programming-language\/\">Tokens in C++ Programming Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/operators-in-c-programming-language\/\">Operators in C++ Programming Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/conditional-statements-in-c-language\/\">Conditional statements in C++ Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/18\/switch-statement-in-c-language\/\">Switch Statement in C++ Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/loops-iteration-statement-in-c-language\/\">Loops \/ Iteration statement in C++ Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/jump-statements-in-c-with-best-example\/\">Jump statements in C++ with best example<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/arrays-in-c-programming-language\/\">Arrays in C++ Programming Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/functions-in-c-programming-language-2\/\">Functions in C++ Programming Language<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/passing-arguments-in-functions\/\">Passing Arguments in Functions<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/19\/method-function-overloading-in-c\/\">Method \/ Function overloading in C++<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/23\/string-functions-in-c-with-example\/\">String Functions in C++ with Example<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Boolean Algebra<\/h4>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/introduction-to-boolean-algebra-best-concepts\/\">Introduction to Boolean Algebra- Best concepts<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/important-law-of-boolean-algebra-with-best-concepts\/\">Important Law of Boolean algebra with Best concepts<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/logic-gates-and-their-types-best-concept\/\">Logic Gates and their types -Best Concept<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/de-morgrans-law-and-their-applications\/\">De Morgan\u2019s Law and their Applications<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/applications-of-boolean-algebra-in-computer-science\/\">Applications of Boolean Algebra in Computer Science<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">DBMS<\/h4>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/introduction-to-dbms-database-management-system\/\">Introduction to DBMS | Database Management System<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Communication and Network Concept<\/h4>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2023\/01\/08\/introduction-to-communication-and-networks\/\">Introduction to Communication and Networks<\/a><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">11th Computer Science<\/h4>\n\n\n\n<p><a href=\"https:\/\/aipsacademy.com\/blogs\/2022\/08\/21\/c-basic-program-for-11th-computer-science\/\">C++ Basic Program for 11th Computer Science<\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>COMPUTER SCIENCE XI 2022 Choose the correct alternative for the following:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;1*40=40 Term II Examination Section A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2*5=10 1. Who developed C++, where and when? Ans:- B Jarne Stroustrup at AT &amp; T Bell Laboratory in USA in 1980. 2. Define Token. Ans:- The Smallest individual unit of C++ Program is called Token. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":253,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7,6],"tags":[],"class_list":["post-248","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-11th-computer-science","category-cbse","category-jac"],"_links":{"self":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/comments?post=248"}],"version-history":[{"count":35,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/248\/revisions"}],"predecessor-version":[{"id":436,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/posts\/248\/revisions\/436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/media\/253"}],"wp:attachment":[{"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/media?parent=248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/categories?post=248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aipsacademy.com\/blogs\/wp-json\/wp\/v2\/tags?post=248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}