
JavaScript and Python Flashcard Challenge
Flashcard
•
Computers
•
11th Grade
•
Practice Problem
•
Medium
Wayground Content
Used 1+ times
FREE Resource
Student preview

30 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the data type of `null` in JavaScript?
Back
Object
2.
FLASHCARD QUESTION
Front
Which of the following is a mutable data type in Python? Tuple, String, List, Integer
Back
List
3.
FLASHCARD QUESTION
Front
What is the output of the following JavaScript code?
```javascript
console.log(typeof 42);
```
Back
"number"
4.
FLASHCARD QUESTION
Front
Which Python control structure is used to iterate over a sequence?
Back
For loop
5.
FLASHCARD QUESTION
Front
What is the purpose of the `return` statement in a JavaScript function?
Back
To exit a function and return a value
6.
FLASHCARD QUESTION
Front
Which of the following is a valid list comprehension in Python to create a list of squares of numbers from 0 to 4?
Options:
`[x^2 for x in range(5)]`,
`[x**2 for x in range(5)]`,
`[x*2 for x in range(5)]`,
`[x**2 for x in range(1,5)]`
Back
`[x**2 for x in range(5)]`
7.
FLASHCARD QUESTION
Front
What will be the output of the following JavaScript code?
```javascript
function greet() {
return "Hello, World!";
}
console.log(greet());
```
Back
Hello, World!
Create a free account and access millions of resources
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
25 questions
2ESO UNIT 1 Flashcards
Flashcard
•
10th Grade
21 questions
Java Flashcard-1
Flashcard
•
KG - University
20 questions
DNA, Replication, Central Dogma
Flashcard
•
9th - 12th Grade
22 questions
The Protestant Reformation
Flashcard
•
9th Grade
22 questions
Differences Between Manufacturing and Service Organizations
Flashcard
•
12th Grade
16 questions
IGCSE Thermal Physics Flashcard
Flashcard
•
10th Grade
16 questions
Derivatives on Product & Quotient Rule
Flashcard
•
12th Grade
24 questions
Crime Scene 42-48
Flashcard
•
10th - 12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade
20 questions
christmas songs
Quiz
•
KG - University