C Logical Operatos

C Logical Operatos

University

5 Qs

quiz-placeholder

Similar activities

Repaso_Calculo Integral

Repaso_Calculo Integral

University

10 Qs

The World of Customer Service

The World of Customer Service

University

10 Qs

InfoSec Chapt 12 Protection Mechanisms

InfoSec Chapt 12 Protection Mechanisms

University

10 Qs

Cost of capital

Cost of capital

University

10 Qs

C Arrays

C Arrays

University

10 Qs

Cấu trúc dữ liệu & Giải thuật 1

Cấu trúc dữ liệu & Giải thuật 1

University

7 Qs

Week 5 APA Practice Quiz

Week 5 APA Practice Quiz

University

10 Qs

Dyslexia

Dyslexia

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