Search Header Logo
Intro_Programming

Intro_Programming

Assessment

Presentation

Other

9th - 12th Grade

Practice Problem

Medium

Created by

Brandi Nguyen

Used 3+ times

FREE Resource

16 Slides • 5 Questions

1

media

Intro to Computer Programming

2

Multiple Choice

What does a programmer do?


1

Works with real-time databases in order to manage large quantities of data

2

Works with programming language(s) to write code for applications

3

Creates static web pages for informational purposes using only Hypertext Markup Language

4

Develops file storage systems for enterprise networks

3

media

CompTIA ITF+ Programming

A.

Works with programming language(s) to write code for applications

System administrators develop file storage systems for enterprise networks.

Web designers create static web pages for informational purposes using only Hypertext
Markup Language.

Database administrators work with real-time databases in order to manage large quantities
of data.

Computer Programmers work with one or more programming languages to write
code that is used as the basis for the applications you use on your computing
device.

4

media

CompTIA ITF+ Programming

What is a program BEST described as?

5

Multiple Choice

What is a program BEST described as?


1

Proprietary software to which the owner has exclusive rights

2

A mathematical equation utilizing compiled code to execute commands

3

A sequence of instructions for your computer to perform

4

 A piece of software designed for business to streamline commonly used tasks

6

media

CompTIA ITF+ Programming

C. A sequence of instructions for your computer to perform

Not all programs contain mathematical equations or use compiled code.
A program may have many uses, both personal and commercial.
Streamlining tasks is only one purpose a program could serve.

While a program could be proprietary, it doesn't have to be. Some software
programs are considered open source and are a compilation of contributing
developers around the world.

A program is a sequence of instructions for your computer to perform
that is designed by a computer.

7

media
media

CompTIA ITF+ Programming: SDLC

The Software Development
Life Cycle is a blueprint
designed for a team to
create, maintain, and fix
digital products.

8

media
media

CompTIA ITF+ Programming: Flow Charts

Flow Charts

A flow chart will visualize the graphical sequence of a
program.

This provides a visual representation of
program flow in the Analysis
or Design phase of the Software
Development Life Cycle.

9

media

CompTIA ITF+ Programming: Flow Charts

•Flow Charts

• All programs can be represented by flow charts
• 4 main symbols:

Oval: Start/End

Arrow: Path/Direction

Diamond: Decisions

(yes/no)

Rectangles: Processes

10

media
media

CompTIA ITF+ Programming

11

media

Flow Chart design for ordering a pizza

12

media
media

CompTIA ITF+ Programming

Flow charts are often turned
into pseudocode (pronounced
sudo-code) during the Design
phase of the SDLC

13

media

CompTIA ITF+ Programming

Pseudocode will provide a more detailed and human-readable form of
the algorithm.

Pseudocode is informal, high-level description of the algorithm

• Not a real programming language
• General idea of concepts

14

media
media

CompTIA ITF+ Programming

15

media
media

Pseducode algorithm for taking a pizza order:

Identify the pizza size selected

Identify the pizza base selected

Identify the topping choice selected

IF additional toppings required THEN

Add to the topping choice

ELSE

Identify if another pizza is to be added

END IF

IF another pizza is to be added THEN

Identify the pizza size, base and topping

ELSE

Calculate order price

Display order

END IF

CompTIA ITF+ Programming

16

media
media


What will this program do?

17

Multiple Choice

Question image

According to the flow chart and pseudocode, what will this program do?

1

This program will ask the user for input.

The user will type in all 5 numbers, n.

The program will print the sum of those 5 numbers.

The program will end

2

The program initializes the counters to zero

The user will input the first number, n

The program will calculate the sum

The program will increase the counter to 5

The program will print the sum of the number

The program will end

3

The program initializes the counters to zero

The user will input the first number, n

The program will calculate the sum

The counter will increase by 1

The user will input the second number, n

The counter will increase by 1 until the count get to 5

The program will print the sum of the number

The program will end

4

The program initializes the counters to zero

The user will input the first number, n

The program will calculate the sum

The counter will increase by 1

The user will input the second number, n

The counter will increase by 1 until the count is greater than 5

The program will print the sum of the number

The program will end

18

Multiple Choice

Question image

According to this flowchart and the pseudocode, what purpose does the count variable serve in this algorithm?

1

The count variable will increase by 5 until the condition count < 5 is true

2

The count variable will increase by 5 until the condition count < 5 is false

3

The count variable will increase by 1 until the condition count < 5 is false

4

The count variable will increase by 1 until the condition count < 5 is true

19

media

CompTIA ITF+ Programming

How is pseudocode used in programming?

20

Multiple Choice

How is pseudocode used in programming?

1

It is used to write informal code that is readable by machines

2

It is used to write formal code that is readable by machines

3

 It is used to write formal programming code that is readable by humans

4

It is used to write informal programming code that is readable by humans

21

media

CompTIA ITF+ Programming

B: It is used to write informal programming code that is readable by humans

media

Intro to Computer Programming

Show answer

Auto Play

Slide 1 / 21

SLIDE