












Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!













class - ANSa group of objects that have the same properties, operations and behaviors Class - ANScode which defines the data an object of that type can use Class Diagram - ANSA visual representation of the relationships between classes. Class Libraries - ANSsets of classes designed to be reusable components whose services can be used by many programs computation - ANSrefers to the transformation of the state of the objects Concerns of paradigms - ANSSome paradigms are concerned mainly with implications for the execution model of the language, such as allowing side effects, or whether the sequence of operations is defined by the execution model. Other paradigms are concerned mainly with the way that code is organized, such as grouping a code into units along with the state that is modified by the code. Yet others are concerned mainly with the style of syntax and grammar. Concurrency Control - ANSIn concurrent computing, ensuring that threads operate in the correct sequence and priority
concurrent languages - ANSParallel Pascal Java Concurrent ML concurrent or parallel programming - ANS[Programming Paradigm] a programming technique that allows the execution of two or more operations at the same time Concurrent programming - ANShave language constructs for concurrency, these may involve multi-threading, support for distributed computing, message passing, shared resources (including shared memory), or futures Deadlock - ANSwhere two threads are competing for the same resource resulting in neither completing its operation Declarative concerns - ANSdoes not state the order in which operations execute Define OBJECT-ORIENTED Paradigm - ANSA type of programming based on objects that represent data. Basically the same as imperative paradigm EXCEPT that related variables, operations on variables are organized into classes of objects. ACCESS PRIVILEGES of variables, methods (operations) can be defined to reduce (simplify) the interaction among the objects which support features like inheritance, class hierarchy and polymorphism. Define OBJECT-ORIENTED Paradigm - ANSA type of programming based on objects that represent data. Basically the same as imperative paradigm EXCEPT that related variables, operations on variables are organized into classes of objects. ACCESS PRIVILEGES of variables, methods (operations) can be defined to reduce (simplify) the interaction among the objects which support features like inheritance, class hierarchy and polymorphism.
Define the LOGIC programming paradigm - ANSThe logic programming paradigm express computation in terms of logic predicates (?). a logic program is a set of facts, rules and questions. Describe a LOGIC program - ANSthe execution of a LOGIC program is is to compare each question to each fact and rulebase, if the question finds a match, we receive a "yes" answer to the question...Otherwise, we receive a, "no" answer. Describe a LOGIC program - ANSthe execution of a LOGIC program is is to compare each question to each fact and rulebase, if the question finds a match, we receive a "yes" answer to the question...Otherwise, we receive a, "no" answer. Describe multiple paradigm C/C++ - ANSC++ is object oriented and contains almost every feature of imperative C. We can use C++ to write C programs. Describe multiple paradigm C/C++ - ANSC++ is object oriented and contains almost every feature of imperative C. We can use C++ to write C programs. Describe multiple paradigm Java - ANSJava is MORE object oriented BUT still includes many IMPERATIVE FEATURES. Java's primitive type variables do not obtain memory from the language heap like other objects. Describe multiple paradigm Java - ANSJava is MORE object oriented BUT still includes many IMPERATIVE FEATURES. Java's primitive type variables do not obtain memory from the language heap like other objects. Describe the FUNCTIONAL PROGRAM PROCESS - ANSEach function will take A NUMBER OF VALUES AS INPUT (parameters) and produce A SINGLE RETURN VALUE (output of the function). THE RETURN VALUE CANNOT BE STORED FOR LATER USE. IT HAS TO BE USED EITHER AS THE FINAL OUTPUT OR IMMEDIATELY AS THE PARAMETER VALUE OF ANOTHER FUNCTION.
Describe the FUNCTIONAL PROGRAM PROCESS - ANSEach function will take A NUMBER OF VALUES AS INPUT (parameters) and produce A SINGLE RETURN VALUE (output of the function). THE RETURN VALUE CANNOT BE STORED FOR LATER USE. IT HAS TO BE USED EITHER AS THE FINAL OUTPUT OR IMMEDIATELY AS THE PARAMETER VALUE OF ANOTHER FUNCTION. Describe the process of Autocoder - ANSTranslated autocode in symbolic statements into machine language for the Manchester Mark I computer. It could handle single letter identifiers and simple formulas Describe the process of Autocoder - ANSTranslated autocode in symbolic statements into machine language for the Manchester Mark I computer. It could handle single letter identifiers and simple formulas Describe/list FORTRAN dev history/evolution - ANSFORTRAN II came in 1958, III at end of 1958 but was never released to public, ASA Fortran 66 (IV) in 1996, ANSI fortran 77 (Fortran V) in 1978, Describe/list FORTRAN dev history/evolution - ANSFORTRAN II came in 1958, III at end of 1958 but was never released to public, ASA Fortran 66 (IV) in 1996, ANSI fortran 77 (Fortran V) in 1978, distributed programming - ANS[Programming Paradigm] concurrent programming implemented on a multi-processor or multi- computer platform Encapsulation - ANSa characteristic of objects in object-oriented programming which means that objects are closed systems which cannot be altered from outside.
Generic programming - ANSuses algorithms written in terms of to-be- specified-later types that are then instantiated as needed for specific types provided as parameters How-to check the java heap via JVM - ANS"-Xmx" How-to check the java heap via JVM - ANS"-Xmx" Imperative - ANShow do we solve a problem (what steps does a solution have)? Imperative concerns - ANSallow side effects imperative program - ANSsequence of commands or instructions for computer to follow imperative programming - ANS[Programming Paradigm] oldest and most traditional model of computing imperative programming - ANSoldest and most traditional model of computing Imperative Programming - ANSwhere a developer writes code that describes in exacting detail the steps that the computer must take to accomplish the goal imperative programming languages - ANS"how"-oriented [specifies how the computation takes place]
Ada Fortran Basic Algol Pascal Cobol Modula C Inheritance - ANSused in object-oriented programming, the sharing of characteristics between a class of objects and a newly created sub-class. This allows code re-use by extending an existing class Instance Variables - ANSIn Object Oriented Programming the instance variables of an object are the data items which that object uses Instantiation - ANSthe creation of a new object from a class iteration - ANSa command is executed a set number of times Java - ANSConcurrent Functional Generic Imperative Reflection OO
Logic Programming - ANS[Programming Paradigm] a declarative description of the problem as a set of rules provided, from which the solutions are then inferred logic programming - ANS[Programming Paradigm] based on concept of logical deduction logic programming - ANS[Programming Paradigm] based on concept of logical deduction logic programming languages - ANS"what"- oriented [does not specify how to compute the solution/consists of a declarative description of the problem] Prolog Lambda Prolog CLP PICAT logic programming languages - ANS"what"- oriented [does not specify how to compute the solution/consists of a declarative description of the problem] Prolog Lambda Prolog CLP
Logic-based - ANSwhat do we do to solve problems? (The language decides how to do it.) Metaprogramming - ANSwriting programs that write or manipulate other programs (or themselves) as their data, or that do part of the work at compile time that would otherwise be done at runtime Methods - ANSin object-oriented programming this refers to the behavior of an object and how it can manipulate instance variables. Methods are defined inside the class which was used to create the object Modularity - ANSwhere a program is constructed as a series of sub programs which are self-contained and can be re-used within that program Object-oriented concerns - ANSgroups code together with the state the code modifies object-oriented languages - ANSSmalltalk Simula Java C++ object-oriented languages - ANSSmalltalk Simula Java C++
Functional Imperative OO structured Race Condition - ANSWhere two threads simultaneously operate on the same data, but different timings result in unpredictable results Resource Starvation - ANSWhere one thread in a concurrent program accesses a resource locking lower priority threads as a result Symbolic concerns - ANSprogramming which has a particular style of syntax and grammar Thread - ANSa sequence of instructions running concurrently with another sequence What are the typical Imperative Languages - ANSTypical imperative programming langues include ALL ASSEMBLY LANGUAGES and earlier high level languages like Fortran, Algol, Ada, Pascal and C What are the typical Imperative Languages - ANSTypical imperative programming langues include ALL ASSEMBLY LANGUAGES and earlier high level languages like Fortran, Algol, Ada, Pascal and C What are the typical OBJECT ORIENTED programing languages - ANSSmalltalk, C++, JAVA, C# What are the typical OBJECT ORIENTED programing languages - ANSSmalltalk, C++, JAVA, C#
What are the typical OBJECT ORIENTED programing languages - ANSSmalltalk, C++, JAVA, C# What are typical FUNCTIONAL programming language - ANStypical functional programming languages include ML, SML, and LISP/Scheme What are typical FUNCTIONAL programming language - ANStypical functional programming languages include ML, SML, and LISP/Scheme What does FORTRAN stand for? - ANSFORmula TRANslation language What does FORTRAN stand for? - ANSFORmula TRANslation language What is a lambda expression? - ANSlambda expression in computer programming, also called anonymous function, a function (or a subroutine) defined, and possibly called, without being bound to an identifier Lambda Expressions are nameless functions given as constant values. They can appear anywhere that any other constant may, but are typically written as a parameter to some other function. The canonical example is that you'll pass a comparison function to a generic "sort" routine, and instead of going to the trouble of defining a whole function (and incurring the lexical discontinuity and namespace pollution) to describe this comparison, you can just pass a lambda expression describing the comparison. HOWEVER, this misses one of the most important features of Lambda Expressions, which is that they execute in the context of their appearance. Therefore, they can use the values of the variables that are defined in that context. This differentiates function-pointers from true lambda expressions. In languages supporting mutable variables, proper lambda expressions offer the power change the values of those variables.
What is an ASSEMBLER - ANSUsed to convert mnemonic symbols to corresponding binary numbers, substitute register numbers or memory locations for the variables and calculate the destination address of branch instructions according to the portion of the labels in the program What is ASSEMBLY LANGUAGE? - ANSSOPHISTICATED USE OF MNEMONICS IS CALLED ASSEMBLY LANGUAGE. Uses simple variables, branch to a label address, different addressing modes, and macros that represent a number of instructions. What is ASSEMBLY LANGUAGE? - ANSSOPHISTICATED USE OF MNEMONICS IS CALLED ASSEMBLY LANGUAGE. Uses simple variables, branch to a label address, different addressing modes, and macros that represent a number of instructions. What is ASSEMBLY LANGUAGE? - ANSSOPHISTICATED USE OF MNEMONICS. Uses simple variables, branch to a label address, different addressing modes, and macros that represent a number of instructions. What is FUNCTIONAL PROGRAMMING ABOUT? - ANSFUNCTIONAL programming is about DEFINING FUNCTIONS and ORGANIZING the RETURN VALUES of one ore more functions as the parameters of another function. Functional programming languages are mainly based on LAMBDA CALCULUS. What is FUNCTIONAL PROGRAMMING ABOUT? - ANSFUNCTIONAL programming is about DEFINING FUNCTIONS and ORGANIZING the RETURN VALUES of one ore more functions as the parameters of another function. Functional programming languages are mainly based on LAMBDA CALCULUS. what is LOGIC programming ABOUT? - ANSis about finding facts, defining rules based on the facts, and writing questions to express the problems we wish to solve
what is LOGIC programming ABOUT? - ANSLogic Programming is about finding facts, defining rules based on the facts, and writing questions to express the problems we wish to solve what is LOGIC programming ABOUT? - ANSLogic Programming is about finding facts, defining rules based on the facts, and writing questions to express the problems we wish to solve What is MACHINE language? - ANSbinary What is MACHINE language? - ANSbinary what is mnemonics? (prog. lang. dev.) - ANScertain symbols to be used to represent frequently used bit patterns instead of writing code in binary what is mnemonics? (prog. lang. dev.) - ANScertain symbols to be used to represent frequently used bit patterns instead of writing code in binary what is PROLOG arithmetic operations based on? - ANSBased on the IMPERATIVE paradigm what is PROLOG arithmetic operations based on? - ANSBased on the IMPERATIVE paradigm What is the default Java HEAP size? - ANSClient JVM Default Initial and Maximum Heap Sizes: The default maximum heap size is half of the physical memory up to a physical memory size of 192 megabytes (MB) and otherwise one fourth of the physical memory up to a physical memory size of 1 gigabyte (GB
What is the LOGIC programing paradigm also called? - ANSAlso called the DECLARATIVE programming paradigm. What is the LOGIC programing paradigm also called? - ANSAlso called the DECLARATIVE programming paradigm. what is the ONLY significant LOGIC programming language? - ANSPROLOG what is the ONLY significant LOGIC programming language? - ANSPROLOG what is the ONLY significant LOGIC programming language? - ANSPROLOG What is the STORED PROGRAM CONCEPT - ANSthe FOUNDATION of IMPERATIVE languages What is the von Neumann Machine - ANSA computer architecture developed by John Von Neumann and others in the 1940s that allows for input, output, processing, and memory; it also includes the stored program concept What was the first primitive compiler? - ANSAutocoder written by Alick E. Glennie in 1952 What was the first primitive compiler? - ANSAutocoder written by Alick E. Glennie in 1952 What was the FIRST widely used high level programming language? - ANSFortran
What was the FIRST widely used high level programming language? - ANSFortran When was FORTRAN developed? - ANSFORmula TRANslating was developed by the team headed by John Backus at IBM between 1954 and 1957 When was FORTRAN developed? - ANSFORmula TRANslating was developed by the team headed by John Backus at IBM between 1954 and 1957 when was the first high level language used in a electronic computing device used? - ANSShort Code in 1949, there was no compiler for the high level language, it had to be HAND compiled into machine language. when was the first high level language used in a electronic computing device used? - ANSShort Code in 1949, there was no compiler for the high level language, it had to be HAND compiled into machine language. When was the first high level programing language program developed - ANSKonrad Zuze, Z4 machine for a chess playing program in 1946 When was the first high level programing language program developed - ANSKonrad Zuze, Z4 machine for a chess playing program in 1946 Who invented the compiler? - ANSGrace Hopper Designed the first widely known COMPILER, called "A0" in 1951 Who invented the compiler? - ANSGrace Hopper Designed the first widely known COMPILER, called "A0" in 1951