NEW
Font size
WorksheetsISAC Weekly Quiz SEM2 #3
Total questions: 15
Worksheet time: 11mins
Which option is false about the final keyword?
final method cannot be overridden in its subclasses.
final class cannot be extended.
final class cannot extend other classes
final method can be inherited.
Which keyword is used for accessing the features of a package?
package
import
extends
export
int values[ ] = {1,2,3,4,5,6,7,8,9,10};
for(int i=0;i< Y; ++i)
System.out.println(values[i]);
Find the value of value[i]?
10
11
15
None of the above
Which of these have highest precedence?
()
++
*
>>
Which of these operators is used to allocate memory to array variable in Java?
alloc
malloc
new malloc
new
Java program processing always starts with main() method
True
False
Java supports both Primitive & Non-Primitive(User Defined) datatypes. Which one of the following is not a primitive datatype?
byte
short
long
class
Which of these are Access Modifiers in Java?
default
public
protected
All of them
Which of these sets of logic gates are known as universal gates?
XOR, NAND, OR
OR, NOT, XOR
NOR, NAND, XNOR
NOR, NAND
A digital circuit that can store only one bit is a
Register
NOR gate
Flip-flop
XOR gate
A device which converts BCD to seven segments is called?
Encoder
Decoder
Multiplexer
None of the above mentioned
A full adder can be made out of?
two half adders
two half adders and a OR gate
two half adders and a NOT gate
three half adders
Which device has one input and many outputs?
Multiplexer
Demultiplexer
Counter
Flip-flop
A byte is consist of ________ bits
2
4
8
16
Computers use thousands of flip-flops. To coordinate the overall action, a common signal called the _______ is sent to each flip-flop.
Latch
Clock
Electronic signal
Master
