





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
TSA Coding Questions and answers Graded A+
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!






Computer Program - ✅✅Any form of software that runs on top of the operating system Programming Language - ✅✅A system of conventions and symbols used to create instructions for computers, which read through and follow the instructions in the code (content written using a programming language) Machine Code - ✅✅A binary system that is made of a series of 1s and 0s. It is considered the lowest level of programming and is the set of instructions with which the computer's CPU works directly Low-level Language - ✅✅A programming language whose code is more similar to what the computer works with and is less human-readable; it is very specific and directly manipulates hardware. They are more efficient but harder to use. Examples: C, C++ High-level Language - ✅✅A programming language whose code has multiple layers of abstraction (i.e. the code has to be translated into a form that the computer can understand) and is thus more human-readable. With high-level languages, one does not directly manipulate the hardware and instead works with the logic of the program. Examples: FORTRAN, COBOL Source Code - ✅✅The code that is written by the programmer and is in a form that can be understood and edited by humans. Object Code - ✅✅Source code that has been transformed by the computer into a low-level form that the CPU can understand and work with.
Statements - ✅✅Individual, specific instructions used in programming to accomplish specific tasks. Algorithm - ✅✅A predefined procedure that aims to solve a problem or complete a task. It takes into account specific circumstances and has varying courses of action for each. Pseudocode - ✅✅Human-written code that describes what a program is supposed to do, or, more specifically, what the programmer wants the code to do. Flowchart - ✅✅A diagram used to describe algorithms and the structure of programs and programming languages. It consists of boxes that represent specific objects or steps and arrows and lines to represent the relationship between them. Documentation - ✅✅Text written in normal language that describes software; it consists of comments found directly in the code as well as separate documents that describe the overall program. Debug - ✅✅A process that aims to locate the exact source of bugs (i.e. errors or flaws) in the code. Syntax Error - ✅✅A mistake with the conventions and symbols of the programming language that leads to an error in the program.
Lateral Thinking - ✅✅A strategy where you use creativity to solve a problem in a unique, indirect way. Requires creativity and does not always involve what is immediately apparent with the problem; solutions and insights devised using this strategy are not immediately clear and require some deeper thinking to figure out. Inductive Reasoning - ✅✅Involves testing the validity of an idea by making observations of circumstances in which the idea is relevant. It's useful for solving problems because it can be used to acquire the knowledge needed to do so. Sequence - ✅✅A set of commands is executed one after the other in the order in which they were provided. Conditional - ✅✅Evaluates the validity of one or more conditions and then executes one or more commands, whose nature depends now which condition is valid. Iterative - ✅✅Repeatedly executes a set of one or more commands until one or more given conditions has been satisfied Subroutine - ✅✅A separate block of code containing a set of instructions Variable - ✅✅A value in code that is able to be stored and changed. String - ✅✅A sequence of characters often used to display text (e.g. "Hello World!").
Boolean - ✅✅One of two values: TRUE or FALSE. It is often used to control an object's visibility in object-oriented programming (OOP). Integer - ✅✅A WHOLE number (not a fraction or decimal!) that can be positive or negative. Decimal - ✅✅A data type that has a "." in it (e.g. 2.27). Date/time Variable - ✅✅Date and time variables are used to store the date and time. It is often used as a way of time stamping when something was done or achieved. Global Variable - ✅✅A variable defined outside all functions and is accessible to all functions in its scope. Local Variable - ✅✅A variable that is declared within a function and cannot be accessed by statements that are outside of the function. In addition, a local variable cannot be accessed by code that appears inside the function at a point before the variable has been created. Array - ✅✅A data structure with one, or more, elements of the same type. OOP - ✅✅Object Oriented Programming - a style of programming that represents a program as a system of objects and enables code-reuse. GUI - ✅✅Graphical User Interface - an icon based interface that the user can interact with.
Output - ✅✅The product created by transforming the inputs. (ex: monitor, printer, projector, speakers) Syntax - ✅✅Sentence structure in a programming language. If there is a syntax error it means that the code is not placed in the correct order. If Statement - ✅✅The common programming structure that implements "conditional statements". It will only complete if the condition is met. Case - ✅✅A case is like an if statement with multiple outputs. Software Development Cycle - ✅✅Requirements Analysis, Design, Coding, Unit Testing, Integration Testing, Formal/Acceptance Testing, Maintenance Structured Programming - ✅✅Software that was designed to be easy to understand and modify. RAM - ✅✅Random Access Memory
CPU - ✅✅Central Processing Unit