Deck 1: Introduction

ملء الشاشة (f)
exit full mode
سؤال
The syntax of a programming language is like the grammar of a natural language.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The ALGOL programming language provides support for recursive procedures.
سؤال
The lambda calculus was based on the theory of recursive functions.
سؤال
FORTRAN was the first programming language to be machine independent.
سؤال
A linker program is used to load machine code into computer memory.
سؤال
The first assembly languages appeared in the 1970s.
سؤال
Machine code was considered to be the first software.
سؤال
Machine language consists of entering a series of hexadecimal codes into the computer.
سؤال
A higher-order function returns a function as a value.
سؤال
An abstraction is a way of expressing ideas that make them concise,simple,and easy for the human mind to grasp.
سؤال
A structured control abstraction divides a program into groups of instructions.
سؤال
Before the middle of the 1940s,computer operators hardwired their programs by setting switches that adjusted the internal wiring of the computer.
سؤال
A procedure is a function that returns a value to its caller.
سؤال
Assembly language is standard across all types of computer hardware architectures.
سؤال
The syntax of a programming language refers to its meaning.
سؤال
The FORTRAN language provided support for algebraic notation and floating-point numbers.
سؤال
Assembly language consists of entering a series of binary codes into the computer.
سؤال
The lexical structure of a programming language is similar to grammar in a natural language.
سؤال
The use of variable names is considered to be a basic data abstraction.
سؤال
The primary feature of an imperative language is a sequence of statements that represent commands.
سؤال
____ was the first programming language to have a formal definition.

A) Assembly language
B) ALGOL
C) ADA
D) FORTRAN
سؤال
Lisp is based on the ____ model of computation.

A) functional
B) imperative
C) semantic
D) interpretive
سؤال
____ abstractions support information hiding.

A) Basic data
B) Structured data
C) Unit data
D) Structured control
سؤال
A translator that executes a program directly is called a compiler.
سؤال
An array is considered to be a ____.

A) basic data abstraction
B) structured data abstraction
C) unit abstraction
D) basic control abstraction
سؤال
Specification languages would allow users to indicate their requirements and would then implement those requirements.
سؤال
A programming language's words are referred to as tokens.
سؤال
Abstractions can be categorized in terms of ____,which can be viewed as measures of the amount of information contained (and hidden)in the abstraction.

A) procedures
B) statements
C) levels
D) protocols
سؤال
Which of the following statements about programming languages is correct?

A) ALGOL was developed before FORTRAN.
B) C language was developed before ALGOL.
C) The Ada language is based on Prolog.
D) Pascal is based on ALGOL.
سؤال
A variable in a programming language is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
سؤال
A class is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) unit abstraction
سؤال
A translator that produces an equivalent program in an executable form is called a compiler.
سؤال
A module,a class,and a package are all examples of ____

A) unit data abstractions
B) structured data abstractions
C) basic data abstractions
D) structured control abstractions
سؤال
A text file is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
سؤال
In a program,selection and iteration are accomplished by the use of ____.

A) structured data abstractions
B) application programming interfaces
C) branch instructions
D) syntactic sugar
سؤال
The term ____ refers to a programming language mechanism that replaces a complex notation with a simpler notation.

A) shorthand
B) syntactic sugar
C) semantic sugar
D) API
سؤال
A virtual machine is an interpreter.
سؤال
Variables are given names and data types using a ____.

A) declaration
B) function
C) structure
D) package
سؤال
The ____ abstraction is often associated with the concept of an abstract data type.

A) unit data
B) basic data
C) structured data
D) structured control
سؤال
A(n)____ gives a programmer information about a resource's classes,methods,and functions.

A) library
B) package
C) API
D) component
سؤال
An iterator is an example of a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
سؤال
An enhanced for loop is an example of a ____.

A) basic data abstraction
B) basic control abstraction
C) collection
D) syntactic sugar
سؤال
The lexical structure of a programming language is similar to the ____ in a natural language

A) grammar
B) syntax
C) semantics
D) spelling
سؤال
____ languages allow the user to enter the requirements for a program and have the system implement the requirements..

A) Imperative
B) Functional
C) Definitive
D) Specification
سؤال
A(n)____ takes source code as input and translates it into a program that is executable.

A) interpreter
B) compiler
C) linker
D) loader
سؤال
Which of the following statements about a programming language is correct?

A) Syntax refers to the structure of the language, while semantics refers to the meaning of the language.
B) Semantics refers to the structure of the language, while syntax refers to the meaning of the language.
C) Syntax refers to the structure of the language, while abstraction refers to the meaning of the language.
D) Semantics refers to the structure of the language, while abstraction refers to the meaning of the language.
سؤال
Threads in Java are an example of ____.

A) basic data abstractions
B) basic control abstractions
C) structured control abstractions
D) unit control abstractions
سؤال
A map is an example of a(n)____.

A) iterator
B) API
C) higher-order function
D) procedure
سؤال
A(n)____ is an object associated with a collection,and is used to visit each element in the collection.

