

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
A series of questions and answers related to core programming concepts, covering topics such as data types, control structures, exception handling, and software development stages. It offers a basic understanding of these concepts, suitable for beginners in programming.
Typology: Exams
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Byte - ANS-It uses the least amount of memory, but still holds numbers up to 255. Integral data types - ANS-Ex. include byte, integer, short, and long; store whole numbers—such as the number of goals a player has scored Floating point data types - ANS-Examples like float, single, and double can represent numbers that include fractional data, such as a player's height. Value data types - ANS-These go on the stack. Reference data types - ANS-These go on the heap. Nesting - ANS-Placing control structures inside other control structures is called What kind of expression must the code in the parentheses of an if-statement be in: - ANS-Boolean What do logical operators allow programmers to do? - ANS-Join two expressions For loops work best when? - ANS-The number of iterations is known and is unlikely to change The Software Architect is sometimes also called the: A. Product Owner. B. Program Manager. C. Solution Designer. D. System Administrator. - ANS-B. Program Manager. How many times does a do while loop execute? - ANS-At least one time. Unlike a do-while loop, a while loop may not execute at all! The While loop - ANS-Executes a statement or block of statements repetitively based on a Boolean expression.
The Do While Loop - ANS-Is similar to a while loop, but the Boolean expression is not checked until after the code executes. Try-catch - ANS-The code structure that will handle an exception An exception - ANS-An object that contains information about an error. Developers use the terms throw and catch when talking about exceptions. When an exception occurs it is thrown. Therefore, you should catch any exceptions your program may encounter. Try statement - ANS-Seen as a warning to the computer that you're about to try something that may not work. The catch block - ANS-It executes if the exception does occur. You can leave this block empty but generally it's good to put your "backup plan" in the catch block. Which stage describes the different technologies that would help solve the existing business problem to create an application? A. Development B. Design C. Requirements D. Analysis E. Operate - ANS-B. Design During which stage do you describe the business intention of an application you are creating? A. Requirements B. Design C. Analysis D. Operate E. Development - ANS-A. Requirements. What is the name of the drawings created as part of a storyboard? A. Actors