Search Header Logo

Expression

Authored by Tasanawan Soonklang

Computers

University

Used 3+ times

Expression
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.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

นิพจน์ต่อไปนี้มีค่าเท่าใด

10 - 3 % 2 + 6 / 2

(a)  

2.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

float c;

c = 5 / 2;

จากโค้ดภาษา C นี้ ตัวแปร c มีค่าเท่าไหร่



(a)  

3.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

int sum= 0, count = 0;

sum = count++;

จากโค้ดภาษา C นี้ ตัวแปร sum มีค่าเท่าไหร่



(a)  

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

พิมพ์ operator ในนิพจน์ด้านล่างนี้ ตามลำดับการทำงานที่เกิดขึ้น

x = b/3+c*2

/

+

*

=

=

/

  • +

  • *

/

  • *

  • +

  • =

  • *

  • /

  • +

  • =

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

พิมพ์ operator ในนิพจน์ด้านล่างนี้ ตามลำดับการทำงานที่เกิดขึ้น

if( (x < y) && (x > ++z) )

++

<

>

&&

<

>

&&

++

<

&&

>

++

&&

++

<

>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

พิมพ์ operator ในนิพจน์ด้านล่างนี้ ตามลำดับการทำงานที่เกิดขึ้น

if (x == 10 + 15 && y < 10)

  • ==

  • +

  • <

  • &&

  • +

  • ==

  • <

  • &&

  • ==

  • +

  • &&

  • <

  • +

  • &&

  • <

==

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

นิพจน์ไพธอนจับคู่กับผลลัพธ์ได้ถูกต้อง (2 คู่)

bool(1), True

1 < 5 < 10, True

1 < 5 < 10, SyntaxError

bool('A'), False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?