Search Header Logo

ACM Tech Weekend Quiz (Sept 20)

Authored by Indrayani Mude

Engineering

University

Used 2+ times

ACM Tech Weekend Quiz (Sept 20)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

What will be the output of this Python code?

print(2**3**2)

64

512

256

36

2.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Which of the following operators in C++ can be overloaded?

+

?:

=

( )

3.

FILL IN THE BLANKS QUESTION

30 sec • 10 pts

The function used to allocate memory that is initialized to zero is

(a)  

4.

MULTIPLE SELECT QUESTION

20 sec • 5 pts

Which of the following will output as 4 in Python?

len("code")

len([1, 2, 3, 4])

len((1, 2, 3, 4, 5))

len({1: "a", 2: "b"})

5.

FILL IN THE BLANKS QUESTION

30 sec • 5 pts

The process of having multiple functions with the same name but different parameter lists is called

(a)  

6.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

Which SQL command is used to remove all rows from a table while keeping the table structure intact?

DELETE

DROP

REMOVE

TRUNCATE

7.

MULTIPLE CHOICE QUESTION

20 sec • 5 pts

In HTML, which tag is used to create a dropdown list?

<dropdown>

<select>

<input type="drop">

<list>

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?