
M2 Quiz
Authored by Neil Rusia
Computers
8th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2points] Which has a lower music frequency for coding music?
#define NOTE_AS7 3729
#define NOTE_AS6 1865
2.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2 points] In programming, what do you call a list or collection of elements of the same data type?
loop
variable
array
setup
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
[2 points] In coding, how will you access NOTE_D5 in this array?
int melody[ ]={
NOTE_D5, NOTE_G3, NOTE_D5, NOTE_A3, NOTE_G3, 0, NOTE_B3, NOTE_C4
};
tone(8, melody[3], noteDurations[3]);
tone(8, melody[1], noteDurations[1]);
tone(8, melody[0], noteDurations[0]);
tone(8, melody[2], noteDurations[2]);
4.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2 points] What does this code mean?
tone(8);
Buzzer to connect should be 8 pieces
Buzzer is going to play sound for 8 times
Buzzer is connected to pin number 8
Buzzer will rotate in 8 degrees angle
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2 points] How will you access the number/digit 8 in this array?
int noteDurations[ ]={
4,8,4,4,4,4,4,4
};
tone(8, melody[0], noteDurations[0]);
tone(8, melody[1], noteDurations[1]);
tone(8, melody[2], noteDurations[2]);
tone(8, melody[3], noteDurations[3]);
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
[4 points] What is the bug in this code?
in melody[ ]={
NOTE_A6, NOTE_B6, NOTE_C7
};
in should be written as int
in should be written as intl
missing semi-colon symbol
missing comma symbol
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2 points] What do you call a useful component that allows the programmer to give a name to a constant value before the program is compiled?
var
int
#define
#arduino
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
14 questions
Assesment Formatif Akhir Bab I Berpikir Komputasional Kelas VIII
Quiz
•
8th Grade
10 questions
Quiz Dispositivos internos del PC
Quiz
•
6th - 8th Grade
10 questions
gigabyte, megabyte, kilobyte
Quiz
•
7th - 11th Grade
8 questions
prueba tus conocimientos de Ajedrez
Quiz
•
5th Grade - University
11 questions
3D Animation with Blender
Quiz
•
6th - 8th Grade
10 questions
Ukuran Data (Imej) ASK T1
Quiz
•
7th - 9th Grade
12 questions
Informatyka 7
Quiz
•
1st - 12th Grade
10 questions
Intro to Comp Sci: U2L1
Quiz
•
8th - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
11 questions
Valentines Day
Quiz
•
6th - 8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
25 questions
7th Reading STAAR Vocabulary
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day Trivia
Quiz
•
8th Grade