Grok Module 7 Practice

Flashcard
•
Computers
•
7th - 8th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What one of these is a Float? True, 25, "10.8", 10.0
Back
10.0
Answer explanation
10.8 looks like a float but it is a string since it has double quotes around the number. The correct answer is 10.0
2.
FLASHCARD QUESTION
Front
Given the following: message = "I can learn hard things" Which index value will return the letter "e"?
Back
message[7]
Answer explanation
The index starts at zero and you include the spaces in the count. Therefore, "e" is located at index 7.
3.
FLASHCARD QUESTION
Front
Given the following:
message = "I can learn hard things"
What index will return the last letter in a message?
Back
message[-1]
Answer explanation
When you use a negative index it starts at the end of the message. So to access the last letter you back up one time and use message[-1]
4.
FLASHCARD QUESTION
Front
Given the following:
message = "I can learn hard things"
What index value is the same as message[-1]?
Back
message[len(message) - 1]
Answer explanation
The letter "s" is located at index 22. Don't forget the index starts at 0.
message[len(message) - 1] is the same as message[-1]. They both will access the last letter in the message.
The len(message) is 23. Therefore is you subtract one you get index 22.
5.
FLASHCARD QUESTION
Front
What letter is in name[4] for Ms. Allie Parham?
Back
A
Answer explanation
The index starts at 0 and you must count the symbols (the period) and the spaces. The correct answer when you do it this way is "A"
6.
FLASHCARD QUESTION
Front
How do you represent 15 in binary?
Back
1111
Answer explanation
Using column values. Add up each column that contains a 1. For example
8 4 2 1
1 0 1 0
This would give you 8+2 = 10 so the binary representation for 10 is 1010. Therefore to represent 15 you would need binary 1111 which gives you 8+4+2+1 = 15
7.
FLASHCARD QUESTION
Front
What is the decimal value for the binary number 1101?
Back
13
Answer explanation
To calculate the decimal value for the binary number 1101, use the column values
8 4 2 1
----------
1 1 0 1
You add the columns with a one:
8+4+1 = 13
Create a free account and access millions of resources
Similar Resources on Wayground
9 questions
Java Flashcard 1

Flashcard
•
6th - 8th Grade
5 questions
Gmetrix 2019 PPT Simulation Test 1 Q's 16-20

Flashcard
•
6th - 8th Grade
10 questions
8th Grade RLA: Unit 01 Flashcards

Flashcard
•
8th Grade
10 questions
Coordinate Graphing

Flashcard
•
8th Grade
7 questions
The secret from Keyhole island

Flashcard
•
KG - 10th Grade
11 questions
Unit 10 Strings

Flashcard
•
8th Grade
15 questions
Letter Writing

Flashcard
•
7th Grade
15 questions
Solving 2 Step Equations (Word Problems)

Flashcard
•
7th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade