wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CodeQuest-R1

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

The five elements of blockchain are distribution, encryption, immutability, tokenization and..

a)

Transparency

b)

Authorization

c)

Efficiency

d)

Decentralization

2.

What will be the size of the following union declaration?                  

struct test { int x;     char y;  float z;   };

a)

4

b)

5

c)

6

d)

7

3.

What is the output of this C code? #include void main() { int x=1,z=3; int y=x<<3; printf("%d\n",y); }

a)

-2147483648

b)

Runtime Error

c)

8

d)

-1

4.

For 16-bit compiler allowable range for integer constants is______?

a)

-3.4 e38 to 3.4e38

b)

-32767 to 32768

c)

-32668 to 32667

d)

-32768 to 32767

5.

What  will be the output of following C code? #include int main() { int k=8; int m=7; k

a)

Runtime error

b)

Compiletime error

c)

7

d)

8

6.

What will be the output of the following C code? #include <stdio.h> int main() { int a=2,b=0; int y=(b==0)?a:(a>b)?(b=1):a; printf("%d",y); }

a)

Compile time error

b)

one

c)

two

d)

Undefined behavior

7.

Which prestigious university did Microsoft founder Bill Gates drop out of?

a)

Cambridge

b)

Harvard

c)

Stanford

d)

Columbia

8.

Created in 1990, what was the name of the first internet search engine?

a)

Archie

b)

Web

c)

Google

d)

Explorer

9.

From 2017 onwards, how many characters long can tweets be?

a)

175

b)

200

c)

320

d)

280

10.

Originally Amazon only sold which product?

a)

Film cassette

b)

Books

c)

Games

d)

Furniture

11.

The CPU Chip used in a computer is made of which element?

a)

Nickel

b)

Zinc

c)

Copper

d)

Silicon

12.

The creation of cryptocurrency 'Dogecoin' was inspired by which of these creatures?

a)

Cat

b)

Monkey

c)

Dog

d)

Horse

13.

What is the name of the British computer scientist who invented the World Wide Web in 1989?

a)

Charles Babbage

b)

Alan Turing

c)

Tim Berners-Lee

d)

John McCarthy

14.

Bitcoin was launched in

a)

2018

b)

2015

c)

2011

d)

2009

15.

A blockchain is secured by

a)

PIN code

b)

Hash code

c)

password

d)

login

16.

Bitcoin derives value through which method?

a)

Collapse of national banks

b)

Insider dealing

c)

Scarcity

d)

ETF trading

17.

How does IP address looks like?

a)

216.27.61.137

b)

21.627.61.137

c)

2162.76.137

d)

2.16.27.61.137

18.

What was the first metaverse application?

a)

b)

c)

d)

19.

What will be the output of this? #include int main() { int a[]={2,3}; int b[]={4,6}; if(a) { int a=7; int b=8; printf("%d",a); } }

a)

7

b)

3

c)

8

d)

6

20.

What will be the output of the following C code?  #include void main() { int x=0; int ptr=&x; printf("%d\n",ptr); }

a)

Address of x

b)

Zero

c)

Junk Value

d)

Runtime Error