


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This quiz covers fundamental programming concepts relevant to computer games development, including data types, variables, operators, conditional statements, loops, and libraries. It provides definitions and examples for each concept, making it a useful resource for beginners in game development or those seeking a quick review of core programming principles.
Typology: Exams
1 / 4
This page cannot be seen from the preview
Don't miss anything!



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)