Professional Documents
Culture Documents
Test session
Subject: Computer Science Total Marks: 35
MCQs: (1x10=10)
1. Which cannot be variable name:
(a) x (b) c (c) _ (d) 3
2. Include statement are written in ______________
(a) Header (b) main (c) comment (d) prinf
3. _____________ are the values that do change during the execution of program is called:
(a) Constant (b) string (c) variable (d) comment
4. Floating point numbers contain memory of:
(a) 3 byte (b) 4 byte (c) 5 byte (d) 5 byte
5. For initializing a variable, we use ................. operator
(a) ? (b) @ (c) = (d)
6. The person who knows how to write a computer program correctly is known as a
(a) Language (b) Program (c) Computer programming (d) Programmer
7. Commonly known programming language
(a) Basic (b) c++ (c) python
8. ____________________ language is a case sensitive language.
(a) Java (b) C (d) python (d) None of these
9. Single line comments in C language start with
(a) // (b) /* (c) / (d) –
10. C programming language have a character set that includes:
(a) [A--------Z] , [a------------z] (b) [0-------9] (c) [<,/,@,#,> etc] (d) all of these
Short Questions: (2x7=14)
1. What is meant by program?
2. IDE has a GUI interface justify it?
3. What is meant by programming language? Is C a case sensitive language?
4. What are the purpose of comments?
5. What are the rules of naming variable?
6. How to initialize a variable with example?
7. Difference between constant and variable also name its types?
Long Questions: (5.5x2=11)
1. Write a program that declare variable of appropriate data types to store your personal data
initialize these values and also display on screen.
Initial letter of your name.
Initial letter of your gender
Your age
Your marks in class 8th
Your height
2. Explain the structure of Program with example?