
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!
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
19 questions
Fall Final 1A & 1B
Flashcard
•
10th Grade
24 questions
exam 23 Engineering Concepts and Processes
Flashcard
•
12th Grade - University
24 questions
Roman Republic to Empire to Fall
Flashcard
•
9th - 12th Grade
20 questions
Algebra
Flashcard
•
9th - 10th Grade
20 questions
Multiplying Polynomials
Flashcard
•
9th - 12th Grade
20 questions
Основы логарифмов для 10 класса
Flashcard
•
10th Grade
20 questions
Number Names 1-10000
Flashcard
•
12th Grade
27 questions
Biotechnology Review
Flashcard
•
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