0% found this document useful (0 votes)
37 views2 pages

Computer 10th Test-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views2 pages

Computer 10th Test-2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

PAPER: COMPUTER SSC-II TEST-2 SESSION: (R &

T)
TIME: 80 Min TOTAL MARKS: 30 DATE: 23-
12-2024
NAME______________________________________________ ROLL

NO___________

SECTION-A
Q.1 Circle the correct option i.e A/B/C/D. Each part carries one mark. (05)

i. If, else if and switch are an example of _______ structure

a. sequence O b. loop O c. selection O d. All O

ii. Which of the following structures allows a choice among various options?

a. Sequence O b. Selection O c. Loop O d. Decision O

iii. OOP languages has the feature of

a. inheritance O b. encapsulation O c. Classes O d. all O

iv. _________ languages are machine independent

a. high level O b. machine O c. Assembly O d. none O

v. ______ is used to write small programs embedded in a web page.

a. c++ O b. Visual basic O c. Java O d. All O

SECTION-B

Q.2: Give short answers of the questions. (5x2=10)


i. Which of the following are valid C variables? Give the reason if not a valid variable.
Area, 5x, Sum, Net pay, Float, __Age, Else, Case, Size22.
ii. In your opinion which one is more efficient compiler or interpreter any why?
iii. What is the purpose of header files in C language?
iv. Differentiate b/w Source code and Object code.
v. Differentiate b/w string and character data.

SECTION-C
NOTE: Attempt all parts. (3x5=15)
Q.3 Explain pre-processor directive.
Q.4 Discuss syntax and semantics of language.
Q.5 What are the rules for specifying a variable name in C language?

You might also like