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 of the following is a valid character ?
Choose an answer
'here'
"a"
'9'
none of them
Previous
Skip
Next
Question # 2
Which error if proper syntax or rules of the programming language are not followed ?
Choose an answer
logical error
runtimeerror
englisherror
syntaxerror
Previous
Skip
Next
Question # 3
__________ means to transfer the control to another function.
Choose an answer
Calling
Defining
re-writing
Including
Previous
Skip
Next
Question # 4
The values passed to a function are called.
Choose an answer
Built -in
return type
Array
Arguments
Previous
Skip
Next
Question # 5
Which of the following are advantages of using functions.
Choose an answer
Reusability of code
Separation of tasks
Readability of code
All of these
Previous
Skip
Next
Question # 6
A float uses __________ bytes of memory:
Choose an answer
4
3
5
6
Previous
Skip
Next
Question # 7
Which operators are used to perform arithmetic operations on data ?
Choose an answer
assignmentoperator
arithmeticoperator
logicaloperator
relational operators
Previous
Skip
Next
Question # 8
A set of multiple instructions enclosed in braces is called a _______:
Choose an answer
box
block
list
job
Previous
Skip
Next
Question # 9
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 10
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Question # 11
Which escape sequence specifies the I/O function of moving to the next tab stop horizontally ?
Choose an answer
\c
\t
\n
\r
Previous
Skip
Next
Question # 12
Escape sequences are used in printf function inside the:
Choose an answer
"and"
'and'
:and:
,and;
Previous
Skip
Next
Question # 13
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Back