Exam 3: Variables, Functions, Math, and Strings
Exam 1: Introduction to Alice and Objects52 Questions
Exam 2: Programming in Alice48 Questions
Exam 3: Variables, Functions, Math, and Strings46 Questions
Exam 4: Decision Structures30 Questions
Exam 5: Repetition Structures20 Questions
Exam 6: Methods, Functions, and More About Variables46 Questions
Exam 7: Events46 Questions
Exam 8: Lists and Arrays48 Questions
Exam 9: Recursion28 Questions
Select questions type
String ___________________ is used to join two strings together.
Free
(Short Answer)
4.8/5
(34)
Correct Answer:
concatenation
Which of the following functions could be used to input the user's first name?
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
D
The ___________________ function is used to input a numeric value from the user.
Free
(Short Answer)
4.7/5
(46)
Correct Answer:
ask user for a number
When a local variable is declared, which of the following can be set?
(Multiple Choice)
4.8/5
(38)
A(n) ___________________ variable holds an argument that is passed to a method.
(Short Answer)
4.8/5
(38)
Which of the following variable types should be used to store someone's age?
(Multiple Choice)
4.9/5
(38)
Given that the variable hours has a value of 10, the following expression would evaluate to what value?
hours / 5 + 2
(Short Answer)
4.9/5
(27)
Which of the following categories of variables are available in Alice?
(Multiple Choice)
4.8/5
(42)
The ___________________ functions return values indicating an object's proximity to another object.
(Short Answer)
5.0/5
(37)
The ___________________ function is used to input a Boolean value from the user.
(Short Answer)
4.7/5
(38)
A(n) ___________________ variable can hold one of two values: true or false.
(Short Answer)
4.9/5
(44)
Which category of primitive functions returns values indicating an object's distance or nearness to another object?
(Multiple Choice)
4.8/5
(34)
A parameter is a storage location that is represented by a name.
(True/False)
4.9/5
(33)
Showing 1 - 20 of 46
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)