UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

University - Professional Development

16 Qs

quiz-placeholder

Similar activities

2D Array and Strings in C

2D Array and Strings in C

University

16 Qs

C - Structures

C - Structures

University

20 Qs

C-Extended

C-Extended

University

16 Qs

Playing with C

Playing with C

University

20 Qs

C - Flow Control

C - Flow Control

University

20 Qs

PSPC1

PSPC1

Professional Development

20 Qs

PSC ALM QUIZ

PSC ALM QUIZ

University

16 Qs

C Programming

C Programming

Professional Development

20 Qs

UC_TM02_C Programming Basics

UC_TM02_C Programming Basics

Assessment

Quiz

Computers, Professional Development

University - Professional Development

Medium

Created by

Koushik Thutupalli

Used 47+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following statement is false?

Name of the variable can have letters,digits and underscore

Upper case and Lower case letters are distinct in C

Variable name can begin with digit

Variable name cannot have C reserved words

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To calculate the remainder which of the following option is used?

a mod b

a%b

a/b

a^b

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not a valid data type?

char

int

short

bigint

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output ?

int main()

{

int x=10,y=20,res;

res = (x < y) ? x : y;

printf("output %d " , res);

return 0;

}

compile error

10

20

run time error

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Char datatype will be allocate storage size of ?

2 byte

4 byte

8 byte

1 byte

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

which of the following is not a valid identifier?

1empno

emp_1_no

empno1

emp_no1

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the below is not a built in or primary datatype in C?

int

char

float

enum

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?