Deck 2: Methods

ملء الشاشة (f)
exit full mode
سؤال
Computer programming is part of the software engineering process, which usually involves newer object-oriented design, combined with more traditional methods of algorithm development.
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Top-down development starts at the top with one concept or big idea, which is then broken down into several parts.
سؤال
Modular development makes a large project more manageable.
سؤال
Modular development is slow for large projects.
سؤال
Modular development does not necessarily lead to a higher-quality product.
سؤال
Modular development makes it easier to find and correct errors in computer software.
سؤال
Modular development decreases the reusability of your solutions.
سؤال
Over time, modular development allows you to build libraries of software modules for different tasks.
سؤال
All computer programs, from the lowest levels of an operating system that directly control hardware to the most complex user applications, are made up of layers of short programming modules that are constantly reused in different situations.
سؤال
Often, the hardest part of correcting an error in computer software is finding out exactly what is causing the error.
سؤال
Objects created for one project cannot be reused by other projects.
سؤال
Software design begins by writing clear specifications for what the software is supposed to do.
سؤال
Top-down development and modular design are used from the beginning of the design process and help designers break a complex problem into parts that can be more easily understood.
سؤال
Software testers must develop a testing plan that examines new software under all possible circumstances.
سؤال
Once a method has been integration tested and debugged, it can be unit tested.
سؤال
Alice objects have three kinds of methods.
سؤال
Primitive methods are encapsulated methods.
سؤال
In Alice, user-defined methods are encapsulated.
سؤال
You can use primitive methods and user-defined methods to write new methods of your own.
سؤال
Primitive methods may be used to build more complex methods, or they may be run directly.
سؤال
You can run a primitive method directly by right-clicking an object or an object tile in the Object tree, and then selecting the method you want to run from the list that appears.
سؤال
The first step in creating a new world is to set the scene by opening a template, adding necessary objects, and positioning things.
سؤال
Alice's programming language has two primitive instructions to make an object jump up and down.
سؤال
It is much easier to debug software that is written as small modules, each performing an individual task.
سؤال
Once a method stops running, their values are gone unless they were saved elsewhere.
سؤال
____ show how separate units are organized to form a single complex entity.

A) Data charts
B) Organizational charts
C) UML diagrams
D) Flowcharts
سؤال
The process of top-down design leads to ____.

A) reusable code
B) tests for correctness
C) encapsulation
D) modular development
سؤال
____ makes programming easier because you need to develop the solution to a problem only once; then you can use that code whenever you need it.

A) Encapsulation
B) Concurrency
C) Reusable code
D) Bottom-down design
سؤال
Object-oriented programming, by its very nature, encourages the development of ____.

A) subprograms
B) assignment statements
C) reusable code
D) functions
سؤال
Computer programming and software engineering generally follow a four-step process known as the ____, in which developers design, code, test, and debug software.

A) software development cycle
B) modular development cycle
C) object oriented design
D) structured design
سؤال
____ is a specialized branch of software engineering.

A) Encapsulation
B) Quantification
C) Software testing
D) Tests for correctness
سؤال
____ measure whether the program meets the original specifications.

A) Tests for correctness
B) User-defined tests
C) Primitive tests
D) Module tests
سؤال
One of the unique features of Alice is its ____.

A) use of structured programming
B) use of object-oriented programming
C) objects
D) drag-and-drop interface
سؤال
Logic and control tiles can be found at the bottom of the ____.

A) Tile
B) Editor area
C) File area
D) Details area
سؤال
A(n) ____ checks to see if the method works as expected all by itself.

A) module test
B) unit test
C) user-defined test
D) integration test
سؤال
A(n) ____ checks to see if the method works when it is placed into a larger program in combination with other methods.

A) module test
B) unit test
C) user-defined test
D) integration test
سؤال
A ____ is a short method that simulates the environment in which a newly developed method will be used.

A) test function
B) test module
C) testing shell
D) test unit
سؤال
____ are built-in, predefined methods that are part of each Alice object.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
سؤال
____ provide simple basic behaviors, such as move, turn, and roll.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
سؤال
____ are written by people who use Alice.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
سؤال
The term ____ implies that the details of a method are hidden from the user; the user cannot see or edit the details of the method.

A) personification
B) concurrency
C) off-camera
D) encapsulation
سؤال
The term ____ implies that an object cannot be seen on the screen with the camera in its current position.

A) off-camera
B) camera point at
C) camera turn to face
D) camera roll
سؤال
____ is the practice of writing compound names without using blank spaces, but capitalizing the first letter of each name that forms the compound name.

A) Uppercase
B) CamelCase
C) Lowercase
D) mixedCase
سؤال
A(n) ____ gives us information about how the method works.

A) method header
B) constructor
C) parameter
D) instance variable
سؤال
A ____ is a name for a memory location that temporarily stores a value while a method is running.

A) constructor
B) template
C) module
D) variable
سؤال
____ have data types, just like properties, and they are stored in the memory of the computer, just like properties.

A) Shells
B) Variables
C) Modules
D) Templates
سؤال
____ are associated with an object, and their values are maintained as long as the object exists.

A) Functions
B) Shells
C) Properties
D) Global variables
سؤال
____ are associated with a particular method.

A) Variables
B) Shells
C) Properties
D) Global variables
سؤال
The values of ____ exist only inside the method.

