wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

COMP_Technical Quiz_Round 2

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

If a='cpp', b='buzz' then which of the following operation would show 'cppbuzz' as output?

a)

a+b

b)

a+''+b

c)

a+""+b

d)

All of the above

2.

How to find the last element of list in Python? Assume `bikes` is the name of list.

a)

bikes[0]

b)

bikes[-1]

c)

bikes[lpos]

d)

bikes[:-1]

3.

What will be the output?

a)

1 2 3

b)

Syntax error

c)

1 2

d)

none of the mentioned

4.

What will be the output of the following Python code snippet if x=1?

a)

4

b)

2

c)

1

d)

8

5.

What will be the output of the following Python code snippet?

a)

4 3 2 1

b)

error

c)

1 2 3 4

d)

none of the mentioned

6.

What will be the output of the following C code?

a)

Compile time error

b)

Hello World! 34

c)

Hello World! 1000

d)

Hello World! followed by a junk value

7.

In C language, FILE is of which data type?

a)

int

b)

char *

c)

struct

d)

None of the mentioned

8.

In operating system, each process has its own __________

a)

open files

b)

pending alarms, signals, and signal handlers

c)

address space and global variables

d)

all of the mentioned

9.

HTML stands for __________

a)

HyperText Markup Language

b)

HyperText Machine Language

c)

HyperText Marking Language

d)

HighText Marking Language

10.

What is the correct syntax of doctype in HTML5?

a)

</doctype html>

b)

<doctype html>

c)

<doctype html!>

d)

<!doctype html>

11.

Which component is used to compile, debug and execute the java programs?

a)

JRE

b)

JIT

c)

JDK

d)

JVM

12.

What will be the output of the following Java code?

a)

32

b)

33

c)

24

d)

25

13.

What do you mean by one to many relationships?

a)

What do you mean by one to many relationships?

b)

One teacher can have many classes

c)

Many classes may have many teachers

d)

Many teachers may have many classes

14.

A huge collection of the information or data accumulated form several different sources is known as ________:

a)

Data Management

b)

Data Mining

c)

Data Warehouse

d)

Both B and C

15.

Which one of the following refers to the "data about data"?

a)

Directory

b)

Sub Data

c)

Warehouse

d)

Meta Data

16.

Which is not an Internet protocol?

a)

HTTP

b)

FTP

c)

STP

d)

IP

17.

What do we call a collection of two or more computers that are located within a limited distance of each other and that are connected to each other directly or indirectly?

a)

Internet

b)

Intranet

c)

Local Area Network

d)

Wide Area Network

18.

In which process, a local variable has the same name as one of the instance variables?

a)

Serialization

b)

Variable Shadowing

c)

Abstraction

d)

Multi-threading

19.

What will be the output of the following Python code?

a)

Abc. def

b)

abc. def

c)

Abc. Def

d)

ABC. DEF

20.

Which feature of OOP indicates code reusability?

a)

Abstraction

b)

Polymorphism

c)

Encapsulation

d)

Inheritance