Computer (X)
Computer (X)
Note: Do not write the questions. Write only the answer. Attempt all
the questions.
Q.1 Choose the correct answer for each from the given options.
(a) Syntax error (b) Semantic error (c) Runtime error (d) Logical error
(a) Character (b) Integer (c) Floating point (d) Double Floating point
1
(a) > (b) << (c) >> (d) <
(a) Backdrop Tab (b) Costume Tab (c) Script Tab (d) Control Tab
12) cout<<(912-666)/6;
Note: Answer any EIGHT (8) questions from this section. All
questions carry equal marks. (3 marks each)
OR
OR
2
List any three advantages of using an IDE.
OR
cout<<”/n/t”<<(a!=b)<<endl;
cout<<”/n/t”<<(a==b)<<endl;
cout<<”/n/t”<<(a>=b)<<endl;
Return 0; }
OR
OR
OR
Briefly overview the Stage Preview Window and Script Area in Scratch?
3
Q10: Differentiate between Linear and Non-Linear data structure
OR
Motion
Events
Control
Look
OR
Q12: Can we use “While” loop in place of “for” loop, if yes then how?
OR
Write a program that takes a number as input and print whether it is odd or
even.
OR
OR
OR
4
Explain the purpose of Default in C++.
Compiler
Interpreter
Syntax error
Logical error
Note: Attempt any Four (04) questions from this section. All
questions carry equal marks. (6 marks each)
Q17: Discuss any three of the following basic steps involved in finding a
solution for a problem-solving problem
OR
Design a flowchart that takes three numbers as input, calculate their sum
and percentage, and if percentage is above 70 then print “Well done”
otherwise “Work hard”.
AND Gate
NOR Gate
OR Gate
Q19: Define a Flowchart and illustrate the flowchart symbols along with their
name and description.
OR
5
Elaborate the increment and decrement operators, including examples for
both prefix and postfix forms.
Q20: Illustrate and explain the following concepts with the help of sketches.
OR
Y=A.B
Y=A.B.C.D
Y=(A+B)’
OR
Draw the Logic circuit of the following Boolean expression. (along with truth
tables of both).
Z=(A+B)’ + (A+B)’
Z=(A.B)’ . (A+B)’
AB+AB’=A
(A+B)+(A+B’)=A
OR