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
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
CPSC 217 Midterm 2 Exam With 100% Correct And Verified Answers 2024 Nested Loop - Correct Answer-A loop inside the body of another loop. Infinite loop - Correct Answer-When the loop condition is always satisfied --> Loop never ends Functions - Correct Answer-Block of code that accomplishes a single purpose, such asa calculating an average from a list of values, or printing a message to code Parameters - Correct Answer-Acts like a variable and holds the value we give tot he function when we call it Arguments - Correct Answer-inputs that a function takes in Functions overview - Correct Answer-1. Facilitate code reuse 2. Reduce code complexity 3. Easy maintenance Scope of Variables - Correct Answer-Are memory locations that are used for the temporary storage of data
Typology: Exams
1 / 3
Nested Loop - Correct Answer-A loop inside the body of another loop. Infinite loop - Correct Answer-When the loop condition is always satisfied --> Loop never ends Functions - Correct Answer-Block of code that accomplishes a single purpose, such asa calculating an average from a list of values, or printing a message to code Parameters - Correct Answer-Acts like a variable and holds the value we give tot he function when we call it Arguments - Correct Answer-inputs that a function takes in Functions overview - Correct Answer-1. Facilitate code reuse
Strings - Correct Answer-- Class (type) of objects that is represented as a sequence of characters in member