Top-Rated Free Essay
Preview

pt1420 exam review

Good Essays
738 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
pt1420 exam review
List three examples of operating system software. Linux, OS X, and Microsoft Windows
List three examples of application software.Microsoft Word, Adobe Photoshop, and Visual Studio
Programs that make a computer useful for everyday tasks are known as application software

What is used to translate high level language programs to machine language (or machine code)? Compiler
What both translates and executes the instructions in a high level language program? What was the first programming language designed to perform complex math functions? Interpreter.Fortran
Rules that are strictly enforced during compilation are called what?Syntax Rules
What are violations of strictly enforced rules during compilation called?Syntax Errors
Which will not prevent compilation, syntax or logical errors? Logic Errors
Instead of binary numbers, assembly language uses short words for instructions known as what?
Mnemonics

Name a high level language you use in the course. Visual Basic

The words that make up a high level programming language are known as what? Keywords

Which runs faster a compiled or an interpreted program? Compiled

Which language utilizes binary numbers like 01110000? Machine Language

How many steps are in the Program Development Cycle and what are they?
1 - Design the Program2 - Write the Code3 - Correct Syntax Errors4 - Test the Executable Code
5 - Debug the Code

What is an informal language that has no syntax rules and is not meant to be compiled or executed? Pseudo Code

What is a diagram that graphically depicts the steps that take place in a program? Flowchart
What is a set of statements that execute in the order that they appear? Sequence Structure
What is a logical design that controls the order in which a set of statements execute?
Control Structure
What graphically displays boxes that represent each module in a program?
Hierarchy Chart
Which flowchart symbol represents a terminal point like Start or Stop? Oval
Which flowchart symbol represents processing and is used with the keywords Set and Declare? Rectangle
Which flowchart symbol represents decisions and is used with the keywords If/Then? Diamond
Which flowchart symbol represents input and output and is used with the keywords Input and Display? Parallelogram
Which flowchart symbol represents calling modules and is used with the keyword Call? Rectangle with 2 Vertical Lines

In programming, a storage location in memory is called what? Variable
A variable that is declared inside a module is called what? Local Variable

What is the term that describes the part of the program that a variable can be accessed? Scope

A variable that can be seen throughout the program is called what? Global Variable

True or false: A variable can begin with a number. False

True or false: A variable can contain spaces. False
True or false: A variable can have a number as the last character of the variable name?
True

True or false: A variable can contain an underscore.True
True or false: A constant can be changed during execution of a program.False
True of false: A variable can be changed during execution of a program.True
What are the four main data types discussed in class so far?
1.Integer2. Real3. String4. Boolean

What is used to check the relationship between two values? Relational Operator

Which relational operator is used to denote greater than or equal to? >=

Which relational operator is used to denote not equal to? !=

Which relational operator is used to denote less than? <

What is the difference between using the relational operator = and the relational operator ==? = is used for assignment and == is used for comparison

What is the symbol used to indicate "raised to the x power" in pseudo code? ^
What is the truth table for AND?
True AND True = True
True AND False = False
False AND False = False
False AND True = False

What is the truth table for OR?
True OR True = True
True OR False = True
False OR False = False
False OR True = True

What does NOT False evaluate to? True
Indicate three benefits of modules? Faster Development, Simpler Code, Code reuse

What is a variable passed to a module called? Argument
Define the abbreviation ASCII.
American Standard Code for Information Interchange

Relational Operators
Great Then
< Less Then
>= Greater Then or Equal
7 is false
5 < 7 Is True
(5 > 7) or (10 > 3) is True
(5 > 7) and (10 < 3) is False
NOT (5 > 7 ) and (10 > 3 )is true because the NOT reverses

All programming languages that allow you to create expressions that can be evaluated as either true or false are called ? Boolean expressions.Boolean expressions uses relational operators