A) interpreter
B) iterator
C) invocator
D) argument
سؤال
The ____ programming paradigm has achieved widespread use over the last 20 years.

A) functional
B) logic
C) object-oriented
D) assembler
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 1: Introduction
1
The syntax of a programming language is like the grammar of a natural language.
True
2
The ALGOL programming language provides support for recursive procedures.
True
3
The lambda calculus was based on the theory of recursive functions.
True
4
FORTRAN was the first programming language to be machine independent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
A linker program is used to load machine code into computer memory.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The first assembly languages appeared in the 1970s.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Machine code was considered to be the first software.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Machine language consists of entering a series of hexadecimal codes into the computer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
A higher-order function returns a function as a value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
An abstraction is a way of expressing ideas that make them concise,simple,and easy for the human mind to grasp.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
A structured control abstraction divides a program into groups of instructions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Before the middle of the 1940s,computer operators hardwired their programs by setting switches that adjusted the internal wiring of the computer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
A procedure is a function that returns a value to its caller.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
Assembly language is standard across all types of computer hardware architectures.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
The syntax of a programming language refers to its meaning.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The FORTRAN language provided support for algebraic notation and floating-point numbers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
Assembly language consists of entering a series of binary codes into the computer.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
The lexical structure of a programming language is similar to grammar in a natural language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The use of variable names is considered to be a basic data abstraction.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The primary feature of an imperative language is a sequence of statements that represent commands.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
____ was the first programming language to have a formal definition.

A) Assembly language
B) ALGOL
C) ADA
D) FORTRAN
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
Lisp is based on the ____ model of computation.

A) functional
B) imperative
C) semantic
D) interpretive
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
____ abstractions support information hiding.

A) Basic data
B) Structured data
C) Unit data
D) Structured control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
A translator that executes a program directly is called a compiler.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
An array is considered to be a ____.

A) basic data abstraction
B) structured data abstraction
C) unit abstraction
D) basic control abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
Specification languages would allow users to indicate their requirements and would then implement those requirements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
A programming language's words are referred to as tokens.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Abstractions can be categorized in terms of ____,which can be viewed as measures of the amount of information contained (and hidden)in the abstraction.

A) procedures
B) statements
C) levels
D) protocols
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which of the following statements about programming languages is correct?

A) ALGOL was developed before FORTRAN.
B) C language was developed before ALGOL.
C) The Ada language is based on Prolog.
D) Pascal is based on ALGOL.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
A variable in a programming language is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
A class is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) unit abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
A translator that produces an equivalent program in an executable form is called a compiler.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
A module,a class,and a package are all examples of ____

A) unit data abstractions
B) structured data abstractions
C) basic data abstractions
D) structured control abstractions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
A text file is considered to be a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
In a program,selection and iteration are accomplished by the use of ____.

A) structured data abstractions
B) application programming interfaces
C) branch instructions
D) syntactic sugar
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
The term ____ refers to a programming language mechanism that replaces a complex notation with a simpler notation.

A) shorthand
B) syntactic sugar
C) semantic sugar
D) API
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
A virtual machine is an interpreter.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
Variables are given names and data types using a ____.

A) declaration
B) function
C) structure
D) package
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
The ____ abstraction is often associated with the concept of an abstract data type.

A) unit data
B) basic data
C) structured data
D) structured control
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
A(n)____ gives a programmer information about a resource's classes,methods,and functions.

A) library
B) package
C) API
D) component
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
An iterator is an example of a ____.

A) basic data abstraction
B) basic control abstraction
C) structured data abstraction
D) structured control abstraction
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
An enhanced for loop is an example of a ____.

A) basic data abstraction
B) basic control abstraction
C) collection
D) syntactic sugar
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The lexical structure of a programming language is similar to the ____ in a natural language

A) grammar
B) syntax
C) semantics
D) spelling
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
____ languages allow the user to enter the requirements for a program and have the system implement the requirements..

A) Imperative
B) Functional
C) Definitive
D) Specification
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
A(n)____ takes source code as input and translates it into a program that is executable.

A) interpreter
B) compiler
C) linker
D) loader
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
Which of the following statements about a programming language is correct?

A) Syntax refers to the structure of the language, while semantics refers to the meaning of the language.
B) Semantics refers to the structure of the language, while syntax refers to the meaning of the language.
C) Syntax refers to the structure of the language, while abstraction refers to the meaning of the language.
D) Semantics refers to the structure of the language, while abstraction refers to the meaning of the language.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Threads in Java are an example of ____.

A) basic data abstractions
B) basic control abstractions
C) structured control abstractions
D) unit control abstractions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
A map is an example of a(n)____.

A) iterator
B) API
C) higher-order function
D) procedure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
A(n)____ is an object associated with a collection,and is used to visit each element in the collection.

A) interpreter
B) iterator
C) invocator
D) argument
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
The ____ programming paradigm has achieved widespread use over the last 20 years.

A) functional
B) logic
C) object-oriented
D) assembler
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.