Search Header Logo

Midterm Examination (COMPROG1 7-8 PM)

Authored by School 2022

Computers

University

Used 1+ times

Midterm Examination (COMPROG1 7-8 PM)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Determine the value of the following expressions.

Assume A = 5, B = 2, C = 4, D = 6 and E = 3.

A > B.

The Relational expression is True. Therefore the value is

1

The Relational expression is True. Therefore the value is 5

The Relational expression is False. Therefore the value is 1

The Relational expression is False. Therefore the value is 5

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A person's age is equal to 30

age =30

age ==30

age =>30

age <=30

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A person's temperature is greater than 98.6

temp > 98.6

temp < 98.6

temp = 98.6

temp == 98.6

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A person's height is less than 6 feet

height  => 6.00

height  = 6.00

height  > 6.00

height  < 6.00

5.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

The current month is 12 (December)

month ==112

moth ==12

month =12

month ==12

6.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

The letter input is m

let = ‘m’

let_in == ‘m’

let == ‘m’

let_in = ‘m’

7.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

A person's age is equal to 30 and the person is taller than 6 feet.

age == 30 & ht > 6.00

age == 30 && ht > 6.00

age == 30 && ht < 6.00

age = 30 && ht > 6.00

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?