• 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/10

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;

10 Cards in this Set

  • Front
  • Back

Exam Question 59 (p.402):In 3+2*5, does + happen first or *?

*

Exam Question 60 (p.402):What is white space?
characters that are invisible, especially spacebar, tab, and newline
Exercise 61:* Identify the errors in the following code.
Print "Enter a length in inches: ";chomp $inches ;$cm = 2.54 $inchesPrint "$inches inches equals $cm centimeters.\n;

Exam Question 62 (p.403):Give an example of camel case

wordsAfterFirstHaveCaps

Exam Question 63 (p.403):After $x = 5; $x = 6; what is the value of $x?

6

Exercise 64:* What will the following program print?

$a = 5;$b = 6;$a = 10;$b = $b + $a;$c = $a - 3;print $a;print $b;print $c;

syntax error:

A mistake in the grammar of a program. Syntax errors aredetected when the program is first read, before any attempt is made to carryout the instructions.

logic error:

A mistake in the semantics of a program. Logic errors aredetected when the program runs but does not do what the programmerwanted

Exam Question 65 (p.403):What is a logic error?

a mistake in the semantics of a program

sleep:

a command that causes your program to stop for some number ofseconds before continuing.