FTCE CS - Programming Languages Exam Questions and Answers Grade A+
__________________ programming language provides a programmer with the ability to precisely define each step in the performance of a task as well as the means to be strongly modular. - ANSWER-Procedural ----The focus of procedural programming is to break down a programming task into a collection of data structures, variable, and subroutines, as opposed to object oriented programming, which breaks down a programming task into objects. In Java, every statement must end with this symbol - ANSWER-; General programming construct that allows a program to repeat the same set of instructions - ANSWER-loop General programming construct that allows a program to make a decision - ANSWER-conditional General programming construct that allows a piece of code to be name and then called by name - ANSWER-block(function/module/procedure) Command to move a sprite - ANSWER-Move In Scratch the commands to move sprites include: - ANSWER-go to glide to move In Scratch the location of a Sprite is defined by - ANSWER-It's x and y position on the Cartesian plane What is a class in Java? - ANSWER-A class is a blue print from which individual objects are created What is Encapsulation? - ANSWER-It is the technique of making the fields in a class private and providing access to the fields via public method What is function overloading? - ANSWER-Methods with same name but different parameters What is a class variable? - ANSWER-Static variables within a class but outside any method super class - ANSWER-variables, methods, and constructors which are declared public in the superclass can be accessed by any class. super class - ANSWER-Variables, methods, and constructors which are declared private can be accessed only on the members of the super class. super class - ANSWER-Variables, methods, and constructors which are declared protected can be accessed by any subclass of the super class What is an Applet? - ANSWER-a java program
Written for
- Institution
- FTCE CS - Programming Language
- Module
- FTCE CS - Programming Language
Document information
- Uploaded on
- June 17, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
ftce cs programming languages exam questions and
-
ftce cs programming languages exam stuvia
-
programming language provides a
Also available in package deal