
JavaScript JSON and Loops Quiz
Interactive Video
•
Computers
•
9th - 10th Grade
•
Practice Problem
•
Hard
Nancy Jackson
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang pangunahing layunin ng 'for in' loop sa JavaScript?
Mag-iterate sa mga elemento ng set
Mag-iterate sa mga elemento ng array
Mag-iterate sa mga key ng isang JSON object
Mag-iterate sa mga character ng string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paano mo ma-access ang value ng isang key sa JSON gamit ang 'for in' loop?
Gamitin ang key bilang index sa array
Gamitin ang key sa loob ng curly braces
Gamitin ang key sa loob ng square brackets
Gamitin ang key sa loob ng parentheses
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paano mo maipapakita ang lahat ng keys at values ng isang JSON object sa console?
Gamitin ang 'for of' loop at console.log()
Gamitin ang Object.entries() at console.log()
Gamitin ang Object.values() at console.log()
Gamitin ang 'for in' loop at console.log()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang gamit ng string template literals sa JavaScript?
Para sa pag-define ng arrays
Para sa pag-define ng functions
Para sa pag-format ng strings na may variables
Para sa pag-define ng objects
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang ginagawa ng Object.keys() method sa JavaScript?
Nagbabalik ng lahat ng methods ng isang JSON object
Nagbabalik ng lahat ng keys ng isang JSON object sa array format
Nagbabalik ng lahat ng properties ng isang JSON object
Nagbabalik ng lahat ng values ng isang JSON object
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ano ang pagkakaiba ng paggamit ng 'for in' loop at Object.keys() method?
'For in' loop ay mas mabilis kaysa sa Object.keys()
Walang pagkakaiba sa kanilang paggamit
Object.keys() ay nagbabalik ng array ng keys, habang 'for in' loop ay nag-iiterate sa keys
'For in' loop ay nagbabalik ng array ng keys, habang Object.keys() ay nag-iiterate sa keys
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Paano mo malalaman ang bilang ng keys sa isang JSON object?
Gamitin ang Object.count()
Gamitin ang Object.size()
Gamitin ang Object.length()
Gamitin ang Object.keys().length
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
6 questions
Mass and Weight
Interactive video
•
9th - 10th Grade
8 questions
5 weird ways to put out a candle
Interactive video
•
10th - 12th Grade
8 questions
Sektor ng Paglilingkod
Interactive video
•
9th Grade
6 questions
Sektor ng Industriya1
Interactive video
•
9th Grade
11 questions
Globalisasyon
Interactive video
•
10th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade