BASIC C PROGRAMMING

BASIC C PROGRAMMING

University

15 Qs

quiz-placeholder

Similar activities

C++ data types

C++ data types

University

15 Qs

Java Básico

Java Básico

University

20 Qs

C++ 1st ONLINE QUIZ

C++ 1st ONLINE QUIZ

University

13 Qs

C programming-1

C programming-1

University

13 Qs

Java

Java

University

15 Qs

variable and identifier

variable and identifier

University

16 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

CSC301 Chapter 2

CSC301 Chapter 2

University

10 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?