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 is wrong return statement.
Choose an answer
Return x
Return (x,y)
Retrun (4,5)
Both b and c
Previous
Skip
Next
Question # 2
_______ editor is a software that allows programmers to write and edit computer programs:
Choose an answer
text
ms word
notepad
power point
Previous
Skip
Next
Question # 3
Which operator is used to multiply two values ?
Choose an answer
+
*
%
!
Previous
Skip
Next
Question # 4
If there are three return statements in the function body, ..... of them will be executed.
Choose an answer
One
Two
Three
First and last
Previous
Skip
Next
Question # 5
Choose an answer
a++;
a--;
both (a) and (b)
none
Previous
Skip
Next
Question # 6
Using loops inside loops is called ................. loops
Choose an answer
For
While
Nested
Do- while
Previous
Skip
Next
Question # 7
scanf is a __________ in C programming language:
Choose an answer
keyboard
library
function
none of them
Previous
Skip
Next
Question # 8
The function which are defined by a programmer are called.
Choose an answer
Module
User -define
Routine
work
Previous
Skip
Next
Question # 9
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
Previous
Skip
Next
Question # 10
Which operator is used to assign a value to a variable ?
Choose an answer
Assignmentoperator
arithmeticoperator
logicaloperator
all of these
Previous
Skip
Next
Question # 11
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 12
The execution of program starts from:
Choose an answer
main section
headersection
header file
#include
Previous
Skip
Next
Question # 13
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Back