Deck 15: Im on the Inside; Youre on the Outside Nested Loops
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/25
العب
ملء الشاشة (f)
Deck 15: Im on the Inside; Youre on the Outside Nested Loops
1
A clock uses nested repetition structures to keep track of the time.
True
2
When nesting loops, both repetition structures must be pretest loops.
False
3
When writing a clock application, the second hand on a clock is controlled by the ____ loop.
A) subordinate
C) control
B) outer
D) inner
A) subordinate
C) control
B) outer
D) inner
D
4
In the Clock application, the Start button's ____ event procedure contains the loops.
A) Click
C) Select
B) Open
D) Run
A) Click
C) Select
B) Open
D) Run
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
5
To include scroll bars on a text box, you need to change the ScrollBar property's setting from None to either Horizontal or Vertical.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
6
You can prevent the user from editing the contents of a text box by setting the text box's ReadOnly property to True.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
7
For a text box to contain scroll bars, its Multiline property must be set to True.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
8
____ means that you can place one repetition structure within another repetition structure.
A) Encasing
C) Nesting
B) Subordinating
D) Folding
A) Encasing
C) Nesting
B) Subordinating
D) Folding
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
9
To display minute values from 0 through 9 use the following syntax: for intMinutes = 0 to 9.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
10
Users can only edit the contents of a label control while the application is running.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
11
A text box can only display a limited amount of information.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
12
In the clock application, the entire nested loop must be contained within the outer loop in order to work properly.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
13
In the Clock application, you have a(n) ____ loop display the number of seconds.
A) outer
C) nested
B) control
D) subordinate
A) outer
C) nested
B) control
D) subordinate
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
14
Like selection structures, repetition structures can be nested.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
15
For a text box to include scroll bars, its ScrollBars and Multiline properties must be set appropriately.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
16
A programmer determines whether a problem's solution requires a nested loop by studying the problem ____.
A) specification
C) control
B) syntax
D) resource allocation
A) specification
C) control
B) syntax
D) resource allocation
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
17
When writing a clock application, the minute hand on a clock is controlled by the ____ loop.
A) subordinate
C) control
B) outer
D) inner
A) subordinate
C) control
B) outer
D) inner
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
18
In the Clock application, you have a(n) ____ loop display the number of minutes.
A) outer
C) nested
B) control
D) master
A) outer
C) nested
B) control
D) master
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
19
A label control can have a scroll bar.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
20
To display hour values from 0 through 3 type the following: ____.
A) For HoursInt As Integer = 0 To 3
B) For intgHours As Integer = 0 To 3
C) For intHours As Integer = 0 To 3
D) For Hours As Integer = 0 To 3
A) For HoursInt As Integer = 0 To 3
B) For intgHours As Integer = 0 To 3
C) For intHours As Integer = 0 To 3
D) For Hours As Integer = 0 To 3
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
21
To pause program execution for a half of a second, type ____.
A) System.Threading.Sleep(500)
B) System.Threading.Thread.Sleep(500)
C) System.Threading.Sleep(1000)
D) System.Threading.Thread.Sleep(1000)
A) System.Threading.Sleep(500)
B) System.Threading.Thread.Sleep(500)
C) System.Threading.Sleep(1000)
D) System.Threading.Thread.Sleep(1000)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
22
The ____ property indicates whether any scroll bars appear on the text box.
A) Scroll
C) ViewScroll
B) ScrollBar
D) ScrollBars
A) Scroll
C) ViewScroll
B) ScrollBar
D) ScrollBars
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
23
A text box can have ____, which allow you to view any information not currently showing in the control.
A) scroll bars
C) scroll handles
B) view bars
D) highlight bars
A) scroll bars
C) scroll handles
B) view bars
D) highlight bars
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
24
To refresh the interface, type ____.
A) System.Refresh()
C) Item.Refresh()
B) Refresh()
D) Me.Refresh()
A) System.Refresh()
C) Item.Refresh()
B) Refresh()
D) Me.Refresh()
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck
25
A text box's ____ property specifies whether the text can span more than one line in the control.
A) ScrollBars
C) Multiline
B) Manyline
D) Span
A) ScrollBars
C) Multiline
B) Manyline
D) Span
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 25 في هذه المجموعة.
فتح الحزمة
k this deck