C Programming Concepts

C Programming Concepts

10th Grade - University

10 Qs

quiz-placeholder

Similar activities

Big Idea 3

Big Idea 3

9th - 12th Grade

15 Qs

PYTHON BASICS PART 1

PYTHON BASICS PART 1

University

10 Qs

Генератори списків у Python

Генератори списків у Python

12th Grade

15 Qs

C Programming - Basics 001

C Programming - Basics 001

University

10 Qs

Recursion

Recursion

University

8 Qs

C Programming Quiz-1

C Programming Quiz-1

University

10 Qs

Preetest Pemrograman Bahasa C

Preetest Pemrograman Bahasa C

11th Grade

10 Qs

C programming

C programming

University

15 Qs

C Programming Concepts

C Programming Concepts

Assessment

Quiz

Computers

10th Grade - University

Hard

Created by

Curtis Forbes

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents AND in C

++

||

&&

&

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents OR in C programming

&&

==

\\

||

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the statements is the correct way to declare a string in a C program ?

String name

string name

char name[ 10]

char name

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the correct way to print from a string variable?

printf("%d", name);

printf("%s", name);

printf("%f", name);

printf("%c", name);

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chose the incorrect statement

printf("%d", &number);

printf("%f", number);

printf("%lf", &number);

printf("%d", number);

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which if the following is used for unbounded iterations

if

for

while

switch

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is and assignment?

sum == num

sum = num

sum + num

sum = != num

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?