Computer Programming Exam Questions and Answers, Exams of Programming Languages

A series of exam questions and answers related to computer programming concepts. It covers topics such as the steps involved in computer programming, the software development process, debugging, programming languages, and flowchart elements. The questions are designed to test understanding of key concepts and terminology in computer programming, making it a useful resource for students studying introductory computer science or software development. It also includes questions about programming languages like c, java, and swift, as well as concepts like object-oriented analysis and top-down programming. This material is suitable for reinforcing learning and preparing for exams in computer programming courses. A comprehensive overview of fundamental programming concepts, suitable for students and learners interested in software development.

Typology: Exams

2024/2025

Available from 07/19/2025

mivon-brook
mivon-brook 🇺🇸

3.9K documents

1 / 14

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Computer Programming Exam Questions
And 100% Correct Answers
Which of the following are the steps involved in computer programming? -
ANSWER Categorizing which parts of a task a digital device can perform.
Describing the task in a precise manner.
Translating the task into the language the computer's CPU can use.
Even though computer programming is is an extremely challenging field
requiring a great deal of study and a particular mindset, two reasons to study
programming is that coders ___ . - ANSWER can often make time-saving small
programs called macros that increase their efficiency
tend to be well compensated
The first step of the software development process analyzes the goals of the
project and feasibility of the project from an economic and technical
perspective. - ANSWER planning
The beta version of software is sent out to beta testers who are asked to use the
software and report any issues they find. - ANSWER beta testing
The fixing/removing of errors in a computer program. - ANSWER debugging
The writing of instructions in a specific computer language. - ANSWER
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Computer Programming Exam Questions and Answers and more Exams Programming Languages in PDF only on Docsity!

Computer Programming Exam Questions

And 100% Correct Answers

Which of the following are the steps involved in computer programming? - ANSWER Categorizing which parts of a task a digital device can perform.

Describing the task in a precise manner.

Translating the task into the language the computer's CPU can use.

Even though computer programming is is an extremely challenging field requiring a great deal of study and a particular mindset, two reasons to study programming is that coders ___. - ANSWER can often make time-saving small programs called macros that increase their efficiency

tend to be well compensated

The first step of the software development process analyzes the goals of the project and feasibility of the project from an economic and technical perspective. - ANSWER planning

The beta version of software is sent out to beta testers who are asked to use the software and report any issues they find. - ANSWER beta testing

The fixing/removing of errors in a computer program. - ANSWER debugging

The writing of instructions in a specific computer language. - ANSWER

programming

Defining the problem, creating a plan, writing the code, testing the code, debugging the code, and documenting the program are the six steps of the Program ________ Life Cycle (PDLC). - ANSWER Development

The first step of the PDLC is __. - ANSWER defining the problem

Converting a task into commands that a computer can use to perform the task is one definition of ________ - ANSWER programming

The set of steps (the plan) that describe exactly what the computer program must do to complete the work is called ___. Creating this plan is the second step of the Program Development Life Cycle. - ANSWER ana algorithm

Two advantages of studying computer programming include: - ANSWER a basic understanding of computer programming can make you more knowledgeable when selecting software to meet your computing needs.

an understanding of programming allows you to join teams that create new applications or purchase new software.

The second phase of the software design process, the writing of software instructions in a specific computer language is called __. - ANSWER programming

Place the steps of the Program Development Life Cycle in the correct order with the first step at the top. - ANSWER 1. Defining the problem

  1. Creating the plan
  2. Writing the code

In computer programming, if a question can be answered as either yes or no, or true or false, it is referred to as a ________ decision. - ANSWER binary

After the problem has been clearly defined, the next step in the PDLC is to create the overall algorithm in the form of a plan. This plan is often written as a flowchart, and is in written in an ordinary language, such as ___. - ANSWER English

Which of the three following are parts of a loop? - ANSWER An initial value or question—the decision start point

A test condition that determines if the loop has been completed

A process in which the result can be true or false

A programming design that breaks down a problem into a series of tasks is called ___ programming. - ANSWER top-down

A graphical representation of a sequence of events, process, or an organizational structure, a __ is used to provide a reference point when dealing with a process. - ANSWER flowchart

When programmers first identify all the categories of inputs that are needed to solve the problem they often use ___. In this process the input categories are called classes and objects are example of the input item used in each class. - ANSWER object-oriented analysis

In computer programming, a question that can be answered as either yes or no, or true or false, is referred to as a ___ decision. - ANSWER binary

In the PDLC, once the plan or algorithm has been created, it is then translated into programming ____________ , a language that is friendlier to humans than the computer language that the CPU uses, but is still highly structured. - ANSWER code

In a flowchart, if a question leads to a sequence of actions, and once the sequence is completed the question is asked again, this element in the flowchart is referred to as a - ANSWER loop

Which of the following are correct statements about top-down programming design? - ANSWER In top-down design, tasks are broken down into binary questions.

Top-down design continues until the sequence of steps is aligned to the types of commands permitted by the programming language used for coding.

Top-down program design is an organized approach that breaks down a problem into a series of tasks.

The ability to reuse the objects that are created to produce a new computer code (reusability) is a main benefit of using object- _________ analysis. - ANSWER oriented

Rank the following programming language generations in generational order, with the most complex (highest generation) at the top. - ANSWER 1. Scripted language

  1. High-level programming language
  2. Assembly language
  3. Machine language

High-level programming language. Uses a compiler to convert into machine language.

Specifically designed for creating database management programs.

Extremely advanced. Uses statements (scripts) rather than algorithms.

