BASIC C PROGRAMMING

BASIC C PROGRAMMING

University

15 Qs

quiz-placeholder

Similar activities

C programming

C programming

University

15 Qs

csharp

csharp

University

10 Qs

Tie Round

Tie Round

University

15 Qs

Computer Fundamental and C Programming  Concept

Computer Fundamental and C Programming Concept

University

20 Qs

Programming in C

Programming in C

University

10 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Code-O-Fiesta Round 1

Code-O-Fiesta Round 1

University

15 Qs

PRF192 C Programming

PRF192 C Programming

University

13 Qs

BASIC C PROGRAMMING

BASIC C PROGRAMMING

Assessment

Quiz

Computers

University

Medium

Created by

Muhammad Abdullah

Used 233+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int number;

float rate;

int variable_count;

int $main;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in C?

They can contain alphanumeric characters as well as special characters

It is not an error to declare a variable to be one of the keywords(like goto, static)

Variable names cannot start with a digit

Variable can be of any length

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a logical operator?

&&

!

||

|

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many keywords are there in C language?

30

31

32

33

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which of the following cannot be a variable name in C?

volatile

true

friend

export

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to prevent any changes in the variable within a C program?

immutable

mutable

const

volatile

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?