



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 comprehensive set of questions and answers related to programming concepts, focusing on agile and waterfall methodologies, sdlc phases, and uml diagrams. It covers topics such as hierarchical debugging, coding libraries, markup languages, object-oriented programming, compiled vs. Interpreted languages, and data types. The material is designed to help students prepare for programming exams by testing their knowledge of key concepts and terminology. It also includes practical examples and definitions to enhance understanding.
Typology: Exams
1 / 7
This page cannot be seen from the preview
Don't miss anything!




Which phase of an agile approach would define a hypothesis to find a problem in a program? - Testing Which phase of an agile approach would create an executable program? - Implementation Which phase of an agile approach would create a list of components needed to build an online auction site? - Design Which phase of a waterfall approach defines a program's goals? - Analysis Hierarchical Debugging - Dividing the statements into regions and inserts one debug output statements after each region What is a coding library? - a set of pre-written functions that carry out common tasks, that programmers can use to improve productivity. Define Library Functions - Functions that relate to the same purpose (i.e., teacher, student, grades) What is a characteristic of a Markup Language? - Allows a developer to describe a document's content, formatting
What is the main characteristic of Object-Oriented Language - It supports decomposing programs into objects (C++, Java, Python, C#) What is the main characteristic of Interpreted/Scripting Language - It runs sequential statements by another program called an interpreter (Python, Javascript) What is the main characteristics of a Compiled Language? - A program which is converted by a compiler into machine code which runs on particular machines (C++, Java) What is SDLC? - The System Development Life Cycle is the development phases of programs What does a programmer do first to use an existing programming library? - Include the library What relationship is common among a programming library's functions? - Functions all relate to the same purpose. What is an advantage of using a programming library? - The code has already been tested. Which language is dynamically typed? - Python Which language is not built on object-oriented design principles? - C
Which characteristic specifically describes interpreted language? - They can run on any machine having the right interpreter Which data type is used for items that are measured in length? - Float What is the purpose of parentheses () in a programming expression? - To group expressions Which data type should be used to keep track of how many planes are in a hanger? - Integer What is a valid user-defined function name? - Variable identifier What is the return value of a function? - Output of a function When should a programmer develop an algorithm to solve a problem? - Before writing a program to solve the problem. Which phase of a waterfall approach would create a sequence diagram that specifies the required order of events between completed program components?
What are the four phases of SDLC? - Analysis, Design, Implementation, and Testing What is the Agile (Spiral) Approach? - A program built by doing small amounts of each SDLC phases in sequence, then repeating the process What does UML mean and what is its definiton? - Univeral Modeling Language is a model for software design that uses different types of diagrams to visualize the structure and behavior of programs What are the three diagrams that UML consists of? - A structure diagram, a behavioral diagram, a sequence diagram What is a structural diagram? - it visualizes static elements of software, such as the types of variables and functions used in a program What is a behavioral diagram? - It visualizes dynamic behavior of a software, such as the flow of an algorithm What are the two behavioral diagrams of UML? - A case diagram and a sequence diagram What is the structural diagram of UML? - A class diagram
SDLC - Define the Testing Phase - Checks that the program correctly meets goals What is a popular Markup Language? - HTML: describes texts, links, images, and other features What is a characteristic of Interpreted/Scripting Language - Dynamically typed - changing variables What is an advantage of Interpreted/Scripting Language - Runs on most machines with an interpreter What is a characteristics of a Compiled Language? - Statically-typed - constant variable declaration What is an advantage of a Compiled Language? - Runs faster than interpreted language