Cs50 week 1 Questions And Answers.
Cs50 week 1 Questions And Answers. Argument - CORRECT ANSWER costumization within a function n- - CORRECT ANSWER hits return on your keyboard While - CORRECT ANSWER do over and over when ______ is the case True - CORRECT ANSWER is always true, no matter what, so "while (true)" leads to a forever loop For - CORRECT ANSWER functions like 'while' but for defiente loops For loop - CORRECT ANSWER (int i = __; i __; i++) when i is less than a certain number, lets you preform an action a certain number of times heirachal simplifixation - CORRECT ANSWER make things functions, de clutter your main function, and reuse functions variable - CORRECT ANSWER usually set to zero, "int i = 0" (if integer) Boolean - CORRECT ANSWER questions that are yes or no, "i 50" or "x y" (so long as you've declared them) Conditions - CORRECT ANSWER set a condtion that must be met in order for the respective code to run, start with 'if' everthing in middle 'else if' end with 'else' Arrays - CORRECT ANSWER usually called 'argv', a list of varibles contained within one varible, declared as argv[*amount in list*], fetch from list with argv[*number of list item*]
Document information
- Uploaded on
- May 26, 2024
- Number of pages
- 5
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers