Podcast
Questions and Answers
Which type of command repeatedly executes a subcommand, known as the loop body?
Which type of command repeatedly executes a subcommand, known as the loop body?
- Case-command
- Conditional command
- Sequential command
- Iterative command (correct)
In Ada, the if-command can be extended to handle multiple conditions using which keyword?
In Ada, the if-command can be extended to handle multiple conditions using which keyword?
- otherwise
- elsif (correct)
- else-if
- elif
What is the typical form of a sequential command?
What is the typical form of a sequential command?
- C1; C2
- C1/C2
- C1, C2
- C1 C2 (correct)
In C and Java, which keyword is used to specify a default action in a case-command?
In C and Java, which keyword is used to specify a default action in a case-command?
What is the net effect of updating local variables in a procedure according to the text?
What is the net effect of updating local variables in a procedure according to the text?
What is the typical form of a skip command in Ada?
What is the typical form of a skip command in Ada?
In which type of programming languages are commands characteristic?
In which type of programming languages are commands characteristic?
What is the meaning of the multiple assignment expression "V1 =  = Vn = E;" in C and Java?
What is the meaning of the multiple assignment expression "V1 =  = Vn = E;" in C and Java?
Which PL construct is used to store a value in a variable?
Which PL construct is used to store a value in a variable?
What does a procedure call achieve its effect by applying?
What does a procedure call achieve its effect by applying?
What is the purpose of a constructor in a Java class?
What is the purpose of a constructor in a Java class?
In Java, what does a method call with the form 'O.M(...)' do?
In Java, what does a method call with the form 'O.M(...)' do?
What does it mean if a class S is a subclass of class C?
What does it mean if a class S is a subclass of class C?
What is the net effect of updating local variables in a procedure?
What is the net effect of updating local variables in a procedure?
What does it mean for a subclass to inherit its superclass's instance variables and methods?
What does it mean for a subclass to inherit its superclass's instance variables and methods?
In the context of programming, what does encapsulation refer to?
In the context of programming, what does encapsulation refer to?
What does a package represent in programming?
What does a package represent in programming?
What is the API of a program unit?
What is the API of a program unit?
What are the possible levels of privacy for components in a program unit?
What are the possible levels of privacy for components in a program unit?
What does a program unit's API consist of?
What does a program unit's API consist of?
Flashcards are hidden until you start studying