c programming-Test 1

c programming-Test 1

Professional Development

10 Qs

quiz-placeholder

Similar activities

AppsLab_Q3

AppsLab_Q3

1st Grade - Professional Development

12 Qs

FinTech 02-1 Python

FinTech 02-1 Python

Professional Development

11 Qs

 ครั้งที่ 2. ม.4 Servo กับ อัลตราโซนิกส์ (ultrasonics)

ครั้งที่ 2. ม.4 Servo กับ อัลตราโซนิกส์ (ultrasonics)

Professional Development

10 Qs

Review

Review

University - Professional Development

15 Qs

ACL_Quiz

ACL_Quiz

Professional Development

10 Qs

KKEM Session 04

KKEM Session 04

Professional Development

10 Qs

CSNP 04103 C++ Midterm preparation

CSNP 04103 C++ Midterm preparation

University - Professional Development

11 Qs

PreTrainingClassesObjectsMethods

PreTrainingClassesObjectsMethods

Professional Development

10 Qs

c programming-Test 1

c programming-Test 1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

sirmvit mca

Used 233+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

%d format specifier does

used to print an integer value.

used to print a string.

used to display a character value.

used to display a floating point value.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

what is Global variable

A variable which is declared inside function

A variable which is declared outside function

The scope of a variable is available within a function in which they are declared.

Variables can be accessed only by those statements inside a function in which they are declared.

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

Rasmus Lerdorf

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

int number;

float rate;

int variable_count;

int $main;

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is valid C expression?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

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

volatile

true

friend

export

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?