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 Chapter 1 Online Test MCQs With Answers
Question # 1
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 2
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 3
Which of the following are types of constant ?
Choose an answer
Integer constants
realconstants
characterconstants
all of these
Previous
Skip
Next
Question # 4
The ________ can be initialized at the time of declaration or after declaration:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 5
Which from the following describes the types of constant that can be stored in variable ?
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 6
In main function everything enclosed in:
Choose an answer
body
included files
curly braces
file
Previous
Skip
Next
Question # 7
How many parts C language program is divided ?
Choose an answer
1
3
2
4
Previous
Skip
Next
Question # 8
Multi-line comments start with;
Choose an answer
?* and end *?
/==/
/??/
/*and end at */
Previous
Skip
Next
Question # 9
These are the values including a decimal point:
Choose an answer
real constants
string constants
characterconstants
singleconstants
Previous
Skip
Next
Question # 10
Which language was developed by Dennis Ritchie ?
Choose an answer
Java
C
Python
COBOL
Previous
Skip
Next
Question # 11
Statements that are ignored by the compiler and do not get executed:
Choose an answer
read only
comments
enclosed in braces
curly braces
Previous
Skip
Next
Question # 12
How many bytes of memory is used by integer data type ?
Choose an answer
1
4
2
3
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