Search Header Logo

C Basic

Other

Professional Development

Used 106+ times

C Basic
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following is not a compound assignment operator?

/=

*=

+=

==

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is the value of X in the sample code given below?

X = ( 2 + 3) * 2 + 3;

10

13

25

28

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What value will be stored in z if the following code is executed?

x = 5 , y = -10, a = 4, b = 2;

z = x+++++y * b/a;

-2

0

1

2

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Expression x % y is equivalent to____?

(x – (x/y))

(x – (x/y) * y)

(y – (x/y))

(y – (x/y) * y)

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which operators are used to compare the values of operands to produce logical value in c language?

Logical operator

Relational operator

Assignment operator

None of the above

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which operators perform operations on data in Binary level?

Bit wise operator

Logical operators

Arithmetic operator

All of the Above

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is/are the number of operand/operands needed to unary operator logical not(!)?

4

3

2

1

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?