IPC144 - Week 3

IPC144 - Week 3

University

28 Qs

quiz-placeholder

Similar activities

GNIDOC ROUND 1

GNIDOC ROUND 1

University

25 Qs

Quiz - I

Quiz - I

University - Professional Development

25 Qs

C- Geniusia

C- Geniusia

University

25 Qs

OCR J275 - Data Representation

OCR J275 - Data Representation

KG - University

23 Qs

Latihan soal Algoritma dan Pemrograman

Latihan soal Algoritma dan Pemrograman

University

25 Qs

Exercise1

Exercise1

University

30 Qs

Play with C

Play with C

University

30 Qs

C Programming Language Quiz

C Programming Language 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?