IPC144 - Week 3

IPC144 - Week 3

University

28 Qs

quiz-placeholder

Similar activities

Operators in C

Operators in C

University

24 Qs

Operators

Operators

University

32 Qs

2nd Class Test FEB 2021

2nd Class Test FEB 2021

University

25 Qs

Types and IO in C++

Types and IO in C++

University - Professional Development

26 Qs

python

python

University

30 Qs

Beginning C Programming

Beginning C Programming

University

23 Qs

Quiz Bahasa C

Quiz Bahasa C

10th Grade - University

25 Qs

C/C++ Programming Quiz

C/C++ Programming Quiz

University

25 Qs

IPC144 - Week 3

IPC144 - Week 3

Assessment

Quiz

Computers

University

Medium

Created by

Michael Kolasa

Used 23+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of char?

8 Bits

8 Bytes

4 Bits

4 Bytes

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int? (in a 32-bit environment)

4 Bytes

16 Bytes

2 Bytes

8 Bytes

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is an example of postfix operator?

i++

++i

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a prefix operator?

++i

i++

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "const" keyword signify in a declaration? (ex. "const int x = 7")

That "x" can be changed after initialization

That "x" cannot be changed after initialization

That "x" is a super int

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the variable which doesn't comply with naming conventions

int auto = 7;

int 8auto = 7;

int auto_word = 7;

int _auto = 7;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the backslash (\) signify when placed before a symbol?

A hack in the mainframe

An entrance sequence

An escape sequence

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?