Search Header Logo

Basic C Programming

Authored by NOOR (PSMZA)

Engineering

University

Used 24+ times

Basic C Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Every C Program Statement must be terminated with a

.

#

;

!

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code fragment write to the monitor?

Under

Over

Under the limit

Over the limit

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code fragment write to the monitor?

Under

Over

Under the limit

Over the limit

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What does the following code fragment write to the monitor?

You win

You lose

You win the prize.

You lose the prize.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate(to true or false) each of the following expressions:

(1) 14 <= 14

(2) 14 < 14

false false

true true

true false

false true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the boolean operator for logical-AND?

&

&&

|

||

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type is incorrect?

int
double
float
array

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?