C Viva

C Viva

University

10 Qs

quiz-placeholder

Similar activities

FGCT4023 Topic 2 - Data

FGCT4023 Topic 2 - Data

University

10 Qs

C Quiz2

C Quiz2

University

12 Qs

T_4.2 Identifier, Data Types, Operators & Expressions

T_4.2 Identifier, Data Types, Operators & Expressions

12th Grade - University

10 Qs

java

java

University - Professional Development

8 Qs

FY-Test-1

FY-Test-1

University

15 Qs

C Basics

C Basics

University

12 Qs

Java Operators

Java Operators

University

14 Qs

QUIZ MASTERY SHOWDOWN 1ST YEAR SET 2

QUIZ MASTERY SHOWDOWN 1ST YEAR SET 2

University

15 Qs

C Viva

C Viva

Assessment

Quiz

Computers

University

Medium

Created by

Ashwini T

Used 15+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

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

int number;

float rate;

int variable_count;

int $main;

Answer explanation

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How many keywords are there in C language?

32

33

64

18

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is an identifier in C language?

An identifier is a combination of alphanumeric characters used for conditional and control statements

An identifier is a combination of alphanumeric characters used for any variable, function, label name

Both A and B

None of the above

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A C-style comment, simply surround the text with ___.

/* and */

// and //

//

/** and **/

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which are the fundamental data types in C?

char

int

float

All of these

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

For which type, the format specifier "%i" is used?

int

char

float

double

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which is the correct format specifier for double type value in C?

%d

%f

%lf

%LF

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?