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
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
19 questions
Unit 4: Operators in Java

Quiz
•
9th - 10th Grade
18 questions
GCSE Computer Science Data types

Quiz
•
10th - 12th Grade
15 questions
Python Basics

Quiz
•
KG - University
20 questions
Java Casting & Booleans

Quiz
•
10th - 12th Grade
18 questions
STATIC KEYWORD IN JAVA

Quiz
•
9th - 12th Grade
20 questions
Programming - PSEUDOCODE (IGCSE)

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade