• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

6 Cards in this Set

  • Front
  • Back
Which of the following are examples of hardware? Which are examples of software?
Hardware:

1. A laser printer
2. USB Flash Drive
3. A Laptop Battery

Software

1. iTunes
2. Super Mario Bros. Game
3. Facebook
Suppose the Donna has called her friends Carlos and Ramona to ask them over for dinner. Which of the following are similar to syntax errors, and which are like logic errors?
Logic Errors

1. Ramona asked Donna to dinner
2. Carlos and Ramona are friends

Syntax Errors

1. Donna ast Ramona to dinner
Of each of the following pairs of tasks, which one should be completed first?

a. Testing a program or translating a program
b. Developing the logic for a program or coding a program
c. Coding a program or translating a program
d. Translating a program or developing the logic for a program
Developing the logic for a program
Using psuedocode of a flowchart, develop the logic for a program that accepts a number as input and displays the value that is 10 more than the number.
Pseudocode

start
declare variables
double myNumber
double myAnswer
display “Enter a number.”
get myNumber
myAnswer = myNumber * 10
display “Your number times 10 is ”, myAnswer
stop
Using psuedocode or a flowchart, develop the logic for a program that accepts two numbers as input and displays the product of the numbers.
Pseudocode

start
declare variables
double num1
double num2
double answer
display “Enter a number”
get num1
display “Enter another number”
get num2
answer = num1 + num2
display “The sum of the numbers is ”, answer
stop
Using pseudocode or a flowchart, develop the logic for a program that accepts a number as input and displays the number five times.
Try this one on my own