Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Quiz - 1

Total questions: 8

Worksheet time: 4mins

Name
Class
Date
1.

C language was developed by?

a)

Charless babbage

b)

Guindo Van Rossum

c)

Dennis Ritchie

d)

Tom Cruise

2.

Java was developed at

a)

Sonic Solutions

b)

Sun Microsystems

c)

Tata Consultancy Services

d)

Centrum Wiskunde & Informatica

3.

Python is a/an

a)

Object Oriented Language

b)

Interpreter

c)

High-level

d)

All of the above

4.

#include <stdio.h>

int main() {

int num = 5;

printf("%d", num++ * 2);

return

0;

}

a)

11

b)

10

c)

10.000000

d)

9

5.

Correct the syntax of for loop if it's wrong

For(I=0;I<6;;I++)

a)

For(I=0:I<6;I++)

b)

for(I=0;i<6;I++)

c)

For(I=0;i<6;I++)

d)

for(I=0;I<6;I++)

6.

What C library should be included for the dynamic memory allocation?

a)

stdio.h

b)

stdlib.h

c)

conio.h

d)

iostream.h

7.

#include <stdio.h>

int main() {

int a = 5;

int b = 10;

int c = a++ + b--;

printf("%d", c);

retu

rn 0;

}

(a)  

8.

#include <stdio.h>

int main() {

int x = 5;

int y = 3;

int z = x % y;

printf("%d", z);

return 0;

}

(a)