Deck 12: Manipulating Larger Quantities of Data
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
العب
ملء الشاشة (f)
Deck 12: Manipulating Larger Quantities of Data
1
The bubble sort is the only sorting algorithm that exists.
False
2
The ____ in a list is the value of the middle item when the values are listed in order.
A)mean value
C)average value
B)median value
D)mode value
A)mean value
C)average value
B)median value
D)mode value
B
3
Swapping two values is a concept that is central to most sorting techniques.
True
4
Two-dimensional arrays are never actually required in order to achieve a useful program.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
The greatest number of pair comparisons you need to make during each loop is ____ than the number of elements in the array.
A)one less
C)two less
B)one more
D)two more
A)one less
C)two less
B)one more
D)two more
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
In a bubble sort, you use an outer loop to make the pair comparisons.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
You can use a bubble sort to arrange records in either ascending or descending order.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
When records are arranged in ____ order, it means that they are arranged from highest to lowest value.
A)ascending
C)descending
B)bubble
D)ordinal
A)ascending
C)descending
B)bubble
D)ordinal
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
In every popular computer coding scheme, "B" is numerically one greater than "A," and "y" is numerically one less than "z."
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
A(n) ____ is a list of instructions that accomplish a task.
A)algorithm
C)linked list
B)index
D)procedure
A)algorithm
C)linked list
B)index
D)procedure
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
With an ascending bubble sort, after each adjacent pair of items in a list has been compared once, the largest item in the list will have risen to the top.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
You can think of the single dimension of a single-dimensional array as the height of the array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
When records are arranged in ____ order, it means that they are arranged from lowest to highest value.
A)ascending
C)descending
B)bottom up
D)top down
A)ascending
C)descending
B)bottom up
D)top down
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
When records are in ____ order, it means that they are arranged one after another on the basis of the value in some field.
A)data
C)random
B)median
D)sequential
A)data
C)random
B)median
D)sequential
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
In a(n) ____ sort, items in a list are compared with each other in pairs, and when an item is out of order, it swaps values with the item below it.
A)bubble
C)insertion
B)selection
D)linear
A)bubble
C)insertion
B)selection
D)linear
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
A bubble sort is sometimes called a ____ sort.
A)raising
C)switch
B)sinking
D)match
A)raising
C)switch
B)sinking
D)match
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
An arithmetic average is known as the ____.
A)mean
C)mode
B)median value
D)midpoint
A)mean
C)mode
B)median value
D)midpoint
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
Insertion sort is an unintuitive sorting algorithm, and bears little resemblance to any real-world manual sorting method.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
For a descending sort in which you want to end up with the highest value first, write the decision so that you perform the switch when score[x] is ____ score[x + 1].
A)greater than or equal to
C)less than
B)equal to
D)greater than
A)greater than or equal to
C)less than
B)equal to
D)greater than
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
For an ascending sort, you need to perform the swap() method whenever any given element of the score array has a lower value than the next element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
When you swap variables, you need to use a(n) ____________________ variable.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
You can use a(n) ____ to access data records in a logical order that differs from their physical order.
A)linked list
C)either a linked list or an index
B)index
D)neither a linked list nor an index
A)linked list
C)either a linked list or an index
B)index
D)neither a linked list nor an index
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
The "real" order in which values are stored in memory is known as the ____ order.
A)ascending
C)physical
B)logical
D)descending
A)ascending
C)physical
B)logical
D)descending
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
____ arrays have both rows and columns of values.
A)Two-dimensional
C)One-dimensional
B)All
D)Multilateral
A)Two-dimensional
C)One-dimensional
B)All
D)Multilateral
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
A(n) ____ is a structure in memory that contains records with one extra field for each record.
A)logic list
C)index
B)linked list
D)array
A)logic list
C)index
B)linked list
D)array
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
An array that you can picture as a column of values, and whose elements you can access using a single subscript, is a ____ array.
A)single
C)two-dimensional
B)unilateral
D)one-dimensional
A)single
C)two-dimensional
B)unilateral
D)one-dimensional
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Suppose the value of RENT_BY_FLOOR_AND_BDRMS[0][1] is 390.The value within the first pair of brackets following the array name refers to the ____.
A)column
C)address
B)row
D)data type
A)column
C)address
B)row
D)data type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
____________________ arrays are two or more arrays that contain related data that appear in the same relative position in each array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
____ identify computer memory and storage locations.
A)Indexes
C)Linked lists
B)Addresses
D)Key fields
A)Indexes
C)Linked lists
B)Addresses
D)Key fields
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
In a ____ storage device, records can be accessed in any order.
A)null-access
C)linear-access
B)reverse-access
D)random-access
A)null-access
C)linear-access
B)reverse-access
D)random-access
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
In a bubble sort, you use a(n) ____ loop to make pair comparisons.
A)stacked
C)outer
B)sequential
D)inner
A)stacked
C)outer
B)sequential
D)inner
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
The number of times you need to process the list of values is ____ than the number of elements in the array.
A)one less
C)two less
B)one more
D)two more
A)one less
C)two less
B)one more
D)two more
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
When you ____ records, you store a list of key fields paired with the storage address for the corresponding data record.
A)index
C)access
B)sort
D)link
A)index
C)access
B)sort
D)link
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
Some languages access two-dimensional array elements with ____ separating the subscript values.
A)asterisks
C)commas
B)slashes
D)dashes
A)asterisks
C)commas
B)slashes
D)dashes
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
A three-dimensional array's subscripts are often referred to as row, column, and ____.
A)floor
C)index
B)level
D)page
A)floor
C)index
B)level
D)page
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
When you declare a one-dimensional array, you type ____ after the array's type and name.
A)()
C){}
B)[]
D)**
A)()
C){}
B)[]
D)**
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
When computers sort data, the type of values being compared are always ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
When you are unsure how many values in an array will need to be sorted, that array is said to be of ____________________ size.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
A record's ____ field is the field whose contents make the record unique among all records in a file.
A)leading
C)primary
B)description
D)key
A)leading
C)primary
B)description
D)key
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The greatest number of pair ____________________ you need to make during each bubble sort loop is one less than the number of elements in the array.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
A(n) ____________________ array is defined as any array that has more then one dimension.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
When mathematicians use a two-dimensional array, they often call it a(n) ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
The maximum allowable number of array dimensions in many programming languages, including C# and Visual Basic, is ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
The ____________________ order imposes an order on elements based on any criterion you choose.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
The ____________________ of a record makes that record unique among all other records.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ____________________ is a data structure that contains the physical address of the next record in every logical record.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
If records are stored on a(n) ____________________, they can be accessed in any order.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
____________________ is an algorithm that sorts by looking at each list element one at a time.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
____________________ order refers to a "real" order for storage.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
____________________ arrays require two subscripts to reference the contained elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck