Homework 1 Data types and operaations

Homework 1 Data types and operaations

9th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

T2 ASK (BAB1-3)

T2 ASK (BAB1-3)

9th Grade

20 Qs

Tipul de date STRING

Tipul de date STRING

9th - 12th Grade

16 Qs

Evaluasi Basis Data Kelas 9

Evaluasi Basis Data Kelas 9

9th Grade

15 Qs

Java Casting & Booleans

Java Casting & Booleans

10th - 12th Grade

20 Qs

Computer Programming Revision - Unit 1 to 4.3

Computer Programming Revision - Unit 1 to 4.3

10th Grade

20 Qs

ALGORITMA

ALGORITMA

10th Grade

20 Qs

CMU CS Academy Unit

CMU CS Academy Unit

9th Grade

15 Qs

Algoritma, Tipe Data, Operator Aritmatika

Algoritma, Tipe Data, Operator Aritmatika

10th Grade

20 Qs

Homework 1 Data types and operaations

Homework 1 Data types and operaations

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

Ed Smith

Used 1+ times

FREE Resource

16 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

State the values of expression after the following operations are carried out:

(a)        a ← 26 mod 5

2.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

State the values of expression after the following operations are carried out:

(b)        b ← 142 div 7

3.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

State the values of expression after the following operations are carried out:

(c)        c ← (7 + 3) * 4 – 1 

4.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

State the values of expression after the following operations are carried out:

(d)        d ← 15.6 / 3 + 4.8 / 2

5.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

State the values of expression after the following operations are carried out:

(e)        e ← "4" + "56"

6.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

The function CHAR_TO_CODE('a') evaluates to 97, the ASCII value of the character ‘a’.

       CODE_TO_CHAR(97) evaluates to 'a'.

            State what is output by this algorithm:

x ← CHAR_TO_CODE('b')

7.

FILL IN THE BLANK QUESTION

5 mins • 1 pt

The function CHAR_TO_CODE('a') evaluates to 97, the ASCII value of the character ‘a’.

       CODE_TO_CHAR(97) evaluates to 'a'.

            State what is output by this algorithm:

y ← x + 1

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?