The fifth revision of HTML that makes some integration of JavaScript animation and other types of multimedia easier and also provides many more tag elements is known as ___. - ANSWER HTML

Because the Unix operating system was the basis of most modern operating systems such as Windows and the macOS, the programming language ___, in which Unix was written, is arguably the most important programming language ever developed. - ANSWER C

A scripting language that uses scripts of HTML code to develop interactive websites and uses the syntax and operators used in Java is called __. - ANSWER JavaScript

A system that was designed to simplify data changes, sharing, transport, and availability of documents on the Web is ___. It wraps data into tags that can be displayed on the Web. - ANSWER eXtensible Markup Language (XML)

Which of the following two statements are true regarding C#? - ANSWER C# was originally called COOL (C-like Object Oriented Language)

C# and Java share many qualities and advantages, except that Java is more commonly used to write apps for Android-based phones while C# is used to write programs for Windows computers.

Which three of the following statements are correct about Ajax? - ANSWER Ajax makes web pages faster and more dynamic.

Ajax exchanges data without needing to change the data being displayed on the web page.

Ajax stands for asynchronous JavaScript and XML and is not a programming language or tool, but a set of programs.

A programming language introduced by Apple that allows programmers to develop software for iOS and OSX that is designed to be simpler to learn and use than Objective C is _______. It is often used with Cocoa. - ANSWER swift

Wyatt is a computer programmer who is working on a new smartphone application. As part of the software design he must use a __, which checks the source code for errors, and converts it into a machine language the processor can understand. - ANSWER compiler

A system that provides a way to display content on the web, including items such as tagged images, text, and other multimedia content, is called __ Markup Language (HTML). - ANSWER hypertext

The fourth step of the PDLC is _____. - ANSWER testing the code

JavaScript and VBScript are high-level programming languages that use small programs called ___ to create larger programs. - ANSWER scripts

The final steps in the PDLC process include testing, debugging, and documenting the software. When testing is conducted by potential customers of

The fourth step in the PDLC involves _______ the software or code of a computer program. - ANSWER testing

The final steps in the PDLC process include testing, debugging, and documenting the software. When testing is conducted by potential customers of the software, it's referred to as a ___ test. - ANSWER beta

To organize the process of creating or updating an information technology (IT) system for an organization, IT professionals often use the system development life cycle (SDLC). The six steps of the SDLC include system investigation, system analysis, system design, and which three of the following? - ANSWER system development

system maintenance

system implementation

Computer hardware and software that an organization uses to increase its performance is referred to as its ___. - ANSWER Information technology system

The first step of the system development life cycle (SDLC) attempts to determine the needs of the organization and is referred to as the ___ step. - ANSWER system investigation

The second step of the system development life cycle (SDLC) is the system ___ step. - ANSWER analysis

Which of the following three statements are true regarding the System Development Life Cycle (SDLC)? - ANSWER The SDLC has six steps and you cannot proceed to the next step until the current step is completed.

The SDLC attempts to ensure that the software that is developed meets organizational goals.

The SDLC attempts to ensure that the software that is developed can work as intended on multiple operating systems.

Place the steps of the system development life cycle (SDLC) in order with the first step at the top. - ANSWER 1. system investigation

  1. System analysis
  2. System design
  3. System development
  4. System implementation
  5. System maintenance

The third step of the system development life cycle (SDLC) is the system ___ step. - ANSWER design

The system development life cycle (SDLC) provides an organized methodology to develop a new information technology (IT) system for an organization. The first step attempts to determine the needs of the organization. It is referred to as the _______ step. - ANSWER investigation

Which step of the system development life cycle (SDLC) involves procuring, installing, and testing system software and hardware? - ANSWER the system development step

Which step of the system development life cycle (SDLC) involves collecting system use data and preparing system specifications? - ANSWER the system analysis step

written in an ordinary language, such as English. - ANSWER flowchart

Choose the program you would be using if you would like to write iPhone applications. - ANSWER swift

An object-oriented programming language used by Android phones and tablets to write apps is ________. - ANSWER java

A set of programs for exchanging data on a website without altering the display of the website is ________. - ANSWER AJAX

The second step in the PDLC is to create the plan or algorithm. This plan is usually written as a flowchart, and is in written in ________. - ANSWER English

The PDLC's coding phase uses which of the following languages? - ANSWER C++

To speed up the programming process while producing dynamic web pages, select the program that utilizes tiny programs called scripts. - ANSWER JavaScript

The programming language ________ makes it much quicker to create websites and web pages. - ANSWER JavaScript

The programming language of the third generation learned by most students when most computers used MS DOS was ________. It continues as a secure programming language to use 3rd party code and offers a standard for coding that readily integrates with other programming languages. - ANSWER BASIC

Instructions (software) that allow a computer (hardware) to be used are written

using specific symbols, letters, and numbers known as code or a programming ________. - ANSWER language

The initial phase in the program improvement life cycle is "Defining the ________." - ANSWER problem

Pseudocode is written in natural language but often includes programming ________ to assist in writing the program itself. - ANSWER shorthand

A process's graphical representation is called a ________. - ANSWER flowchart

Defining the problem is the ________ step in the Program Development Life Cycle. - ANSWER first

Even a small degree of programming skill can be beneficial. Many apps allow you to create mini-programs that reduce the number of routine steps required to complete a task. These mini-programs are called ________. - ANSWER macros

Which of these programs, by parsing XML documents, makes information more readable for programmers? - ANSWER JSON

AJAX stands for ________ JavaScript and XML. - ANSWER asynchronous