GEOM 73 - Programming Concepts

Description

Geography Quiz on GEOM 73 - Programming Concepts, created by Maggie Samson on 16/04/2019.
Maggie Samson
Quiz by Maggie Samson, updated more than 1 year ago
Maggie Samson
Created by Maggie Samson about 5 years ago
6
0

Resource summary

Question 1

Question
A memory location that can store a value is called a ____.
Answer
  • function
  • array
  • keyword
  • variable
  • statement

Question 2

Question
A set of rules that dictate how words and symbols can be put together to form valid program statements is called ____.
Answer
  • a program
  • a programming language
  • an algorithm
  • logic
  • syntax

Question 3

Question
Using a conditional statement to allow for choosing between two or more execution paths is called ____.
Answer
  • branching
  • selecting
  • iteration
  • looping

Question 4

Question
A programming technique used to execute a block of code multiple times is called ____.
Answer
  • repetition
  • controlling
  • looping
  • selection
  • branching

Question 5

Question
How many different values can a Boolean contain?
Answer
  • 0
  • 1
  • 2
  • 3
  • 5

Question 6

Question
A collection of data elements that are organized in some way is called a(n) ____.
Answer
  • algorithm
  • data type
  • data structure
  • string
  • classification
  • array

Question 7

Question
Which one of the following is a valid Python if statement?
Answer
  • if a >= 22
  • if (a = > 17):
  • if a >= 17:
  • if (a >= 17)

Question 8

Question
How do you create a variable called count that is equal to 17?
Answer
  • var count = 17
  • variable count = 17
  • count == 17
  • assign 17 to count
  • count = 17

Question 9

Question
The variable element is an integer. How would you cast this variable into text?
Answer
  • cast element to text
  • str(element)
  • string(element)
  • cast element to string
  • text(element)

Question 10

Question
Which of the following can be used to comment out a line of code?
Answer
  • *
  • //
  • #
  • (comment)
  • [ ]
Show full summary Hide full summary

Similar

Geography Quiz
PatrickNoonan
Geography Coastal Zones Flashcards
Zakiya Tabassum
Using GoConqr to study geography
Sarah Egan
All the Countries of the World and their Capital Cities
PatrickNoonan
Tectonic Hazards flashcards
katiehumphrey
Volcanoes
1jdjdjd1
River Processes and Landforms
1jdjdjd1
GCSE Geography - Causes of Climate Change
Beth Coiley
The Rock Cycle
eimearkelly3
Plate Tectonics
eimearkelly3
Characteristics and Climate of a hot desert
Adam Collinge