You May Also Find These Documents Helpful

  • Good Essays

    Compter Science

    • 819 Words
    • 4 Pages

    Programming statements in a low-level language will be close to natural language and will use standard mathematical notation.…

    • 819 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    The purpose of this Lab. is to familiarize student how to solve practical problems programmatically; they will practice on elementary programming using primitive data types, variables, constants, operators, expressions, and input and output. Also, they will learn how to diagnose errors that may occur when a program is compiled or executed. There are some exercises, through which they will understand the concept learn in this chapter.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Powerful Essays

    The following information will introduce general knowledge in basic programming concepts. It shall discuss basic types of computer programming languages as-well-as program development. There are three basic types of computer programming languages that will be discussed in a simple and easy to understand manner. We shall also describe the program development cycle and discuss why it is important to use a structured and organized process to create a computer programming language.…

    • 1318 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Keywords are the defined words or commands of the language. All keywords in this language are in upper-case to distinguish them from other normal words. M# focuses on five basic keywords, which are as follows:…

    • 703 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Intro to Computers

    • 340 Words
    • 2 Pages

    Most computer software falls into one of three categories: compilers and other translator programs, software applications, and system software. Describe and give examples of each. [RQ, no. 2]…

    • 340 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Intro to Computer

    • 1295 Words
    • 6 Pages

    an artificial language used to write a sequence of instructions (program) that can be run by…

    • 1295 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    Programming Languages

    • 2964 Words
    • 12 Pages

    Often referred to as a scientific language, FORTRAN was the first high-level language, using the first compiler ever developed. Prior to the development of FORTRAN computer programmers were required to program in machine/assembly code, which was an extremely difficult and time consuming task, not to mention the dreadful chore of debugging the code. The objective during it's design was to create a programming language that would be: simple to learn, suitable for a wide variety of applications, machine independent, and would allow complex mathematical expressions to be stated similarly to regular algebraic notation. While still being almost as efficient in execution as assembly language. Since FORTRAN was so much easier to code, programmers were able to write programs 500% faster than before, while execution efficiency was only reduced by 20%, this allowed them to focus more on the problem solving aspects of a problem, and less on coding.…

    • 2964 Words
    • 12 Pages
    Good Essays
  • Powerful Essays

    Today's computer programmer has many languages to choose from, but what's the difference between them? What are these languages used for? How can we categorize them in useful ways?…

    • 1471 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    Hi Everyone.

    • 326 Words
    • 2 Pages

    * You have to tell the computer, step by step, exactly what you want it to do. The computer then “executes" the program, following each step to accomplish the end goal.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    5. Test the program • To ensure the program runs correctly and is error free. • Sample data need to be prepared. It includes…

    • 1266 Words
    • 6 Pages
    Powerful Essays
  • Powerful Essays

    A programming language is a system of signs used to communicate a task/algorithm to a computer, causing the task to be performed. The task to be performed is called a computation, more broadly, a computer language typically embodies a particular programming paradigm. A Programming Paradigm is a model for a class of Programming Languages that share a set of common characteristics. Programming language paradigms are various systems of ideas that have been used to guide the design of programming languages. It is a way of conceptualising what it means to perform computation and how task are to be carried out on a computer, should be structured and organised.…

    • 2576 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    COMPUTER PROGRAMMING Programming languages for computers are developed with the primary objective of facilitating a large number of persons to use computers without the need to know in detail the internal structure of a computer. Languages are matched to the type of applications which are to be programmed using the language. The ideal language would be one which expresses precisely the specification of a problem to be solved, and converts it into a series of instructions for a computer. It is not possible to achieve this ideal as a clear specification of a problem is often not available and developing an algorithm from specifications requires subject knowledge and expertise. In actual practice, a detailed algorithm to solve a problem is the starting point and it is expressed as a program in a programming language. A large number of languages, over a thousand, exist each catering to a different class of applications. All modern programming languages (with one exception) are designed to be machine independent. In other words, the structure of the programming language would not depend upon the internal structure of a specified computer; one should be able to execute a program written in the programming language on any computer regardless of who manufactured it or what model it is. Programing Language is a set of instructions (codes) that controls a computer to perform some processing function or combination of functions. For the instructions to be carried out, a computer must execute a program, that is, the computer reads the program, and then follows the steps encoded in the program in a precise order until completion. A program can be executed many different times, with each execution yielding a potentially different result depending upon the options and data that the user gives the computer. It can also be simply defined as the process of specifying objects and the ways in which those objects interact to solve a problem. A computer is not intelligent. It cannot…

    • 2590 Words
    • 11 Pages
    Powerful Essays
  • Powerful Essays

    Lecture 1 Introduction Copy

    • 1329 Words
    • 19 Pages

    CS242 computer Programming T.Fatimah Al-Qahtani Details • Textbook: • C++ How to Program, DETITEL & DEITEL, eighth(or) seventh edition. 2 • Website : • http://cpp242.wordpress.com 3 • Contact me : 1- office Hours : Sunday from ( 12:30 to 3:30 p.m.)…

    • 1329 Words
    • 19 Pages
    Powerful Essays
  • Powerful Essays

    programming language: A systematic set of rules used to describe computations in a format that is editable by humans.…

    • 1707 Words
    • 7 Pages
    Powerful Essays
  • Better Essays

    The first step creates the program; the second translates it into a language more suitable for machine execution (and puts the result in a file namedMyProgram.class); the third actually runs the program.…

    • 1755 Words
    • 8 Pages
    Better Essays