[2points] Which has a lower music frequency for coding music?

M2 Quiz

Quiz
•
Computers
•
8th Grade
•
Hard
Neil Rusia
Used 14+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
#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
8.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
[2 points] This code has a bug. How will you fix and rewrite the correct code?
tone(8 melody[4] noteDurations[4]);
tone(8, melody[4] noteDurations[4]);
tone(8 melody[0] noteDurations[0]);
tone(8, melody[4], noteDurations[4]);
tone(8 melody[4] noteDurations[0]);
9.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
[2 points] In this code, what does the digit 0 mean?
int melody[]={
NOTE_D5, 0, NOTE_B3, NOTE_C4
};
It means the buzzer will be disconnected
It means the buzzer sound will play 1 time
It means the buzzer sound will pause the note
It means the buzzer will rotate 0 degrees angle
Similar Resources on Quizizz
10 questions
Evaluating Prefix / Postfix

Quiz
•
6th - 8th Grade
12 questions
Anime

Quiz
•
3rd - 11th Grade
10 questions
CSIM Lesson Two Review

Quiz
•
8th Grade
13 questions
Cloud Computing Terminology

Quiz
•
7th - 10th Grade
14 questions
Nonverbal Communication, Extension!

Quiz
•
7th - 12th Grade
10 questions
9 . Arduino Piano

Quiz
•
6th - 8th Grade
10 questions
Comp8 code.org Unit 6A L3 Quiz

Quiz
•
8th Grade
10 questions
1º ESO Electricity

Quiz
•
7th - 8th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade