Technical Quiz
Coding Round
Q1) What is the output of below C code?
main()
{
int i = 5;
i=(++i) / (i++);
printf("%d",i);
}
a) 2
b) 5
c) 1
d) 6
Answer: c
Q2) What is the output of below code?
main()
{
int h =5;
static char wer[] = "No Substitute for hard work";
printf("%-10.*s",h,wer);
}
a) No su
b)No Su
c) No Sub
d) error message
Answer: b
Q3) What is the output of below code?
main()
{
printf("tim");
main();
}
a) prints tim twice
b) keeps on printing tim
c) prints tim once
d) compiler error
Answer:b
Q4) In a 16-bit computer, what is the output of below code?
main()
{
int a =1;
printf("%u",~a);
}
a) 0
b)compiler error
c)1
d)65534
Answer: d
Q5) What is the output of below code?
void compute(int);
main()
{
int a =1;
compute(a);
printf("%d",a);
}
void compute( int a)
{
a=(a++)*(~a)/(a--);
}
(a) 131068
(b) 1
(c) compiler error
(d) 65534
Answer: b
Q6) What is the output of below code in JAVA?
class S
{
int x = 0;
S()
{
x++;
}
public static void main(String args[])
{
S s = new S();
System.out.println(s.x);
}
}
(a) 0
(b) 1
(c) compiler error
(d) Garbage value
Answer: b
Q7) What is the output of below code snippet in JAVA?
char word[]={'a','b','c','d','e'};
for(int i =0; i<4; i+=2)
System.out.println(word[i]);
(a) ace
(b) ac
(c) ab
(d) abe
Answer: b
Q8) What is the output of below code snippet in JAVA?
public static void main(String args[])
{
System.out.println(this);
}
(a) 0
(b) 1
(c) compiler error
(d) Garbage Value
Answer: c
Q9) What is the output of below code snippet in JAVA?
System.out.println(12<<2);
(a) 3
(b) 10
(c) compiler error
(d) 48
Answer: d
VISUAL ROUND
Q1) Name the browser that has this logo.
Answer: Microsoft Edge
Q2) Identify the American computer Scientist below.
Answer: Dennis Ritchie
Q3) Identify the hidden message in the below logo.
Answer: Cisco was founded in San Francisco, which explains the name.
The series of blue lines symbolise San Francisco’s iconic Golden Gate
Bridge
Q4) which company has this logo?
Answer: Kaspersky Antivirus
Q5) Identify the device?
Answer: Magnetic Tape Reader
Q6) Identify the adapter
Answer: Ethernet adapter (or) Network Interface Card (NIC)
Q7) Identify the icon
Answer: Universal Serial Bus (USB)
Q8) Identify the hidden message in the below logo
Answer: The ‘VA’ of the Sony VAIO logo has been made to look like an
analog signal and the ‘IO’ resembles numbers 1 and 0 which represents
a digital signal
Rapid Fire Round
Q 1) && have higher precedence than &
a) true
b) false
Answer: false
Q 2) What is the default value of local variable?
Answer: No Default Value
Q 3) Who is the founder of java?
Answer: James Gosling
Q 4) Who is the new CEO of Google?
Answer: Sundar Pichai
Q 5) When you are working on a document on PC, where is the document temporarily
stored?
Answer: RAM
Q 6) Information travels between components on the mother board through?
Answer: Buses
Q 7) Expand the term SUN in SUN Microsystems
Answer: 'STANFORD UNIVERSITY NETWORK'.
Q 8) Number of unique digits in binary number system is
Answer: two ( 0 and 1)
Q 9) The most frequently used instructions of a computer program are likely to be
fetched from
Answer: Cache memory
Q 10) ASCII stands for?
Answer: American Standard Code for Information Interchange
Q 11) Which access method is used for obtaining a record from a magnetic tape?
Answer: Sequential access
Q 12) A computer program that converts assembly language to machine language is
Answer: Assembler
Q 13) Who co-founded Hotmail in 1996 and then sold the company to Microsoft
Answer: Sabeer Bhatia
Q 14) What displays the content of the active cell in Excel?
Answer: Formula Bar
Q 15) The average time necessary for the correct sector of a disk to arrive at the read
write head is
Answer: Rotational Delay
Q 16) What does OCR stands for?
Answer: Optical character Recognition.
Q 17) Linux is a(n) ………………….. operating system.
Answer: open source
Q 18) The errors that can be pointed out by the compiler are
Answer: Syntax errors
Q 19) The tracks on a disk which can be accessed without repositioning the R/W
heads is
Answer: Cylinder
Q 20) Which is the first supercomputer developed by the Indian Scientists?
Answer: PARAM
Q 21) The symbols used in an assembly language are
Answer: Mnemonics
Q 22) What is the first ARPANET message
Answer: Lo
Q 23) What does T stands for in T flip-flop?
Answer: Toggle
Q 24) What does the "X" stand for in OS X?
Answer: Ten
Q 25) Abstract method can be in normal class . True (or) False
Answer: False
Q 26) What is the size of char in java?
Answer: 16 bits
Q 27) Switches operate in which layer of OSI model
Answer: Data Link Layer
Q 28) Following code will result in: int num = 6.7
Answer: Compilation error
Q 29) How many layers are there in TCP/IP model?
Answer: 5
Q 30) Expand the term JPEG
Answer: Joint Photographic Experts Group
Q 31) Expand the term DBMS
Answer: Database Management System
Q 32) Which CPU registers holds the address of the instructions (instructions in the
program stored in memory) to be executed next?
Answer: Program Counter (PC)
Q 33) Which protocol is used to receive email?
Answer: POP3
Q 34) Number of bits used for IPv4 address
Answer: 32 bit addresses
Q 35) Mac operating system is developed by which company?
Answer: Apple
Q 36) .tiff is an extension of which type of files?
Answer: POP3
Q 37) Number of bits used for IPv4 address
Answer: 32 bit addresses
Q 38) Which operating system is developed and used by Apple Inc in mobile phones?
Answer: iOS
Q 39) WhatsApp Inc is founded by?
Answer: Brian Acton and Jan Koum
Q 40) Who developed Linux operating system?
Answer: Linus Torvalds
Q 41) Bug means
Answer: A logical error in a program
Q 42) The step-by-step instructions that solve a problem is called _____.
Answer: An algorithm
Q 43) Which Key combination is used to close an open application in windows?
Answer: Alt+F4
Buzzer Round
1. First Search engine in internet?
a) google
b) Archie
c) Bing
d) Yahoo
Answer: b
2. Which one is the current fastest super computer in india?
a) PARAM padma
b) SAGA-220
c) CRAY3
d) PARAM Yuva II
Answer: d
3. In computer, Trojan refers to
a) Spyware
b) Malware
c) Virus
d) Worm
Answer: b
4. Which Key Combination is used to minimize all open windows displayed
on screen ?
a) Alt +M
b) CTRL+d
c) Shift+M
d) Window Key + d
Answer: d
5. Which company bought the popular video teleconferencing software
'Skype'?
a) Microsoft
b) Google
c) Accenture
d) Oracle
Answer: a
6. What file contains commands that configure systems devices in DOS ?
A. Command.com
B. Config.sys
C. Autoexec.bat
D. Win.ini
Answer: b
7. The part of machine level instruction, which tells the central processor
what has to be done, is
A. Operation code
B. Address
C. Locator
D. Flip-Flop
Answer: a
8. The process of transferring data intended for a peripheral device into a
disk (or intermediate store) so that it can be transferred to peripheral at a
more convenient time or in bulk, is known as
A. multiprogramming
B. spooling
C. caching
D. virtual programming
Answer: b
9. A system program that combines the separately compiled modules of
a program into a form suitable for execution
A. assembler
B. linking loader
C. cross compiler
D. load and go
Answer: b

Computer ScienceTechnical quiz

  • 1.
  • 2.
  • 3.
    Q1) What isthe output of below C code? main() { int i = 5; i=(++i) / (i++); printf("%d",i); } a) 2 b) 5 c) 1 d) 6 Answer: c
  • 4.
    Q2) What isthe output of below code? main() { int h =5; static char wer[] = "No Substitute for hard work"; printf("%-10.*s",h,wer); } a) No su b)No Su c) No Sub d) error message Answer: b
  • 5.
    Q3) What isthe output of below code? main() { printf("tim"); main(); } a) prints tim twice b) keeps on printing tim c) prints tim once d) compiler error Answer:b
  • 6.
    Q4) In a16-bit computer, what is the output of below code? main() { int a =1; printf("%u",~a); } a) 0 b)compiler error c)1 d)65534 Answer: d
  • 7.
    Q5) What isthe output of below code? void compute(int); main() { int a =1; compute(a); printf("%d",a); } void compute( int a) { a=(a++)*(~a)/(a--); } (a) 131068 (b) 1 (c) compiler error (d) 65534 Answer: b
  • 8.
    Q6) What isthe output of below code in JAVA? class S { int x = 0; S() { x++; } public static void main(String args[]) { S s = new S(); System.out.println(s.x); } } (a) 0 (b) 1 (c) compiler error (d) Garbage value Answer: b
  • 9.
    Q7) What isthe output of below code snippet in JAVA? char word[]={'a','b','c','d','e'}; for(int i =0; i<4; i+=2) System.out.println(word[i]); (a) ace (b) ac (c) ab (d) abe Answer: b
  • 10.
    Q8) What isthe output of below code snippet in JAVA? public static void main(String args[]) { System.out.println(this); } (a) 0 (b) 1 (c) compiler error (d) Garbage Value Answer: c
  • 11.
    Q9) What isthe output of below code snippet in JAVA? System.out.println(12<<2); (a) 3 (b) 10 (c) compiler error (d) 48 Answer: d
  • 12.
  • 13.
    Q1) Name thebrowser that has this logo. Answer: Microsoft Edge
  • 14.
    Q2) Identify theAmerican computer Scientist below. Answer: Dennis Ritchie
  • 15.
    Q3) Identify thehidden message in the below logo. Answer: Cisco was founded in San Francisco, which explains the name. The series of blue lines symbolise San Francisco’s iconic Golden Gate Bridge
  • 16.
    Q4) which companyhas this logo? Answer: Kaspersky Antivirus
  • 17.
    Q5) Identify thedevice? Answer: Magnetic Tape Reader
  • 18.
    Q6) Identify theadapter Answer: Ethernet adapter (or) Network Interface Card (NIC)
  • 19.
    Q7) Identify theicon Answer: Universal Serial Bus (USB)
  • 20.
    Q8) Identify thehidden message in the below logo Answer: The ‘VA’ of the Sony VAIO logo has been made to look like an analog signal and the ‘IO’ resembles numbers 1 and 0 which represents a digital signal
  • 21.
  • 22.
    Q 1) &&have higher precedence than & a) true b) false Answer: false Q 2) What is the default value of local variable? Answer: No Default Value Q 3) Who is the founder of java? Answer: James Gosling Q 4) Who is the new CEO of Google? Answer: Sundar Pichai
  • 23.
    Q 5) Whenyou are working on a document on PC, where is the document temporarily stored? Answer: RAM Q 6) Information travels between components on the mother board through? Answer: Buses Q 7) Expand the term SUN in SUN Microsystems Answer: 'STANFORD UNIVERSITY NETWORK'.
  • 24.
    Q 8) Numberof unique digits in binary number system is Answer: two ( 0 and 1) Q 9) The most frequently used instructions of a computer program are likely to be fetched from Answer: Cache memory Q 10) ASCII stands for? Answer: American Standard Code for Information Interchange
  • 25.
    Q 11) Whichaccess method is used for obtaining a record from a magnetic tape? Answer: Sequential access Q 12) A computer program that converts assembly language to machine language is Answer: Assembler Q 13) Who co-founded Hotmail in 1996 and then sold the company to Microsoft Answer: Sabeer Bhatia
  • 26.
    Q 14) Whatdisplays the content of the active cell in Excel? Answer: Formula Bar Q 15) The average time necessary for the correct sector of a disk to arrive at the read write head is Answer: Rotational Delay Q 16) What does OCR stands for? Answer: Optical character Recognition.
  • 27.
    Q 17) Linuxis a(n) ………………….. operating system. Answer: open source Q 18) The errors that can be pointed out by the compiler are Answer: Syntax errors Q 19) The tracks on a disk which can be accessed without repositioning the R/W heads is Answer: Cylinder
  • 28.
    Q 20) Whichis the first supercomputer developed by the Indian Scientists? Answer: PARAM Q 21) The symbols used in an assembly language are Answer: Mnemonics Q 22) What is the first ARPANET message Answer: Lo
  • 29.
    Q 23) Whatdoes T stands for in T flip-flop? Answer: Toggle Q 24) What does the "X" stand for in OS X? Answer: Ten Q 25) Abstract method can be in normal class . True (or) False Answer: False
  • 30.
    Q 26) Whatis the size of char in java? Answer: 16 bits Q 27) Switches operate in which layer of OSI model Answer: Data Link Layer Q 28) Following code will result in: int num = 6.7 Answer: Compilation error
  • 31.
    Q 29) Howmany layers are there in TCP/IP model? Answer: 5 Q 30) Expand the term JPEG Answer: Joint Photographic Experts Group Q 31) Expand the term DBMS Answer: Database Management System
  • 32.
    Q 32) WhichCPU registers holds the address of the instructions (instructions in the program stored in memory) to be executed next? Answer: Program Counter (PC) Q 33) Which protocol is used to receive email? Answer: POP3 Q 34) Number of bits used for IPv4 address Answer: 32 bit addresses
  • 33.
    Q 35) Macoperating system is developed by which company? Answer: Apple Q 36) .tiff is an extension of which type of files? Answer: POP3 Q 37) Number of bits used for IPv4 address Answer: 32 bit addresses
  • 34.
    Q 38) Whichoperating system is developed and used by Apple Inc in mobile phones? Answer: iOS Q 39) WhatsApp Inc is founded by? Answer: Brian Acton and Jan Koum Q 40) Who developed Linux operating system? Answer: Linus Torvalds
  • 35.
    Q 41) Bugmeans Answer: A logical error in a program Q 42) The step-by-step instructions that solve a problem is called _____. Answer: An algorithm Q 43) Which Key combination is used to close an open application in windows? Answer: Alt+F4
  • 36.
  • 37.
    1. First Searchengine in internet? a) google b) Archie c) Bing d) Yahoo Answer: b 2. Which one is the current fastest super computer in india? a) PARAM padma b) SAGA-220 c) CRAY3 d) PARAM Yuva II Answer: d
  • 38.
    3. In computer,Trojan refers to a) Spyware b) Malware c) Virus d) Worm Answer: b 4. Which Key Combination is used to minimize all open windows displayed on screen ? a) Alt +M b) CTRL+d c) Shift+M d) Window Key + d Answer: d
  • 39.
    5. Which companybought the popular video teleconferencing software 'Skype'? a) Microsoft b) Google c) Accenture d) Oracle Answer: a 6. What file contains commands that configure systems devices in DOS ? A. Command.com B. Config.sys C. Autoexec.bat D. Win.ini Answer: b
  • 40.
    7. The partof machine level instruction, which tells the central processor what has to be done, is A. Operation code B. Address C. Locator D. Flip-Flop Answer: a 8. The process of transferring data intended for a peripheral device into a disk (or intermediate store) so that it can be transferred to peripheral at a more convenient time or in bulk, is known as A. multiprogramming B. spooling C. caching D. virtual programming Answer: b
  • 41.
    9. A systemprogram that combines the separately compiled modules of a program into a form suitable for execution A. assembler B. linking loader C. cross compiler D. load and go Answer: b