Topic 1 TEST review
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

26 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Boolean is
Back
True/False Value
Answer explanation
Boolean refers to a data type that can hold one of two values: true or false. This makes 'True/False Value' the correct choice, as it accurately describes the fundamental nature of Boolean logic.
2.
FLASHCARD QUESTION
Front
Which operator checks if a value is equal to another value?
Back
==
Answer explanation
The operator '==' checks if two values are equal. The single '=' is used for assignment, while '!=' checks for inequality. Therefore, '==' is the correct choice for checking equality.
3.
FLASHCARD QUESTION
Front
What data type is "67" ?
Back
string
Answer explanation
The data type "67" is a string because it is enclosed in quotes. In programming, anything within quotes is treated as a string, regardless of its numeric appearance.
4.
FLASHCARD QUESTION
Front
What data type is 12.0? Options: string, int, float, boolean
Back
float
Answer explanation
The value 12.0 is a decimal number, which is classified as a float in programming. Unlike integers (int), floats can represent fractional values, making 'float' the correct data type for 12.0.
5.
FLASHCARD QUESTION
Front
Which variable correctly stores a string value? Options: greeting = hello, greeting = 81, greeting = "hello", greeting = 45.8
Back
greeting = "hello"
Answer explanation
The correct choice is 'greeting = "hello"' because it uses double quotes to define a string. The other options either lack quotes or contain numeric values, which do not represent strings.
6.
FLASHCARD QUESTION
Front
How can you compare if two things are not equal?
Back
!=
Answer explanation
To compare if two things are not equal, the correct operator is '!='. This operator is commonly used in programming languages to denote inequality, while 'not equals' and 'NOT EQUALS' are not standard syntax.
7.
FLASHCARD QUESTION
Front
What type of data is the following?: X = "195.67"
Back
String
Answer explanation
The value X = "195.67" is enclosed in quotes, indicating it is a string. Although it represents a number, it is not treated as a float or integer in this context because it is a sequence of characters.
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
20 questions
Al Kulliyat Al Khamsah
Flashcard
•
10th Grade
19 questions
Persamaan garis lurus
Flashcard
•
8th Grade
19 questions
Class X History Ch-1 Nationalism in India
Flashcard
•
10th Grade
18 questions
direction
Flashcard
•
8th Grade
20 questions
Hari Kartini
Flashcard
•
7th - 8th Grade
15 questions
philippine history
Flashcard
•
8th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade