CS50 EXAM QUESTIONS CORRECTLY ANSWERED.
CS50 EXAM QUESTIONS CORRECTLY ANSWERED. Define "Function." - CORRECT ANSWER o Functions are action verbs that tell you to do some sort of action (ex. pick up, call, open to, etc) Define "conditionals." - CORRECT ANSWER o Conditionals are like a crossroad where we use "if" and "then" statements/concepts What are Boolean expressions? - CORRECT ANSWER o Boolean expressions are "yes"/"no" questions What can help us write, run, and translate our code? - CORRECT ANSWER Tools called IDEs, integrated development environments, will include features for us to write, translate, and run our code. How do we get a source code (spelled out code) and convert it into machine code (binaries)? - CORRECT ANSWER - In order to convert these words to zeros and ones, there's an algorithm for that called compilers. - Not all programming languages use compilers. C-language in fact, does use a compiler. What is a terminal? - CORRECT ANSWER - The purpose of a terminal is not to process information (like a typical computer), but to send commands to another system. For example, a network administrator may use a terminal to log in to a network and manage devices connected to the network. What is the /n function? - CORRECT ANSWER The n function is what tells the program to make a new line and so without it will show up as an error.
Written for
- Institution
- Harvard University
- Module
- CS50
Document information
- Uploaded on
- May 26, 2024
- Number of pages
- 2
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
cs50
-
cs50 exam questions correctly answered
Also available in package deal