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
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Question # 2
Which of the following is an example of IDE's for C language ?
Choose an answer
visual studio
Xcode
code::blocks
all of these
Previous
Skip
Next
Question # 3
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 4
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 5
The person who knows how to write a computer program correctly is known as:
Choose an answer
programmer
firmware
engineer
composer
Previous
Skip
Next
Question # 6
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 7
Which is used to convert high level programming language into machine language ?
Choose an answer
compiler
C language
code programming
internal programming
Previous
Skip
Next
Question # 8
________include specifying variable's data type and giving it a valid name:
Choose an answer
identifier
variable declaration
formula
constant
Previous
Skip
Next
Question # 9
How many types of constant ?
Choose an answer
3
1
2
4
Previous
Skip
Next
Question # 10
Which name must begin with a letter or an underscore, it cannot begin with a digit ?
Choose an answer
character
variable
constant
string
Previous
Skip
Next
Question # 11
Set of instruction given to the computer to perform a specific task is known as:
Choose an answer
computer program
software
both a and b
none of these
Previous
Skip
Next
Question # 12
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 # 13
Which is software that is responsible for conversion of a computer program written in some programming language to machine language code ?
Choose an answer
header
compiler
progammer
text editor
Previous
Skip
Next
Back