wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

ISAC Weekly Quiz SEM2 #3

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

Which option is false about the final keyword?

a)

final method cannot be overridden in its subclasses.

b)

final class cannot be extended.

c)

final class cannot extend other classes

d)

final method can be inherited.

2.

Which keyword is used for accessing the features of a package?

a)

package

b)

import

c)

extends

d)

export

3.

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]?

a)

10

b)

11

c)

15

d)

None of the above

4.

Which of these have highest precedence?

a)

()

b)

++

c)

*

d)

>>

5.

Which of these operators is used to allocate memory to array variable in Java?

a)

alloc

b)

malloc

c)

new malloc

d)

new

6.

Java program processing always starts with main() method

a)

True

b)

False

7.

Java supports both Primitive & Non-Primitive(User Defined) datatypes. Which one of the following is not a primitive datatype?

a)

byte

b)

short

c)

long

d)

class

8.

Which of these are Access Modifiers in Java?

a)

default

b)

public

c)

protected

d)

All of them

9.

Which of these sets of logic gates are known as universal gates?

a)

XOR, NAND, OR

b)

OR, NOT, XOR

c)

NOR, NAND, XNOR

d)

NOR, NAND

10.

A digital circuit that can store only one bit is a

a)

Register

b)

NOR gate

c)

Flip-flop

d)

XOR gate

11.

A device which converts BCD to seven segments is called?

a)

Encoder

b)

Decoder

c)

Multiplexer

d)

None of the above mentioned

12.

A full adder can be made out of?

a)

two half adders

b)

two half adders and a OR gate

c)

two half adders and a NOT gate

d)

three half adders

13.

Which device has one input and many outputs?

a)

Multiplexer

b)

Demultiplexer

c)

Counter

d)

Flip-flop

14.

A byte is consist of ________ bits

a)

2

b)

4

c)

8

d)

16

15.

Computers use thousands of flip-flops. To coordinate the overall action, a common signal called the _______ is sent to each flip-flop.

a)

Latch

b)

Clock

c)

Electronic signal

d)

Master