Search Header Logo

IT Quiz

Authored by vijeta nsanil

Computers

Used 1+ times

IT Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data structure in which elements can be inserted or deleted at/from both ends but not in the middle is?

Priority queue

Dequeue

Circular queue

Queue

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

def calculate_area(length, width):

area = length * width

return area

result = calculate_area(5, 10)

print("The area is:", result)

What does the calculate_area function in the given Python program do?

It calculates the perimeter of a rectangle.

It calculates the volume of a rectangle.

It calculates the area of a rectangle.

It calculates the diagonal of a rectangle.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the HTTP status code 501 typically indicate?

Internal Server Error

Bad Gateway

Not Implemented

Gateway Timeout

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does pip stand for python?

Pip Installs Python

Pip Installs Packages

Preferred Installer Program

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Number of transistors in intel i3

1 billion

1.48 billion

3 billion

3.48 billion

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?

l=[1, 0, 2, 0, 'hello', '', []]

list(filter(bool, l))

[1, 0, 2, ‘hello’, ”, []]

Error

[1, 2, ‘hello’]

[1, 0, 2, 0, ‘hello’, ”, []]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which environment variable is used to set the java path?

MAVEN_Path

JavaPATH

JAVA

JAVA_HOME

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?