Quiz
GEOM 73 - Programming Concepts
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (10)
1A memory location that can store a value is called a ____.
- Afunction
- Barray
- Ckeyword
- Dvariable
- Estatement
2A set of rules that dictate how words and symbols can be put together to form valid program statements is called ____.
- Aa program
- Ba programming language
- Can algorithm
- Dlogic
- Esyntax
3Using a conditional statement to allow for choosing between two or more execution paths is called ____.
- Abranching
- Bselecting
- Citeration
- Dlooping
4A programming technique used to execute a block of code multiple times is called ____.
- Arepetition
- Bcontrolling
- Clooping
- Dselection
- Ebranching
5How many different values can a Boolean contain?
- A0
- B1
- C2
- D3
- E5
6A collection of data elements that are organized in some way is called a(n) ____.
- Aalgorithm
- Bdata type
- Cdata structure
- Dstring
- Eclassification
- Farray
7Which one of the following is a valid Python if statement?
- Aif a >= 22
- Bif (a = > 17):
- Cif a >= 17:
- Dif (a >= 17)
8How do you create a variable called count that is equal to 17?
- Avar count = 17
- Bvariable count = 17
- Ccount == 17
- Dassign 17 to count
- Ecount = 17
9The variable element is an integer. How would you cast this variable into text?
- Acast element to text
- Bstr(element)
- Cstring(element)
- Dcast element to string
- Etext(element)
10Which of the following can be used to comment out a line of code?
- A*
- B//
- C#
- D(comment)
- E[ ]
Information
- Description
- Geography Quiz on GEOM 73 - Programming Concepts, created by Maggie Samson on 16/04/2019.
- Author
- Maggie Samson
- Language
- English
- Views
- 15
- Tags
- Rating
- No ratings yet Rate this quiz