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
18 questions
0 - Découverte de BNSSA
Flashcard
•
KG
17 questions
ĐỀ CƯƠNG ĐỊA LÝ GK1-L7
Flashcard
•
7th Grade
20 questions
Irregular Verbs
Flashcard
•
9th Grade
21 questions
LOGARYTMY
Flashcard
•
9th Grade
18 questions
Soal Transformator
Flashcard
•
9th Grade
20 questions
CAUTION, NOTICE, WARNING
Flashcard
•
8th Grade
15 questions
Pelaku Ekonomi
Flashcard
•
8th Grade
21 questions
Environmental Awareness and Global Warming
Flashcard
•
KG
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