C Logical Operatos

C Logical Operatos

University

5 Qs

quiz-placeholder

Similar activities

Java set 1

Java set 1

University

10 Qs

Diagnóstico Tópicos Avanzados de Programación.

Diagnóstico Tópicos Avanzados de Programación.

University

10 Qs

Lección 3 - Lenguaje de programación: Python

Lección 3 - Lenguaje de programación: Python

University

10 Qs

Early Childhood Ed.

Early Childhood Ed.

University

10 Qs

Rung chuông vàng _ CNTT K57

Rung chuông vàng _ CNTT K57

5th Grade - University

10 Qs

Bleeding Complications In Pregnancy

Bleeding Complications In Pregnancy

University

10 Qs

Java Lesson 7

Java Lesson 7

5th Grade - University

10 Qs

C Logical Operatos

C Logical Operatos

Assessment

Quiz

Other

University

Medium

Created by

Azrinna Muhamad

Used 10+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression:

(5 > 2) && (3 < 4)?

true

false

0

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following represents the logical AND operator in C?

&

&&

|

||

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will the following code print:

1

0

true

false

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If int x = 1; and int y = 0;,

what is the result of !x?

1

0

true

false

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression:

(5 < 2) || (3 > 4)?

true

false

0

1