More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science 10th Class English Medium Online Test MCQs With Answers
Question # 1
Which operator takes two Boolean expression as operands and produces the result true if both of its operands are true ?
Choose an answer
Previous
Skip
Next
Question # 2
Which is a combination of backslash (\) and a code character to control printing of data on the screen ?
Choose an answer
escape sequence
format specified
character
printing
Previous
Skip
Next
Question # 3
In If statement, what happens if condition is false ?
Choose an answer
program crashes
index out of bound error
further code executes
compiler asks to change condition
Previous
Skip
Next
Question # 4
An if statement inside another if statement is called _______ structure:
Choose an answer
nested
boxed
repeated
decomposed
Previous
Skip
Next
Question # 5
Words which have predefined meaning is known as:
Choose an answer
reserved words
keywords
both a and b
syntax
Previous
Skip
Next
Question # 6
Array elements are stored at _________ memory locations:
Choose an answer
contiguous
scattered
divided
none
Previous
Skip
Next
Question # 7
Dividing the program into multiple functions improves the ....... of the program.
Choose an answer
Readability
Open
Read
Write
Previous
Skip
Next
Question # 8
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Question # 9
Which operator assigns the result of expression on right side to the variable on left side ?
Choose an answer
==
=
*
( )
Previous
Skip
Next
Question # 10
Header files have extension:
Choose an answer
.c
.h
.doc
.ppt
Previous
Skip
Next
Question # 11
Which operators compare two values to determine the relationship between values ?
Choose an answer
assignment
arithmetic
logical
relation
Previous
Skip
Next
Question # 12
Char cd () { return 'a} , in this function " char" is............
Choose an answer
Bodies
Return type
Array
Arguments
Previous
Skip
Next
Question # 13
A __________ has a graphical user interface (GUI), meaning that a user can interact with it using windows and buttons to provide input and get output:
Choose an answer
IDE
programming
constant
EDA
Previous
Skip
Next
Back