A) variables
B) shells
C) properties
D) tiles
سؤال
A(n) ____ is a variable whose value is passed from one method to another - just like a baton is passed from one runner to another in a relay race.

A) object
B) module
C) parameter
D) testing shell
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 2: Methods
1
Computer programming is part of the software engineering process, which usually involves newer object-oriented design, combined with more traditional methods of algorithm development.
True
2
Top-down development starts at the top with one concept or big idea, which is then broken down into several parts.
True
3
Modular development makes a large project more manageable.
True
4
Modular development is slow for large projects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
Modular development does not necessarily lead to a higher-quality product.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
Modular development makes it easier to find and correct errors in computer software.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
Modular development decreases the reusability of your solutions.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
Over time, modular development allows you to build libraries of software modules for different tasks.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
All computer programs, from the lowest levels of an operating system that directly control hardware to the most complex user applications, are made up of layers of short programming modules that are constantly reused in different situations.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
Often, the hardest part of correcting an error in computer software is finding out exactly what is causing the error.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
Objects created for one project cannot be reused by other projects.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Software design begins by writing clear specifications for what the software is supposed to do.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
Top-down development and modular design are used from the beginning of the design process and help designers break a complex problem into parts that can be more easily understood.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
Software testers must develop a testing plan that examines new software under all possible circumstances.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
Once a method has been integration tested and debugged, it can be unit tested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
Alice objects have three kinds of methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
Primitive methods are encapsulated methods.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
In Alice, user-defined methods are encapsulated.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
You can use primitive methods and user-defined methods to write new methods of your own.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
Primitive methods may be used to build more complex methods, or they may be run directly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
You can run a primitive method directly by right-clicking an object or an object tile in the Object tree, and then selecting the method you want to run from the list that appears.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
The first step in creating a new world is to set the scene by opening a template, adding necessary objects, and positioning things.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Alice's programming language has two primitive instructions to make an object jump up and down.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
It is much easier to debug software that is written as small modules, each performing an individual task.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
Once a method stops running, their values are gone unless they were saved elsewhere.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
____ show how separate units are organized to form a single complex entity.

A) Data charts
B) Organizational charts
C) UML diagrams
D) Flowcharts
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
The process of top-down design leads to ____.

A) reusable code
B) tests for correctness
C) encapsulation
D) modular development
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
____ makes programming easier because you need to develop the solution to a problem only once; then you can use that code whenever you need it.

A) Encapsulation
B) Concurrency
C) Reusable code
D) Bottom-down design
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Object-oriented programming, by its very nature, encourages the development of ____.

A) subprograms
B) assignment statements
C) reusable code
D) functions
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
Computer programming and software engineering generally follow a four-step process known as the ____, in which developers design, code, test, and debug software.

A) software development cycle
B) modular development cycle
C) object oriented design
D) structured design
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
____ is a specialized branch of software engineering.

A) Encapsulation
B) Quantification
C) Software testing
D) Tests for correctness
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
____ measure whether the program meets the original specifications.

A) Tests for correctness
B) User-defined tests
C) Primitive tests
D) Module tests
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
One of the unique features of Alice is its ____.

A) use of structured programming
B) use of object-oriented programming
C) objects
D) drag-and-drop interface
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Logic and control tiles can be found at the bottom of the ____.

A) Tile
B) Editor area
C) File area
D) Details area
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A(n) ____ checks to see if the method works as expected all by itself.

A) module test
B) unit test
C) user-defined test
D) integration test
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
A(n) ____ checks to see if the method works when it is placed into a larger program in combination with other methods.

A) module test
B) unit test
C) user-defined test
D) integration test
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
A ____ is a short method that simulates the environment in which a newly developed method will be used.

A) test function
B) test module
C) testing shell
D) test unit
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
____ are built-in, predefined methods that are part of each Alice object.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
____ provide simple basic behaviors, such as move, turn, and roll.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
____ are written by people who use Alice.

A) Primitive methods
B) Constructors
C) Instance methods
D) User-defined methods
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
The term ____ implies that the details of a method are hidden from the user; the user cannot see or edit the details of the method.

A) personification
B) concurrency
C) off-camera
D) encapsulation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
The term ____ implies that an object cannot be seen on the screen with the camera in its current position.

A) off-camera
B) camera point at
C) camera turn to face
D) camera roll
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
____ is the practice of writing compound names without using blank spaces, but capitalizing the first letter of each name that forms the compound name.

A) Uppercase
B) CamelCase
C) Lowercase
D) mixedCase
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
A(n) ____ gives us information about how the method works.

A) method header
B) constructor
C) parameter
D) instance variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
A ____ is a name for a memory location that temporarily stores a value while a method is running.

A) constructor
B) template
C) module
D) variable
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
____ have data types, just like properties, and they are stored in the memory of the computer, just like properties.

A) Shells
B) Variables
C) Modules
D) Templates
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
____ are associated with an object, and their values are maintained as long as the object exists.

A) Functions
B) Shells
C) Properties
D) Global variables
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
____ are associated with a particular method.

A) Variables
B) Shells
C) Properties
D) Global variables
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
The values of ____ exist only inside the method.

A) variables
B) shells
C) properties
D) tiles
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
A(n) ____ is a variable whose value is passed from one method to another - just like a baton is passed from one runner to another in a relay race.

A) object
B) module
C) parameter
D) testing shell
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.