Floats & Strings
Quiz by Jessie Cunningham
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
5 questions
Show answers
- Q1Which code would I use if I wanted to print the 3rd letter in the variable bob.print bob[2]printprint bob[3]print bob120s
- Q2What variable type would store a decimal?stringvariableintfloat120s
- Q3I have a variable named bob containing "hellobob". If I wanted to just print "hello" what would I do?print bob[0]print bob[0:5]print bob[5]print bob120s
- Q4If I wanted to print out an entire string named str, how would I do it?print strprint stringprint(string)str print120s
- Q5If I wanted to know the length of a string named str, how would I find it?len[str]len(str)length(str)length120s