wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Tech Quiz - TECHNOHOLICS2K21

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

Which keyword is use for function in python?

a)

define

b)

fun

c)

def

d)

function

2.

In which part of python memory does the system stores the parameter and local variables of function call?

a)

heap

b)

stack

c)

Uninitialized data segment

d)

none of the above

3.

What is the output of this python code?

a, b=1,0

a=a^b

b=a^b

a=a^b

print(a)

a)

0

b)

1

c)

2

d)

runtime error

4.

What is the maximum possible length of an identifier in python?

a)

16

b)

32

c)

64

d)

none of the above

5.

To shuffle the list (say list1) what function do we use in python?

a)

list1.shuffle()

b)

shuffle(list1)

c)

random.shuffle(list1)

d)

random.shuffleList(list1)

6.

What will be the output of the following Python code? A=(1,2,3,4) del(a[2])

a)

(1,2,4)

b)

(1,3,4)

c)

(3,4)

d)

error as tuple is immutable

7.

Given a python function that does not return any value, what value is thrown by default when executed in shell.

a)

int

b)

bool

c)

void

d)

none of the above

8.

What will be the output of the following Python statement?

>>>"abcd"[2:]

a)

a

b)

ab

c)

cd

d)

dc

9.

What arithmetic operators cannot be used with strings in python?

a)

+

b)

*

c)

-

d)

all the above

10.

Which of the following python functions does not necessarily accept only iterables as arguments?

a)

all()

b)

max()

c)

chr()

d)

enumerate()

11.
Pop function in stack data structure performs
a)
Decreases stack size by 1
b)
Deletes 0 index element in stack
c)
Removes element from top of stack including its index
d)
Removes 1 index element in stack
12.

Iam is an open platform for developing, shipping, and running applications. I enable you to separate your applications from your infrastructure with Containers so you can deliver software quickly. Who Am I?

a)

Hypervisor

b)

Docker

c)

Apache Mesos

d)

Hadoop

13.
Iam a JavaScript library that allows you to build UI components. Iam based on Virtual Dom. Who Am I?
a)
React JS
b)
Angular JS
c)
Next JS
d)
Electron JS
14.

The Term Block Chain Working Design is based on a Data structure with same Design. Who Am I?

a)

Stack

b)

Queue

c)

Double Linked List

d)

Hashing

15.

I save your computer's state to the hard drive, and shuts down completely. Who am I?

a)

Sleep

b)

Shutdown

c)

Hibernate

d)

Virtualization

16.

Which device has the limitation that we can only read it but cannot modify or erase it?

a)

Floppy Disk

b)

Compact Disk

c)

Hard Disk

d)

Tape Drive

17.

I have a Pen drive size of 64gb (Free space), I tried to copy 13gb file but it shows “Error This file is too large “This is because of?

a)

Pen drive format is “exFAT”

b)

Pen drive format is “FAT32”

c)

Pen drive format is “NTFS”

d)

Pen drive format is “NULL”

18.

Formula of Tower of Hanoi?

a)

n +1

b)

2^n -1

c)

2n-i

d)

n-1

19.
Most Efficient Search Algorithm?
a)
Binary
b)
Linear
c)
Hash
d)
Quick
20.

A ___________ doesn't have room for any more nodes—unless we increase the tree's height.

a)

Complete Binary Tree

b)

Full Binary Tree

c)

Balanced Binary Tree

d)

Perfect Binary Tree