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
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 2
Header files have extension:
Choose an answer
.c
.h
.doc
.ppt
Previous
Skip
Next
Question # 3
Main section consists of a __________ function:
Choose an answer
main()
body()
both a and b
center()
Previous
Skip
Next
Question # 4
_________ includes specifying its data type and giving it a valid name:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 5
These are the values including a decimal point:
Choose an answer
real constants
string constants
characterconstants
singleconstants
Previous
Skip
Next
Question # 6
Floating point numbers store numbers up to:
Choose an answer
seven digits of precision
eightdigits of precision
tendigits of precision
sixdigits of precision
Previous
Skip
Next
Question # 7
Header file is started from _______ symbol:
Choose an answer
#
$
&
=
Previous
Skip
Next
Question # 8
Every programming language has some primitive building blocks and follows some grammar rules known as its __________:
Choose an answer
programming rules
syntax
building blocks
semantics rules
Previous
Skip
Next
Question # 9
Single-line comments start with:
Choose an answer
//
==
??
&&
Previous
Skip
Next
Question # 10
Computer programs are written in languages called:
Choose an answer
developer
software
engineer
programming languages
Previous
Skip
Next
Question # 11
____________ can be thought of as a container to store constants:
Choose an answer
box
jar
variable
collection
Previous
Skip
Next
Question # 12
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
Back