0% found this document useful (0 votes)
8 views14 pages

Computer Programming I

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views14 pages

Computer Programming I

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Computer Programming I

EXAM INFORMATION DESCRIPTION

Exam Number
An introductory course in program engineering and
820 applications. The course introduces students to the
Items fundamentals of computer programming. Students will learn
to design, code, and test their own programs while applying
40 mathematical concepts. Teachers introduce basic coding
Points concepts and problem-solving skills.

44 EXAM BLUEPRINT
Prerequisites
DIGITAL LITERACY, COMPUTER
SCIENCE PRINCIPLES, OR TEACHER
APPROVAL
Recommended Course
Length
ONE SEMESTER
National Career Cluster
HUMAN SERVICES
Performance Standards
INCLUDED (OPTIONAL)
Certificate Available
YES
Vocabulary List
YES, INCLUDED

www.youscience.com Computer Programming I


820.2022
STANDARD 1

Students will be familiar with and use a programming language IDE (Integrated Development
Environment)

Objective 1 Demonstrate concept knowledge of different languages.


1. Describe the difference between an interpreted language vs a compiled
language.
2. Identify characteristics of high-level and low-level languages.

Objective 2 Demonstrate the ability to use an IDE.


1. Use an IDE to develop, compile, and run programs.
2. Understand the difference between syntax, run-time, and logic errors.
3. Use the debugger to identify errors.

Standard 1 Performance Evaluation included below (Optional)

STANDARD 2

Students will understand program development methodology and best practices.

Objective 1 Demonstrate the ability to use good programming style.


1. Demonstrate proper use of white space (between lines and
indentation)
2. Use appropriate naming conventions for identifiers (variables,
methods, functions, and file names)
3. Understand the appropriate use of constants versus variables in
programming style
4. Construct identifiers with meaningful format; camelCase and
underscore
5. Implement appropriate output formatting (decimal places, dollar
signs, and correct placement of variable data in a sentence)

Objective 2 Understand the ordered software development life cycle.


1. Requirements Analysis: Identify specifications and understand
requirements to create a solution to a problem
2. Planning/Design: Design an algorithm to solve the problem
using appropriate documentation (UML diagrams and
pseudocode).
a. Define an algorithm

www.youscience.com Computer Programming I


820.2022
b. Break the problem down into its subcomponents using
top-down design
i. Implementation: Write the code, with comments, to
implement the algorithm
ii. Testing: Test program for verification of errors and
proper functionality
iii. Release and Maintenance: Release the solution and
provide updates when necessary

Standard 2 Performance Evaluation included below (Optional)

STANDARD 3

Students will understand and implement key programming concepts.

Objective 1 Understand and implement input and output commands.


1. Understand the difference between input and output
2. Understand there are different types of input (file, keyboard, mouse,
microphone)
3. Understand there are different types of output (speakers, monitor,
printer, file)
4. Write a program that receives input from a keyboard and produces
output to the display

Objective 2 Understand and implement data types and variables.


1. Differentiate between primitive data types (boolean,
integer, float and string)
2. Identify proper use of primitive data types (when to use
one versus another)
3. Declare a variable and assign it a value using the
assignment operator
4. Understand the difference between declaring and
initializing a variable

Objective 3 Understand and implement operators and operands.


1. Use basic arithmetic operators (modulus, multiplication, integer
division, float division, addition, subtraction)
2. Use basic comparison operators (<, >, ==, >=, <=)
3. Use basic assignment operator (=)
4. Understand order of operations for all operators
a. Parenthesis
b. Exponent

www.youscience.com Computer Programming I


820.2022
c. Multiplication
d. Division
e. Modulus
f. Addition
g. Subtraction
1. Use basic logical operators (AND, OR, NOT)
2. Use operands in conjunction with arithmetic, relational, and logical operators

Objective 4 Understand and implement expressions in a program.


