
JavaScript JSON and Loops Quiz

Interactive Video
•
Computers
•
9th - 10th Grade
•
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
Create a free account and access millions of resources
Similar Resources on Wayground
6 questions
Pag-unawa kay Val

Interactive video
•
7th - 10th Grade
11 questions
Kasaysayan ng Sultanato at Digmaang Moro

Interactive video
•
7th - 10th Grade
11 questions
Purgatoryo: Ang Paglalakbay ng Kaluluwa

Interactive video
•
9th - 12th Grade
11 questions
Kasaysayan ng mga Dinastiya sa Tsina

Interactive video
•
9th - 12th Grade
11 questions
Kwento ng Aswang sa Palawan

Interactive video
•
10th - 12th Grade
11 questions
Mga Layunin at Pamamaraan ng Video

Interactive video
•
8th - 10th Grade
9 questions
Ang Kahon ni Pandora

Interactive video
•
10th Grade
6 questions
Pag-unawa sa Relasyon at Sarili

Interactive video
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade