PRF192 - Review 2

PRF192 - Review 2

University

15 Qs

quiz-placeholder

Similar activities

Java Lesson 4

Java Lesson 4

5th Grade - University

10 Qs

Quiz 1 - Intro to C

Quiz 1 - Intro to C

University

10 Qs

Temel C Programlama Eğitimi

Temel C Programlama Eğitimi

University

20 Qs

MINDZONE-2.3

MINDZONE-2.3

University

10 Qs

Quiz 2025

Quiz 2025

University

10 Qs

Mindzone Season-3

Mindzone Season-3

University

15 Qs

IEEE Coding Competition

IEEE Coding Competition

University

13 Qs

First Meet Sains Data 2022

First Meet Sains Data 2022

University

20 Qs

PRF192 - Review 2

PRF192 - Review 2

Assessment

Quiz

Other

University

Medium

Created by

Phạm Văn Dương 20202652M

Used 20+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A comment can be split over more than one line, as follows/** A programto calculate averageof 5 numbers. **/

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which ARE the following statements printf % character?

printf("\%")

printf("\\%")

printf("\%%")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The precedence of operators is ...

Arithmetic, Comparison, Logical

Logical, Comparison, Arithmetic

Comparison, Arithmetic, Logical

Comparison, Logical, Arithmetic

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is size of an int ?

8 bits

16 bits

Dependent on machine's "word" size

32 bits

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct prototype in C ?

doFunc():char;

char doFunc()

int doFunc(int,int);

int doFunc(int,int);

float doFunc(void);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statement is (are) wrong ?

a1 = 1343.44;

3=d;

cat = 'A' *** 'B';

asd = 'A'**24;

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The ___ function after accepting a character and wait for the Enter key to be pressed.

putch()

putchar()

getch()

getchar()

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?