This document outlines a computer test for Class XII students with 3 sections:
Section A contains 6 multiple choice questions testing knowledge of C and C++ languages. Section B contains 6 short answer questions defining key C programming concepts. Section C contains 2 long answer questions, one requiring description of programming errors and the other describing control structures in detail. The test is 45 minutes long and worth a total of 20 marks.
This document outlines a computer test for Class XII students with 3 sections:
Section A contains 6 multiple choice questions testing knowledge of C and C++ languages. Section B contains 6 short answer questions defining key C programming concepts. Section C contains 2 long answer questions, one requiring description of programming errors and the other describing control structures in detail. The test is 45 minutes long and worth a total of 20 marks.
This document outlines a computer test for Class XII students with 3 sections:
Section A contains 6 multiple choice questions testing knowledge of C and C++ languages. Section B contains 6 short answer questions defining key C programming concepts. Section C contains 2 long answer questions, one requiring description of programming errors and the other describing control structures in detail. The test is 45 minutes long and worth a total of 20 marks.
Q.1. Choose the correct answers from the following.
1. C is traditionally called the development language of the
a) Windows 98 operating system c) UNIX operating system b) Ms. Word d) Windows NT operating system 2. In 1983 C++ WAS DEVELOPED BY Bjarne stroustrup at the a) Bell laboratories c) IBM b) U.S Defence Department d) Microsoft 3. Borland International Inc., USA released its own version of C++ in 1992 and called its complier as a) Turbo C++ c) Super Soft C++ b) R&K C++ d) DBS C++ 4. All C programs consist of one or more a) Functions c) Printf () statement b) Scanf () statements d) Pointers 5. At a minimum all C programs must specify one function called a) Basic function c) Main function b) Elementary function d) Primary function 6. You begin in comment with the characters a) */ b) /* c) \* d) *\ SECTION B
Q.2.Attempt any 4 questions.
i. Define basic structure of c program? ii. Define statement terminator? iii. Define IDE? iv. Define any 3 escape sequence with examples? v. Define comment in c language. Explain with example. vi. Write difference between source program and object program.
SECTION C
Q.3. Attempt any 1 question:
i. Define programming errors and its types. ii. Describe control structure in detail