Homework 1 Data types and operaations

Quiz
•
Computers
•
9th - 10th Grade
•
Hard
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
Similar Resources on Wayground
17 questions
Variables

Quiz
•
9th - 12th Grade
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
20 questions
T2 ASK (BAB1-3)

Quiz
•
9th Grade
16 questions
Tipul de date STRING

Quiz
•
9th - 12th Grade
15 questions
Evaluasi Basis Data Kelas 9

Quiz
•
9th Grade
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
20 questions
PERSEKITARAN KOD ARAHAN FORM2

Quiz
•
9th Grade
15 questions
C Programming

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade