WorksheetsCodeQuest-R1
Total questions: 20
Worksheet time: 10mins
The five elements of blockchain are distribution, encryption, immutability, tokenization and..
Transparency
Authorization
Efficiency
Decentralization
What will be the size of the following union declaration?
struct test { int x; char y; float z; };
4
5
6
7
What is the output of this C code? #include void main() { int x=1,z=3; int y=x<<3; printf("%d\n",y); }
-2147483648
Runtime Error
8
-1
For 16-bit compiler allowable range for integer constants is______?
-3.4 e38 to 3.4e38
-32767 to 32768
-32668 to 32667
-32768 to 32767
What will be the output of following C code? #include int main() { int k=8; int m=7; k
Runtime error
Compiletime error
7
8
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); }
Compile time error
one
two
Undefined behavior
Which prestigious university did Microsoft founder Bill Gates drop out of?
Cambridge
Harvard
Stanford
Columbia
Created in 1990, what was the name of the first internet search engine?
Archie
Web
Explorer
From 2017 onwards, how many characters long can tweets be?
175
200
320
280
Originally Amazon only sold which product?
Film cassette
Books
Games
Furniture
The CPU Chip used in a computer is made of which element?
Nickel
Zinc
Copper
Silicon
The creation of cryptocurrency 'Dogecoin' was inspired by which of these creatures?
Cat
Monkey
Dog
Horse
What is the name of the British computer scientist who invented the World Wide Web in 1989?
Charles Babbage
Alan Turing
Tim Berners-Lee
John McCarthy
Bitcoin was launched in
2018
2015
2011
2009
A blockchain is secured by
PIN code
Hash code
password
login
Bitcoin derives value through which method?
Collapse of national banks
Insider dealing
Scarcity
ETF trading
How does IP address looks like?
216.27.61.137
21.627.61.137
2162.76.137
2.16.27.61.137
What was the first metaverse application?
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); } }
7
3
8
6
What will be the output of the following C code? #include void main() { int x=0; int ptr=&x; printf("%d\n",ptr); }
Address of x
Zero
Junk Value
Runtime Error
