Search Header Logo

Basics of decision making statements

Authored by Shwetha shree

Engineering

University

Used 2+ times

Basics of decision making statements
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

____is the control character used for float data type.

%c

%s

%f

%d

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int m=56;

m+=4;

printf("%d",m);

The output of program is _____.

56

64

52

60

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

______ is the set of operators which operate on binary bits

Relational operators

Arithmetic operators

Bit-wise operators

Conditional Operators

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int x=383;

if( ___)

printf("Number is even");

else

printf("Number id ODD");

Fill in the blank.

x/2==0

x%2==0

x%2

x/2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Switch case expression should be_______type

int

char

both int and char are allowed

float

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When we need to repeat set of statements ______control structure is used

decision making

looping

both decision making and looping can be used

None of these

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ASCII value of 'a' is _____

65

97

122

90

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?