State the values of expression after the following operations are carried out:
(a) a ← 26 mod 5
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
18 questions
AP Computer Science A Post Unit 2 Check
Quiz
•
10th Grade - University
18 questions
GCSE Computer Science Data types
Quiz
•
10th - 12th Grade
19 questions
Unit 4: Operators in Java
Quiz
•
9th - 10th Grade
20 questions
X - Progdas - Array dan Fungsi
Quiz
•
10th Grade
20 questions
Code.org CSD Unit 3 Lessons 1-12
Quiz
•
3rd - 12th Grade
16 questions
Scratch Loops and patterns
Quiz
•
7th - 9th Grade
11 questions
J277 Programming - Data Types
Quiz
•
9th - 11th Grade
20 questions
Arduino
Quiz
•
10th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University