
JavaScript Switch Statement Quiz

Interactive Video
•
Computers
•
9th - 10th Grade
•
Hard
Jennifer Brown
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang pangunahing layunin ng switch statement sa JavaScript?
Upang magpatakbo ng code base sa isang function
Upang magpatakbo ng code base sa isang loop
Upang magpatakbo ng code base sa pagkakapantay-pantay
Upang magpatakbo ng code base sa isang kondisyon
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang mangyayari kung walang break statement sa isang switch case?
Ang code ay magtatapos agad
Ang code ay magpapatuloy sa susunod na case
Ang code ay titigil sa kasalukuyang case
Ang code ay magbabalik ng error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bakit mahalaga ang break statement sa loob ng switch statement?
Upang magpatuloy sa susunod na case
Upang magtapos ng isang loop
Upang magpatakbo ng isang function
Upang pigilan ang pagtakbo ng lahat ng code blocks
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang gamit ng default keyword sa switch statement?
Upang magpatakbo ng code kapag walang case na tumugma
Upang magpatakbo ng code sa huling case
Upang magpatakbo ng code sa unang case
Upang magpatakbo ng code sa lahat ng case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paano mo maihahandle ang mga hindi tinukoy na cases sa isang switch statement?
Gamit ang else statement
Gamit ang continue statement
Gamit ang default keyword
Gamit ang return statement
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang mangyayari kapag ang isang case ay walang break statement?
Ang code ay magtatapos agad
Ang code ay magbabalik ng error
Ang code ay magpapatuloy sa susunod na case
Ang code ay magpapatuloy sa simula ng switch
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paano mo maipapakita ang parehong code block para sa maraming cases sa isang switch statement?
Gamit ang parehong case number
Gamit ang else statement
Gamit ang paglalagay ng maraming case bago ang code block
Gamit ang pag-uulit ng code block
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Debate sa Puso at Isip

Interactive video
•
7th - 10th Grade
8 questions
IMPORMAL NA SEKTOR - PART 1

Interactive video
•
9th Grade
11 questions
Quiz sa Barangay at SK Elections 2018

Interactive video
•
9th - 10th Grade
6 questions
Intro to Data Structures and Algorithms Quiz

Interactive video
•
9th - 10th Grade
11 questions
Balancing Redox Reactions Quiz

Interactive video
•
9th - 10th Grade
11 questions
Pagsusulit sa Pagsosolve ng Work Problems

Interactive video
•
9th - 10th Grade
6 questions
Tahanan ng Isang Sugarol

Interactive video
•
9th Grade
11 questions
Intro to Data Structures and Algorithms Quiz

Interactive video
•
9th - 10th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade