wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Tech-fest (hard)

Total questions: 40

Worksheet time: 50mins

Name
Class
Date
1.
  1. What will be the output of the following code?

a)

5

b)

6

c)

Compilation Error

d)

15

2.

What will be the output of the following program?

a)

ab

b)

cd

c)

def

d)

Compilation Error

3.

What happens when you try to compile and run this program?

a)

Compilation Error

b)

ArithmeticException

c)

infinity

d)

0

4.

What will be the output of the following code?

a)

Undefined behavior

b)

557

c)

666

d)

566

5.

Which of the following C programs correctly prints the element at index 7 of the given array?

a)

b)

c)

d)

6.

Which of the following is NOT a feature of object-oriented programming?

a)

Encapsulation

b)

Inheritance

c)

Abstraction

d)

Compilation

7.

Which SQL clause is used to filter data after aggregation?

a)

WHERE

b)

HAVING

c)

GROUP BY

d)

ORDER BY

8.

Which unit is used to measure the speed of a processor?

a)

Hertz

b)

Bytes

c)

Pixels

d)

Bits

9.

Which of the following is a programming language?

a)

HTML

b)

Java

c)

SQL

d)

XML

10.

What does GUI stand for?

a)

Graphical User Interface

b)

Global User Interface

c)

General User Interaction

d)

Generated Universal Input

11.

Which data structure is used in recursion?

a)

Queue

b)

Tree

c)

Linked List

d)

Stack

12.

Which ACID property ensures that transactions are all or nothing?

a)

Atomicity

b)

Consistency

c)

Isolation

d)

Durability

13.

What is the purpose of the 'final' keyword in Java?

a)

To prevent method overriding

b)

To declare a constant

c)

To restrict inheritance

d)

All of the above

14.

What is the main purpose of the 'static' keyword in Java?

a)

To create a constant variable

b)

To restrict access to a method

c)

To indicate that a method belongs to the class rather than instances

d)

To enable method overloading

15.

Which of the following is a valid way to declare an array in Java?

a)

Both of the above

b)

int[] arr;

c)

None of the above

d)

int arr[];

16.

Java doesn't support structures and unions

a)

True

b)

False

17.

In Java, execution starts from ___________ function.

a)

get()

b)

main()

c)

java()

d)

display()

18.

Java is

a)

Machine dependent language

b)

Machine independent language

19.

Which inheritance is not supported in java?

a)

Multiple

b)

Multilevel inheritance

c)

Hybrid

d)

Java supports all of the above

20.

Generally string is a sequence of characters, But in java, string is an _______.

a)

Object

b)

Class

c)

Package

d)

None of the above

21.

State true or false for Java Program.

i) All class variables are instance variables

ii)An abstract class has implementations of all methods defined inside it.

a)

i-false, ii-false

b)

i-false, ii-true

c)

i-true, ii-false

d)

i-true, ii-true

22.

If someone shares a document with you in Google Drive, you should look for it in your __________________ folder.

a)

Shared With Me

b)

Recent

c)

Computer Technology

d)

Outgoing Mail

23.

Which is an example of a cell address in excel?

a)
126
b)
A9
c)
=SUM
d)
76/65
24.

What does this symbol represent in MS Excel?

a)

a. Subtract

b)

b. AutoSum

c)

c. formula

d)

d. average

25.

What is the 4th generation of computer?

a)

MICROPROCESSOR

b)

AI

c)

TRANSISTORS

d)

VACUUM TUBE

26.

First Generation computers worked on which programming language

a)

COBOL

b)

Pascal

c)

Machine

d)

Assembly

27.
The computer's _________ memory (ex. microchips: RAM, ROM) 

a)
temporary 
b)
important
c)
internal 
d)
external
28.
ROM is _____ and RAM is __________?
a)
temporary; permanent
b)
larger; smaller
c)
smaller; larger 
d)
permanent; temporary 
29.
_______ is how we write code
a)
Syntax
b)
Loops
c)
Variables
d)
Functions
30.

What is the capacity of a single-layer DVD?

a)

4.7 GB

b)

700 MB

c)

8.5 GB

d)

2.4 GB

31.

What is 1011 in decimal?

a)

10

b)

11

c)

13

d)

14

32.

Which technology is used in cryptocurrency transactions?

a)

Cloud Computing

b)

Blockchain

c)

IoT

d)

Data Mining

33.

Which of the following operations is not performed in a stack?

a)

Push

b)

Pop

c)

Enqueue

d)

Peek

34.
Which tag is used for scrolling the text?
a)
<scroll>
b)
<textscroll>
c)
<marque>
d)
<marquee>
35.

What is the Request/Response Cycle?

a)

Will search the answer later

b)

The process that happens when a server requests a page and a client responds with the appropriate files

c)

The process that happens when a HTML5 is created with an editor

d)

The process that happens when a client requests a page and a server responds with the appropriate files

36.

Which of the following codes would create a horizontal line

a)

<br>

b)

<h1></h1>

c)

<hr>

d)

<p>

37.

This shortcut key hides selected rows in Excel.

a)

Control N

b)

Control 9

c)

Control 0

38.
What symbol is used to indicate an absolute reference in Excel?
a)
#
b)
$
c)
@
d)
&
39.
What is the result of =10/2*5 in Excel?
a)
25
b)
20
c)
50
d)
5
40.
What is the correct order of operator precedence in Excel?
a)
+, -, *, /, ^
b)
^, *, /, +, -
c)
*, /, ^, +, -
d)
+, /, ^, *, -