Font size
WorksheetsC-Language Q1
Total questions: 30
Worksheet time: 10mins
C is called ______ level programming language
Low Level
High Level
Middle
NONE
what is BIOS?
Base of Inward Outward System
Basic Input Output Of the System
Bus interfae Operating System
Basic Input Output System
C- has ______ Keywords
28
32
4
12
Who is father of computers?
Charles Garbage
Charly's Babbage
Charles Babbage
NONE
Who is Mother of Computers?
Lady Love Lace Ada
Margaret Thacher
Kalpana Chawla
Elizabet
What compiler does?
converts HL code into LL code and doesn't save
converts LL code into HL code and saves
converts HL code into HL code and saves
converts HL code into LL code and saves
1 byte =
6 bits
8 bits
10 bits
12 bits
What is INTEL stands for in the company name intel?
Intermediate Electronics
Intelligent Electronics
Integrated Electronics
Industrial Electronics
which of the following is not auxiliary memory?
Pen Drive
Hard Disk
ROM
Memory Card
Which is the first HL programming Language ?
Python
C
Fortran
Proton
Conditions are developed using......
Arithmetic Operators
Logical Operators
Comparision Operators
Assignment Operator
what will be output of ....
printf("%d",10+5/2);
7.5
7
12
12.5
what will be output of....
printf(" %d ", 5.6 / 2.3);
2.5
2.2
2.8
0
the % (modulus) can be used with _____ data type
double
float
int
char
logical operators are used for......
developing conditions
combining conditions
using conditions
none of the above
what will be output of following code?
int a=25;
int b=a / 10 % 10;
printf("%d",b);
25
5
2
20
what wil be output of .....
a=5; b=10;
a=a+b;
b=a-b;
a=a-b;
printf("a=%d b=%d",a,b);
a=5 b=10;
a=10 b=10
a=5 b=5
a=10 b=5
what will be output of....
a=5; //line 2
6=b; //line 3
printf("sum is %d",a+b); //line 4
sum is 11
error at line 2
error at line 3
error at line 4
C has two compilers......
to provide security to low level code
to share burden
seconds runs if first won't run
to provide security to high level code
What is full form of ASCII?
American Suitable Code for Information Interchange
American Standard code for Interactive Information
American Standard code for Information Interaction
None of the above
the ascii range is .....
-32768 to 32767
-128 to 128
0-327
-128 to 127
what will be output of following code:
int a;
printf("%d",&a);
display garbage value
display address of a
display 5
none of the above
what will be output of ....
int a=32765;
printf("%d",a+5);
32770
-32768
-32766
32766
printf("%d",08);will display....
8
08
10
error
if(a>b)
printf("hi");
else;
printf("hello");
if given input is 15 & 10 what will be output?
hi
hello
hi hello
ERROR
if(a>b);
printf("a is big");
else
printf(" b is big");
if input is 5 & 10 what is output?
5
10
5 10
error
Which is called a conditional operator in C?
>
==
? :
NONE
choose all correct statements ......
C is not low level language
C is developed on unix
unix is developed in C
none of the above
what is main()?
its a function call
user defined function
pre defined function
library function
WHT WILL BE OUTPUT OF ...
printf("%c", 'A'+7);
h
A
H
Error
