Docsity

Computer Games Development Quiz: Fundamental Programming Concepts, Exams of Computer Science

Toggle sidebar
bg1
Computer Games Development Revised
Quiz
What are copyright rights? - Answer-Rights that apply to creative
works
What is a command? - Answer-Instruction to a computer to
perform a task
print("Hello World")
What are comments? - Answer-Annotations added to code to
provide additional information
#comments will have a hashtag
What is debugging? - Answer-Process of finding and fixing
issues in a program
What is a program? - Answer-Collection of commands
What is Python? - Answer-General purpose programming
language
What is syntax? - Answer-Structure of statements in a computing
language
What is a variable? - Answer-Way of storing and keeping track of
data
score = 0
What is a string? - Answer-Data type that is a sequence of
characters
"How are you?"
pf3
pf4

Partial preview of the text

Download Computer Games Development Quiz: Fundamental Programming Concepts and more Exams Computer Science in PDF only on Docsity!

Computer Games Development Revised

Quiz

What are copyright rights? - Answer -Rights that apply to creative works What is a command? - Answer -Instruction to a computer to perform a task print("Hello World") What are comments? - Answer -Annotations added to code to provide additional information #comments will have a hashtag What is debugging? - Answer -Process of finding and fixing issues in a program What is a program? - Answer -Collection of commands What is Python? - Answer -General purpose programming language What is syntax? - Answer -Structure of statements in a computing language What is a variable? - Answer -Way of storing and keeping track of data score = 0 What is a string? - Answer -Data type that is a sequence of characters "How are you?"

What is an integer? - Answer -Data type that is a whole number e.g. 7 What is a float? - Answer -Decimal number e.g 7. What is a boolean? - Answer -Data type that can only have True or False values What is a conditional statement? - Answer -Piece of code that contains an if, if/elif or if/else What are operators? - Answer -Specific symbols that carry out mathematical, comparator, and/or logical statements What is a loop? - Answer -Code that repeats a block until a set condition is met What is a while loop? - Answer -Loop that repeats a block until a set condition is met What is an if statement? - Answer -Conditional statement that picks a path based on a condition provided What is an elif statement? - Answer -Conditional statement that picks a path if the previous condition(s) are False and its own condition is True What is an else statement? - Answer -Conditional statement that picks a path if all previous conditions are False What is a library/module? - Answer -Collection of resources and commands

What is the greater than operator? - Answer -Operator > What is the text colour green? - Answer -setTextColour(GREEN)