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 English Medium KPK Boards Online Mcqs MCQs With Answers
Question # 1
Which of the following is header file ?
Choose an answer
void main()
getch()
#include<stdio.h>
none of these
Previous
Skip
Next
Question # 2
Output of the function is called its.
Choose an answer
Return values
Input
Output
Reader
Previous
Skip
Next
Question # 3
Which of the following is used as an assignmentoperator in C language ?
Choose an answer
=
==
+
?
Previous
Skip
Next
Question # 4
________ are added in the source code to further explain the techniques and algorithms and by the programmer.
Choose an answer
messages
hints
comments
explanations
Previous
Skip
Next
Question # 5
Which is a built-in function in C programming language to show output on screen?
Choose an answer
printf()
scanf()
input
print
Previous
Skip
Next
Question # 6
After escape character, which specifies the movement of the cursor to start of next time ?
Choose an answer
n
b
d
c
Previous
Skip
Next
Question # 7
In which statement we specify a condition, and associate a code to it:
Choose an answer
selection
if
go to
loop
Previous
Skip
Next
Question # 8
Which format specifier is used for integer data type ?
Choose an answer
%d
%i
both a and b
none of these
Previous
Skip
Next
Question # 9
In escape sequence first character is always __________ and the second character varies according to the functionality that we want to achieve:
Choose an answer
back slash (\)
/
?
:
Previous
Skip
Next
Question # 10
Whihc of the following is a decision statement is called.
Choose an answer
Nested if
Simple if
Many if
Multiple if
Previous
Skip
Next
Question # 11
A ____ is a block of statements that gets some inputs and provides some output.
Choose an answer
Function
Program
Reader
Printer
Previous
Skip
Next
Question # 12
What is true about C language ?
Choose an answer
C is not a case sensitive language
keywords can be used as variable names
All logical operators are binary
none of them
Previous
Skip
Next
Back