1.1 Introduction to Algorithms, Programming and Compilers
1.1.A. Represent patterns and algorithms found in everyday life using written language or diagrams.
1.1.A.1 Algorithms define step-by-step processes to follow when completing a task or solving a program. These algorithms can be represented using written language or diagrams.
1.1.A.2 Sequencing defines an order for when steps in a process are completed. Steps in a process ar ecompleted one at a time.
1.1.B Explain the code compilation and execution process.
1.1.B.1 Code can be written in any text editor; however an integrated development environment (IDE) is often used to write programs because it provides tools for a programmer to write, compile and run code.
1.1.B.2 A compiler checks code for some errors. Error detectable by the compiler need to be fixed before the program be run.
1.1.C Identify types of programming errors
1.1.C.1 A syntax error is a mistake in the program where the rules of the programming language are not followed. These errors are detected by the compiler.
1.1.C.2 A logic error is a mistake in the algorithm or program that causes it to behave incorrectly or unexpectedly. These errors are detected by testing the program with specific data to see if it produces the expected outcome.
1.1.C.3 A run-time error is a mistake in the program that occurs during the execution of a program. Run-time errors typically cause the program to terminate abnormally.
1.1.C.4 An exception is a type of run-time error that occurs as a result of an unexpected error that was not detected by the compiler. It interrupts the normal flow of the program's execution.
Suggested Skills
1.A Determine an appropriate program design to solve a problem or accomplish a task
Last updated
Was this helpful?