1) What is Procedural Programming? a) Following rules when coding b) Programs are executed line by line/step by step 2) What is Object Oriented Programming? a) An approach where all computations are carried out using objects b) Programs are executed line by line/step by step 3) What is Event Driven Programming? a) A programming paradigm in which the flow of the program is determined by events b) Programs are executed line by line/step by step 4) What is a statement in code? a) A Line of code b) A group/region of code that acts as one whole unit. 5) What is a procedure in code? a) Self-contained body of code, with a well-defined purpose, that can be called from elsewhere in the program. b) One or more declarations and statements. A group/region of code that acts as one whole unit. 6) How is a function different to a procedure? a) It's longer and more efficient b) It returns a piece of data 7) What is iteration? a) Repeating code in a loop b) Decisions between multiple paths through the code. 8) What is an advantage of Procedural Programming? a) Debugging is easier because you have to look through thousands of lines of code b) Code is modular, so programs can be written separately by different people at once. 9) In Object Oriented Programming, what is an Object? a) An element of a program that knows how to perform and interact with other components b) A line of code that's really complicated 10) In Object Oriented Programming, what is a Class? a) A set of related objects that share common characteristics. b) Somewhere where you sit and get bored. 11) What am I describing?  This is the ability to create derived (or child) classes from a base class in order to reuse existing code. a) Legacy b) Inheritance 12) In Object Oriented Programming, what is Encapsulation? a) Information in a module or section of code that enables the program to use code contained within a program. b) Reusing the code due to inheritance 13) In Object Oriented Programming, what is Polymorphism? a) the ability of a programming language to reproduce itself like a virus b) The ability of a programming language to interpret objects in different ways based on their class or data type. 14) What is not a benefit of Object Oriented Programming? a) Maintaining the code is easier. b) Code is reusable due to inheritance. c) Real world entities are used which makes it easier to understand. d) Desgining and implementing OOP can be complex. 15) In Event Driven Programming what is the Event Loop? a) The user interface attached to the program b) Processing cycles that continually look for events to happen 16) In Event Driven Programming, what happens when an event is triggered? a) a suitable event handler (a specially written sub-routine called a callback is executed which responds to the event. b) The programmer knows her work is done and has a lovely cup of tea. 17) What is Service oriented processing? a) the breaking down of complex problems into a collection of separate processes, each providing a specific service for client applications. b) form of event-driven programming whereby each process is triggered by a timebased event 18) What is not a benefit of Event Driven Programming? a) Due to large size of the programs its execution speed becomes slow b) The ability to reuse code c) The use of real world entities making it easier to understand. d) The use of abstraction so that only the useful data is visible. 19) What is a Protocol in Computing? a) An agreed-upon set of rules for communication between electronic devices. b) An agreed-upon set of rules for programming user software. 20) What is the difference between server side processing and client side processing? a) In client side processing, operations are carried out by the local machine, whereas in server side processing, the client sends a request to the server, which then carries out the operation and returns the result to the client b) In client side processing, operations are carried out by the local machine, whereas in server side processing, the Manager tells the client what to do 21) What is an advantage of running a web application instead of an application installed on your computer? a) Compatible on multiple devices b) Too much reliance on the Internet 22) Why would a programmer translate code from one language to another? a) Programming language can no longer meet the changing needs of the Programmer. b) Programming language can no longer meet the changing needs of the solution. 23) What is not a benefit of translating code from one language to another? a) New solution uses more modern programming language. b) Development time is reduced and changes can be made more quickly c) New solution is more extensible, easier to update and expand. d) Solution may prove to be overly time consuming to port to new language 24) What might be an implication for the Programmer of translating code from one language to another? a) Have to learn new skills b) The program may no longer have the same functionality

BTEC Unit 1 Topic D - Types of Programming and Markup Languages

Περισσότερα

Αλλαγή προτύπου

Οπτικό στυλ

Επιλογές

Κατάταξη

Κουίζ είναι ένα ανοικτό πρότυπο. Δεν δημιουργεί βαθμολογίες πίνακα κατάταξης.
Επαναφορά αυτόματα αποθηκευμένου: ;