Computer Science Course Foundations of Computer Science Module 1 of 5 Time elapsed: 0s What is the primary focus of Computer Science? Developing hardware components Designing user interfaces Studying computation, algorithms, and information processing Writing mobile apps for smartphones Which of these is the best definition of Computer Science? The study of how to improve personal computing devices The study of computer programming languages The study of the principles and techniques used to process information The creation of operating systems for computers What is programming? Designing hardware for a computer Writing code to make a computer execute specific tasks Creating graphical user interfaces Storing data on a hard drive Which of the following is a high-level programming language? Machine code Assembly language Python Binary code Which of the following is a data type in programming? Array Loop Integer Function What does the assignment operator `=` do in most programming languages? It compares two values It assigns a value to a variable It defines a function It initializes a loop Which control structure is used to execute a block of code multiple times based on a condition? If-else statement For Loop Switch case Function call What does an if-else statement do in programming? Repeats a block of code Checks a condition and runs different code based on the result Stores data in a variable Declares a function What is a function in programming? A type of variable A block of code that performs a specific task A control structure for making decisions A storage for a collection of data Which keyword is used to define a function in Python? Define Function Def Func Submit Answers