Search Header Logo

Assessment

Authored by Video Tutorials

Instructional Technology

University

Used 3+ times

Assessment
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 10

print(x + y * 2)

a. 25

b. 30

c. 15

d. 20

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an IF-ELSE condition, what does the ELSE block do?

a. Runs when the IF condition is true

b. Runs regardless of the IF condition

c. Runs when the IF condition is false

d. Is ignored in every condition

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a loop structure in most programming languages?

a. if

b. elif

c. for

d. switch

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a function?

a. A loop within a program

b. A structure for error handling

c. A reusable block of code

d. A form of conditional logic

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which SQL command is used to retrieve data?

a. INSERT

b. SELECT

c. UPDATE

d. DELETE

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In programming, what is a variable?

a. A permanent value

b. A container for storing data

c. A changing input

d. A type of data analysis

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for comparison?

a. =

b. ==

c. +

d. :=

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?