Search Header Logo

PRF192 C Programming

Authored by Đỗ Nga

Computers

University

Used 13+ times

PRF192 C Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

When a variable is created in C, a memory address is assigned to the variable.

True
False

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

In C, code statements must end with a semicolon (;)

True
False

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can you create a variable with the numeric value 5?

num = 5;
val num = 5;
val num = 5;
int num = 5;

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How can you create a variable with the floating number 2.3?

num = 2.3 float;
float num = 2.3;
num = 2.3 double;
val num = 2.3;

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which operator is used to add together two values?

The * sign
The + sign
The ADD keyword
The & sign

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which function is often used to output values and print text?

output()
printf()
write()
printword()

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which format specifier is often used to print integers?

%f
%d
%c
%s

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?

Discover more resources for Computers