1. Understand how operators and operands are used to form expressions
2. Identify and implement syntactically correct
expressions
a. Possible examples: A OR B, 5==6, x != 3.142, x =
4, y + 7

Objective 5 Understand and implement functions.


1. Understand and properly define scope, local
variable, and global variable
2. Understand what functions are and what are they
used for (readability, reusability, modularity,
abstraction)
3. Understand the difference between a built-in
function and user defined function
4. Utilize built-in functions
5. Understand that functions may or may not require
arguments (input(s))
6. Understand that functions may or may not return
value(s) (output(s))

Objective 6 Understand and implement complex data types.


1. Understand the difference between a simple and
complex data types
2. Declare a string variable in a program

Standard 3 Performance Evaluation included below (Optional)

STANDARD 4

Students will understand and implement control structures

Objective 1 Understand and implement IF statements in a program.

www.youscience.com Computer Programming I


820.2022
1. IF
a. Understand when to use an IF statement
b. Demonstrate correct use of an IF statement
2. ELSE-IF
a. Understand when to use an ELSE-IF statement
b. Demonstrate correct use of ELSE-IF statements
3. ELSE
a. Understand when to use an ELSE statement
b. Demonstrate proper use of an ELSE statement
4. Nesting IF Statements
a. Understand when to use a nested IF statement
b. Demonstrate proper use of a nested IF statement

Objective 2 Understand and implement basic loop structures in programs..


1. For-loops
a. Understand when to use a for-loop
b. Understand the three components of a for-loop
i. An initial value (i=0)
ii. A condition (I<7)
iii. An updated expression (i= i+1)
c. Demonstrate a proper for-loops
2. While-loops
a. Understand when to use a while-loop
b. Demonstrate proper use of a while-loop
3. Nested Loops
a. Understand when to use nested loops
b. Demonstrate proper use of nested loops
4. Identify the various ways that loops can end (break, met condition, condition
fail)
5. Design loops so they iterate the correct number of times
6. Understand what causes an infinite loop

Objective 3 Understand and implement expressions and complex conditions in control


structures.
1. Create expressions using relational operators
a. Example: (a > 6, x != 7, y > 4)
2. Form complex conditions using logical operators
a. Example: (a > 6 AND x != 7 OR y > 4)
3. Incorporate complex conditions in loop structures
a. Example: While a player’s health is greater than 50 and player is not dead

Standard 4 Performance Evaluation included below (Optional)


www.youscience.com Computer Programming I
820.2022
STANDARD 5

Students will be aware of career opportunities in the Computer Programming/Software Engineering


industry and ethical applications

Objective 1 Investigate career opportunities, trends, and requirements related to computer


programming/software engineering careers.
1. Identify the members of a computer programming/software engineering
team: team leader, analyst, senior developer, junior developer, and
client/subject matter expert.
2. Describe work performed by each member of the computer
programming/software engineering team.
3. Investigate trends and traits associated with computer
programming/software engineering careers (creativity, technical, leadership,
collaborative, problem solving, design, etc.).
4. Discuss related career pathways.

Objective 2 Understand current ethical issues dealing with computer programming and
information in society.
1. Explain the impact software can have on society (i.e., privacy, piracy,
copyright laws, ease of use, etc.).
2. Explain the ethical reasons for creating reliable and robust software.
3. Describe how computer-controlled automation affects a workplace and
society.

Standard 5 Performance Evaluation included below (Optional)

Workplace Skills
Workplace Skills taught:
• Communication
• Problem Solving
• Teamwork
• Critical Thinking
• Dependability
• Accountability
• Legal requirements / expectations

www.youscience.com Computer Programming I


820.2022
Computer Programming I

Performance assessments may be completed and evaluated at any time during the course. The
following performance skills are to be used in connection with the associated standards and
exam. To pass the performance standard the student must attain a performance standard
average of 8 or higher on the rating scale. Students may be encouraged to repeat the objectives
until they average 8 or higher.

Student’s Name: _________________________________________________________________________

Class: ____________________________________________________________________________________

