PRF192 C Programming

PRF192 C Programming

University

13 Qs

quiz-placeholder

Similar activities

BASIC C QUIZ

BASIC C QUIZ

University

15 Qs

AFP Midtvejsevaluering

AFP Midtvejsevaluering

University

10 Qs

String & Struct Exercise

String & Struct Exercise

University

17 Qs

C++ Basics

C++ Basics

University

12 Qs

Quiz 1 - Intro to C

Quiz 1 - Intro to C

University

10 Qs

PSC ALM QUIZ

PSC ALM QUIZ

University

16 Qs

JavaScript Basics

JavaScript Basics

12th Grade - University

15 Qs

T_4.2 Identifier, Data Types, Operators & Expressions

T_4.2 Identifier, Data Types, Operators & Expressions

12th Grade - University

10 Qs

PRF192 C Programming

PRF192 C Programming

Assessment

Quiz

Computers

University

Easy

Created by

Đỗ Nga

Used 8+ times

FREE Resource

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

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?