NEW
Font size
WorksheetsTech-fest (hard)
Total questions: 40
Worksheet time: 50mins
What will be the output of the following code?
5
6
Compilation Error
15
What will be the output of the following program?
ab
cd
def
Compilation Error
What happens when you try to compile and run this program?
Compilation Error
ArithmeticException
infinity
0
What will be the output of the following code?
Undefined behavior
557
666
566
Which of the following C programs correctly prints the element at index 7 of the given array?
Which of the following is NOT a feature of object-oriented programming?
Encapsulation
Inheritance
Abstraction
Compilation
Which SQL clause is used to filter data after aggregation?
WHERE
HAVING
GROUP BY
ORDER BY
Which unit is used to measure the speed of a processor?
Hertz
Bytes
Pixels
Bits
Which of the following is a programming language?
HTML
Java
SQL
XML
What does GUI stand for?
Graphical User Interface
Global User Interface
General User Interaction
Generated Universal Input
Which data structure is used in recursion?
Queue
Tree
Linked List
Stack
Which ACID property ensures that transactions are all or nothing?
Atomicity
Consistency
Isolation
Durability
What is the purpose of the 'final' keyword in Java?
To prevent method overriding
To declare a constant
To restrict inheritance
All of the above
What is the main purpose of the 'static' keyword in Java?
To create a constant variable
To restrict access to a method
To indicate that a method belongs to the class rather than instances
To enable method overloading
Which of the following is a valid way to declare an array in Java?
Both of the above
int[] arr;
None of the above
int arr[];
Java doesn't support structures and unions
True
False
In Java, execution starts from ___________ function.
get()
main()
java()
display()
Java is
Machine dependent language
Machine independent language
Which inheritance is not supported in java?
Multiple
Multilevel inheritance
Hybrid
Java supports all of the above
Generally string is a sequence of characters, But in java, string is an _______.
Object
Class
Package
None of the above
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.
i-false, ii-false
i-false, ii-true
i-true, ii-false
i-true, ii-true
If someone shares a document with you in Google Drive, you should look for it in your __________________ folder.
Shared With Me
Recent
Computer Technology
Outgoing Mail
Which is an example of a cell address in excel?
What does this symbol represent in MS Excel?
a. Subtract
b. AutoSum
c. formula
d. average
What is the 4th generation of computer?
MICROPROCESSOR
AI
TRANSISTORS
VACUUM TUBE
First Generation computers worked on which programming language
COBOL
Pascal
Machine
Assembly
What is the capacity of a single-layer DVD?
4.7 GB
700 MB
8.5 GB
2.4 GB
What is 1011 in decimal?
10
11
13
14
Which technology is used in cryptocurrency transactions?
Cloud Computing
Blockchain
IoT
Data Mining
Which of the following operations is not performed in a stack?
Push
Pop
Enqueue
Peek
What is the Request/Response Cycle?
Will search the answer later
The process that happens when a server requests a page and a client responds with the appropriate files
The process that happens when a HTML5 is created with an editor
The process that happens when a client requests a page and a server responds with the appropriate files
Which of the following codes would create a horizontal line
<br>
<h1></h1>
<hr>
<p>
This shortcut key hides selected rows in Excel.
Control N
Control 9
Control 0
