Test12

Test12

9th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

Assessment Tengah Semester Ganjil

Assessment Tengah Semester Ganjil

8th Grade - University

35 Qs

packet switching s.d. transmisi digital analog

packet switching s.d. transmisi digital analog

11th Grade - University

25 Qs

Soal TEST

Soal TEST

12th Grade

35 Qs

Latihan Ulangan Kelas 9

Latihan Ulangan Kelas 9

9th Grade

25 Qs

Ulangan Harian Kelas 8

Ulangan Harian Kelas 8

8th Grade - University

25 Qs

Kuis Pemrograman PHP dan MySQL 1

Kuis Pemrograman PHP dan MySQL 1

12th Grade

26 Qs

C Programming Concepts Challenge

C Programming Concepts Challenge

12th Grade

25 Qs

Algoritmik PemrogramanArray

Algoritmik PemrogramanArray

11th Grade

25 Qs

Test12

Test12

Assessment

Quiz

Information Technology (IT)

9th - 12th Grade

Medium

Created by

Rares Hampi

Used 5+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of 5 | 2?

7

6

3

1

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of ~0?

0

-1

1

Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of this code?

[1, 2, 3]

[1, 2, 3, 4]

Error

None

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output?

True

False

Error

"False"

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator clears the lowest set bit in an integer x?

x & (x - 1)

x | (x - 1)

x ^ x

~x

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of:

abc

cba

bca

acb

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does dict.get("x", 0) do?

Raises KeyError if "x" not found

Returns 0 if "x" not found

Returns "x"

Adds "x" to the dict

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?