Search Header Logo

C programming-1

Authored by SUBHASH AGRAWAL

Computers

University

Used 345+ times

C programming-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

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

int a3;

int 3a;

int _A3;

int a_3

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

All keywords in C are in ____________

Lowercase

Uppercase

Camelcase

None of these

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

A translator which reads an entire program written in a high level language and converts it into machine language code is:

Assembler

Compiler

Linker

Loader

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Diamond shaped symbol is used in flowcharts to show the-

decision box

statement box

error box

if-statement box

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is correct with respect to size of the data types?

char > int > float

int > char > float

char < int < double

double > char > int

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is valid C variable declarations?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The functions printf() and scanf() are defined in which of the following library file:-

math.h

conio.h

stdio.h

stdlib.h

Access all questions and much more by creating a free account

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?