PERFORMANCE STANDARDS RATING SCALE

STANDARD 1 – Programming Language IDE Score:


Use an IDE to create a solution to solve a problem.

STANDARD 2 – Program Development Methodology Score:


Demonstrate knowledge of program development methodology through a
project.

STANDARD 3 – Key Programming Structures Score:


Write one or more programs that demonstrate effective use of the key
programming concepts defined in Standard 3.

STANDARD 4 – Control Structures Score:


Write one or more programs that demonstrate effective use of control
structures.

STANDARD 5 – Career Opportunities and Ethics Score:


Develop awareness of career opportunities in the computer
programming/software engineering industry ethical applications.

PERFORMANCE STANDARD AVERAGE SCORE:

www.youscience.com Computer Programming I


820.2022
Evaluator Name: __________________________________________________________________________

Evaluator Title: ____________________________________________________________________________

Evaluator Signature: ______________________________________________________________________

Date: ______________________________________________________________________________________

Computer Programming 1– Vocabulary

Standard 1 - Students will be familiar with and use a programming language IDE
(Integrated Development Environment).

IDE (Integrated Software for building applications that combines


Development common developer tools in a single interface.
Environment

Interpreted Language Source code is read and executed by an interpreter

Compiled Language Source code is translated into machine code, and


the machine code is stored in a separate file.

High-Level Language Programming Language that enables a programmer


to write programs that are closer to human
language.

Low-Level Language Programming language that contains basic


instructions recognized by a computer.

Syntax Error Error which is detected and prevents the program


from running.

Run-Time Error Error in the code that occurs while the program is
running.

Logic Error Mistake in the code that produces incorrect results.

Debugging Finding and fixing problems in an algorithm or program.

Standard 2 - Students will understand program development methodology and best


practices.

www.youscience.com Computer Programming I


820.2022
White Space Blank lines and extra spacing to improve readability
of code.

Identifiers Names given to variables, constants, methods,


and functions.

Variable A named value within a program.

Function A named group of programming instructions.

Constant Data values that stay the same every time a program
is executed.

Camel Case Naming convention where the first letter of name is


lowercase, and each new word is capitalized.
(camelCase)

Pascal Case Naming convention where the first letter of each


compound word is capitalized. (PascalCase)

Snake Case Naming convention where spaces are replaced


with underscores. (snake_case)

Software Development 1. Requirements Analysis - Identify specifications


Life Cycle and understand requirements to create a solution.
2. Planning/Design - Design an algorithm to solve
the problem using appropriate documentation
(UML diagrams and pseudocode).
3. Implementation - Write the code
4. Testing - Test program for verification of errors
and proper functionality.
5. Release & Maintenance - Release the solution and
provide updates when necessary.

Algorithm A finite set of instructions that accomplish a task.

Standard 3 - Students will understand and implement key programming concepts.

Scope Determines the accessibility (visibility) of variables.

Local Variable Only recognized inside the function in which it is


declared.

Global Variable Recognized from anywhere inside a program.

www.youscience.com Computer Programming I


820.2022
Input The information computers get from users, devices,
or other computers.

Output The information computers give to users, devices, or


other computers.

String An ordered sequence of characters.

Integer A data type that is used for a whole number

Boolean A data type that is either true or false.

Float A data type that is used for fractional values in


decimal format.

Declaration Stating the name and data type of a variable.

Initialization Assignment of an initial value for a variable.

Arithmetic Operators Includes addition, subtraction, multiplication, division,


and modulus operators.

Comparison Operators <, >, ≤, ≥, ==, ≠ indicate a Boolean expression.

Order of Operations Parenthesis, exponents, multiplication, modulus,


division, addition, subtraction (PEMMDAS).

Logical Operators NOT, AND, and OR, which evaluate to a Boolean value.

Expression A combination of operators, constants, and variables.

Integer Division Division in which the fractional part


(remainder) is discarded.

Float Division Division in which the fractional part (remainder) is


included with a certain number of values after the
decimal.

Function A named group of programming instructions

Readability The ease with which the code is read and understood.

Reusability Capability of being used again or repeatedly.

www.youscience.com Computer Programming I


820.2022
Modularity Enables reusability and minimizes duplication.

Abstraction Hiding unnecessary details from the user.

Built-In Function Any function that is provided as part of a high-level


language and can be executed by a simple reference
with specification of arguments.

User-Defined Function A function created by the user.

Arguments The variables given to the function for execution.

Parameters The names listed in the method/function’s definition.

Return A value that is sent back to the user by a


method/function.

Void Return Indicates that the function does not return a value.

Simple Data Types char, string, integer, float, double, boolean.

Complex Data Types enumeration, array, list, object.

Standard 4 - Understand and implement control structures

Conditional Statement Decision making based on a Boolean value.

Nested IF Statement An if statement placed inside another if statement.

For Loop Initial Value


Condition
Increment/Decrement

While Loop Loops through a block of code as long as a


specified condition is true.

Nested Loop A loop placed inside another loop.

Break Statement used to immediately terminate a loop.

Met Condition Expression evaluates to true.

Failed Condition Expression evaluates to false.

Iterate Each cycle through a loop.

www.youscience.com Computer Programming I


820.2022
Infinite Loop A loop that, due to a logic error, will continue endlessly.

Complex Condition Formed by combining multiple conditions with


logical operators.

Exit Condition Used to exit a loop.

Standard 5 - Students will be aware of career opportunities in Computer


Programming/Software Engineering industry and ethical applications.

Computer Team Leader


Programming/Software Analyst
Engineering Team Senior Developer
Junior Developer
Client/Subject-Matter Expert

Computer Programming 1 – Skills Reference Sheet


Assignment, Display, and Input

a = expression Evaluates expression and then assigns a copy of the result


to the variable a.

DISPLAY(expression) Displays the value of (expression) in the console window.

INPUT( ) Accepts a value from the user and returns the input value.

Arithmetic Operators and Numeric Procedures

a+b The arithmetic operators +, -, *, and / are used to


a-b perform arithmetic on a and b.

a*b For example, 17 / 5 evaluates to 3.4.


a/b
The order of operations used in mathematics applies
when evaluating expressions.

www.youscience.com Computer Programming I


820.2022
a MODULUS b Evaluates to the remainder when a is divided by
-or
a MOD b b. For example, 17 MOD 5 evaluates to 2.

MODULUS (MOD) has the same precedence as the * and


/ operators.

Relational and Boolean Operators

NOT condition Evaluates to true if condition is false; otherwise


evaluates to false.

condition1 AND Evaluates to true if both condition1 and condition2 are


condition2 true; otherwise evaluates to false.

condition1 OR Evaluates to true if condition1 is true or if condition2 is


condition2 true or if both condition1 and condition2 are true;
otherwise evaluates to false.

FOR(condition) The code in <block of statements> is executed a certain


{ number of times.
<block of
statements>
}

WHILE(condition) The code in <block of statements> is repeated until the


{ (condition) evaluates to false.
<block of
statements>
}

IF(condition1) If (condition1) evaluates to true, the code in <first block


{ of statements> is executed; if (condition1) evaluates to
<first block of false, then (condition2) is tested; if
statements> (condition2) evaluates to true, the code in <second block of
{ statements> is executed; if both (condition1) and
ELSE IF(condition2) { (condition2) evaluate to false, then the code in <third block
<second block of of statements> is executed.
statements>
}
ELSE
{

www.youscience.com Computer Programming I


820.2022
<third block of
statements>
}

Procedures and Procedure Calls

PROCEDURE procName( ) Defines procName as a procedure that takes no


{ arguments. The procedure contains <block of
<block of statements>.
statements>
} The procedure procName can be called using the
following notation:

procName( )

www.youscience.com Computer Programming I


820.2022

You might also like