C Programming Quiz

C Programming Quiz

6th Grade

76 Qs

quiz-placeholder

Similar activities

Computer Applications Best 1

Computer Applications Best 1

6th - 8th Grade

71 Qs

Kamen Rider

Kamen Rider

KG - University

80 Qs

AP Grade 6 4th FA

AP Grade 6 4th FA

6th Grade

75 Qs

Stuff

Stuff

1st - 12th Grade

73 Qs

math quiz

math quiz

1st - 6th Grade

71 Qs

Ғuπ

Ғuπ

KG - Professional Development

80 Qs

Math Quiz: H v B

Math Quiz: H v B

KG - University

75 Qs

Computer Science Bi-Weekly 1/12/24

Computer Science Bi-Weekly 1/12/24

6th Grade

73 Qs

C Programming Quiz

C Programming Quiz

Assessment

Quiz

Other

6th Grade

Hard

Created by

Academic Technotran

Used 1+ times

FREE Resource

76 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to declare a variable in C?

int a;

variable a;

int = a;

declare a;

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a valid variable name?

2variable

_variable

@variable

-variable

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the size of int in C on a 32-bit system?

1 byte

2 bytes

4 bytes

8 bytes

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is not a valid data type in C?

float

double

real

int

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the default value of an uninitialized variable in C?

0

Undefined

Null

Garbage value

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the associativity of the assignment operator = in C?

Left to Right

Right to Left

Top to Bottom

None

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which operator has the highest precedence in C?

+

*

()

=

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?