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
10th Class Computer Science Unit 1 Programming Techniques English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Words which have predefined meaning is known as:
Choose an answer
reserved words
keywords
both a and b
syntax
Previous
Skip
Next
Question # 2
Includes statements are written in ________ section:
Choose an answer
header
main
comments
print
Previous
Skip
Next
Question # 3
In C language main() is a:
Choose an answer
function
code
editor
library
Previous
Skip
Next
Question # 4
If the value is not proceeded by a sign, it is considered:
Choose an answer
negative
positive
module
single constants
Previous
Skip
Next
Question # 5
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 6
To declare character type variables in C, we use the keyword:
Choose an answer
int
char
float
positive
Previous
Skip
Next
Question # 7
Which can be thought of as grammar of a programming language ?
Choose an answer
syntax
rules
english
programming
Previous
Skip
Next
Question # 8
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
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 extension is used to save C language program ?
Choose an answer
.doc
.c
.xls
.dat
Previous
Skip
Next
Question # 11
Which header file contains all predefined mathematical functions ?
Choose an answer
math.h
stdio.h
strin.h
c.h
Previous
Skip
Next
Question # 12
Header files have extension:
Choose an answer
.c
.h
.doc
.ppt
Previous
Skip
Next
Back