Variables

Beschreibung

Variables as taught by the ugly bitch.
BeSt PRoGiE
Quiz von BeSt PRoGiE, aktualisiert more than 1 year ago
BeSt PRoGiE
Erstellt von BeSt PRoGiE vor fast 9 Jahre
71
0

Zusammenfassung der Ressource

Frage 1

Frage
Developers assign a name to reference each unique thing stored. This name is called a variable
Antworten
  • True
  • False

Frage 2

Frage
Variable names cannot use special characters (except % and $ in certain situations)
Antworten
  • True
  • False

Frage 3

Frage
Use a dollar ( $ ) sign only to start the name of a static variable
Antworten
  • True
  • False

Frage 4

Frage
a private attribute is available only to the class that defines it and to any subclasses of that class
Antworten
  • True
  • False

Frage 5

Frage
a public attribute is available to any caller within the same package
Antworten
  • True
  • False

Frage 6

Frage
Creating a variable is called
Antworten
  • variable declaration
  • variable name
  • data type

Frage 7

Frage
Putting data into a variable is called
Antworten
  • assignment.
  • internal
  • external pushing

Frage 8

Frage
Assignment can take place anytime after a variable has been declared—at declaration, many lines later, or after an event occurs. Assignment takes place when the data is not known.
Antworten
  • True
  • False

Frage 9

Frage
Constants Constants are properties with a fixed value that cannot be altered. You can assign a value to a constant only once, and the assignment must occur in proximity to the declaration of the constant. An error results if you attempt to change the data in a constant. Constants are declared using the const keyword var .
Antworten
  • True
  • False

Frage 10

Frage
By convention, constant names are all caps with words separated by an underscore. Does this mean that SHIPDOCK.class.asasm is a variable?
Antworten
  • True
  • False
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Data Types
Jacob Sedore
Experiments- Method, Control of Variables, Design, Types
Grace Fawcitt
Biology
Kyle Lennox
Scientific Process
Elena Oliva
Cluster for Pre-Writing Assignment: Academic Departments - Students from Health and Nursing Departments
Krystal Cruz Marrero
Chapter 2: Basic Computation
Alexander Cintron
Básicos de programacion
jose antonio negreros orellana
Definicion algoritmo
Edward Arley
Constructos psicológicos y variables
Kathia Morales
Variables
maxi-alfaro