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
For initializing a variable, we use ________ operator:
Choose an answer
=
?
@
>
Previous
Skip
Next
Question # 2
Which are the values that do not change ?
Choose an answer
constants
variables
numeric
string
Previous
Skip
Next
Question # 3
A ________ must be declared before its use:
Choose an answer
character
data type
variable
constant
Previous
Skip
Next
Question # 4
Any single small case letter, upper case letter, digit, punctuation mark, special symbol enclosed within ' ' is considered:
Choose an answer
integerconstants
stringconstants
characterconstants
singleconstants
Previous
Skip
Next
Question # 5
__________ specifies the type of variable, the range of values allowed by that variable and the kind of operations that can be performed on it:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 6
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 # 7
In C language main() is a:
Choose an answer
function
code
editor
library
Previous
Skip
Next
Question # 8
_______ cannot be declared unless we mention its data type:
Choose an answer
variable
constant
string
declaring a variable
Previous
Skip
Next
Question # 9
Assigning value to variable for the first time is called:
Choose an answer
initiation
variable initialization
variable
string constant
Previous
Skip
Next
Question # 10
Programmers write computer programs in special languages called:
Choose an answer
general languages
programming languages
popper languages
constant
Previous
Skip
Next
Question # 11
Which is the starting point of the execution of the program ?
Choose an answer
main()
body()
end()
center()
Previous
Skip
Next
Question # 12
We need to declare a ________ before we can use it in the program:
Choose an answer
variable
constant
string
underscore
Previous
Skip
Next
Back