Programming Languages Chapter 2 Review

Programming Languages Chapter 2 Review

memorize.aimemorize.ai (lvl 286)
Section 1

Preview this deck

What array structure is included in C# but not in C, C++, or Java?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

1

All-time users

1

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (66)

Section 1

(50 cards)

What array structure is included in C# but not in C, C++, or Java?

Front

Jagged arrays

Back

What are the different mechanisms in C that show that it was influenced by ALGOL 68?

Front

Back

How does COBOL allow variable names to be truly connotative?

Front

Back

What was the simplest data type in Plankalkül?

Front

The single bit

Back

Under what environmental constraints was Fortran developed?

Front

Computers had small memories and were slow and relatively unreliable, the primary use of computers was for scientific computations, there were no existing efficient and effective ways to program computers, and because of the high cost of computers compared to the cost of programmers, speed of the generated object code was the primary goal of the first Fortran compilers.

Back

On what programming language was COBOL based?

Front

FLOW-MATIC

Back

What innovation of data structuring was introduced in ALGOL 68 but is often credited to Pascal?

Front

User defined data structures

Back

What do the Ada and COBOL languages have in common?

Front

Both are high level languages, both support object oriented programming, future versions of these languages support the program written in these language, both are not good for beginners, and both are frequently used for the applications but not user friendly.

Back

Which language was used for teaching programming in the 1970s?

Front

Back

In what ways do Scheme and metalanguage (ML) differ from each other?

Front

ML does not use the parenthesized functional syntax that originated with lambda expressions.

Back

What additional feature did the release 3.0 of C++ provide?

Front

Back

What are threads in Java?

Front

Back

What are the concurrent program units of Ada called?

Front

Tasks

Back

What were the objectives behind developing Basic?

Front

It must be easy for nonscience students to learn and use, It must be "pleasant and friendly.", It must provide fast turnaround for homework, It must allow free and private access, and It must consider user time more important than computer time.

Back

Speedcoding was invented to overcome two significant shortcomings of the computer hardware of the early 1950s. What were they?

Front

The computer hardware of that age never supported floating point operations and they did not allow some sort of indexing to use arrays easily.

Back

Why is Alan Cooper known as "the father of Visual Basic"?

Front

Back

In what version of ALGOL did the concept of data type appear?

Front

ALGOL 58

Back

What features of SIMULA 67 are now important parts of some object-oriented languages?

Front

the concept of a class and data abstraction

Back

What is the primary application area for which Ada was designed?

Front

The Department of Defense (DoD)

Back

What was the primary deficiency of ALGOL 60?

Front

Orthogonality

Back

How were data types specified for variables in Fortran I?

Front

Variables whose names began with I, J, K, L, M, and N were implicitly integer type, and all others were implicitly floating-point.

Back

How does the typing system of PHP and JavaScript differ from that of Java?

Front

Java is a strongly typed language while JavaScript and PHP are dynamically typed.

Back

What is a procedural language?

Front

Back

What change did ALGOL provide regarding input and output statements?

Front

Back

Where was Fortran developed? By whom?

Front

Fortran was developed by John Backus at IBM

Back

What was the most significant feature added to Fortran II to get Fortran IV?

Front

explicit type declarations for variables

Back

What is the meaning of Plankalkül? Who developed Plankalkül?

Front

Plankalkul means program calculus. German scientist Konrad Zuse developed it.

Back

What is the primary application for Objective-C?

Front

Mac OS X and iOS

Back

What syntactic changes did Fortran 90 include?

Front

the required fixed format of code, which required the use of specific character positions for specific parts of statements, was dropped and only the first letter of keywords and identifiers would be uppercase

Back

What are the goals of the new language developed by GAMM and ACM?

Front

It can smoothly interoperate with any other .NET language, it supports both functional programming and procedural programming, and it also fully supports object-oriented programming.

Back

From what language does Objective-C borrow its syntax for method calls?

Front

Smalltalk

Back

Why was the technique used by Short Code called automatic programming?

Front

Back

What operators in C were modeled on similar operators in ALGOL 68?

Front

The assignment operator,

Back

Why did Ada 95 lose its popularity?

Front

Back

Which version of Fortran was the first to have local scopes?

Front

Fortran 2008

Back

What characteristic of Java is most evident in JavaScript?

Front

Format of syntax

Back

What are the features of F# that make it unique?

Front

Back

Where was Lisp developed? By whom?

Front

At MIT by John McCarthy

Back

In what year was IBM 704 introduced?

Front

1954

Back

What are the two fundamental characteristics shared by APL and SNOBOL?

Front

dynamic typing and dynamic storage allocation

Back

In what year did the Basic design process begin?

Front

1959

Back

What were the most important modifications made to ALGOL 58?

Front

Theconceptofblockstructurewasintroduced, Twodifferentmeansofpassingparameterstosubprogramswereallowed, Procedureswereallowedtoberecursive, and Stack-dynamicarrayswereallowed

Back

Why is C both liked and disliked?

Front

Back

What facilities did PL/I provide?

Front

Back

How did Plankalkül implement iterations?

Front

Back

What organization was most responsible for the early success of COBOL (in terms of extent of use)?

Front

the Department of Defense (DoD)

Back

Why was Fortran list processing language (FLPL) designed and implemented as an extension to Fortran?

Front

Back

What is the meaning of operator overloading in C++?

Front

Back

Which version of Fortran was the first to support object-oriented programming?

Front

Fortran 2003

Back

What are the two kinds of statements that populate a Prolog database?

Front

Facts and Rules

Back

Section 2

(16 cards)

What is the similarity between Lua and JavaScript?

Front

Back

What is the relationship between JavaScript and PHP, in terms of their use?

Front

JavaScript and PHP are both scripting languages used for web programming, Js used in the browser while PHP is used on the server.

Back

What element of the JSTL is related to a subprogram?

Front

XML action element

Back

What characteristic of Ruby's arithmetic operators makes them unique among those of other languages?

Front

Arithmetic operators can be re-defined

Back

What data structure does Python use in place of arrays?

Front

list

Back

Is Lua normally compiled, purely interpreted, or impurely interpreted?

Front

Impurely interpreted

Back

What are the inputs to an XSLT processor?

Front

An XML data document and an XSLT document

Back

What is the primary platform on which C# is used?

Front

.NET

Back

To what is a JSP document converted by a JSP processor?

Front

A servlet

Back

PHP's primary data structure is a combination of what two data structures from other languages?

Front

JavaScript's array and Perl's hashes

Back

Where are servlets executed?

Front

In web server systems

Back

What characteristic does Ruby share with Smalltalk?

Front

They are both purely object oriented

Back

What is the output of an XSLT processor?

Front

XML format document, HTML, or plain text

Back

For what application area is JavaScript most widely used?

Front

Web applications

Back

What deficiency of the switch statement of C is addressed with the changes made by C# to that statement?

Front

At the end of selectable blocks of code, break statement was not mandatory

Back

What are the characteristics of Perl's arrays?

Front

Back