· 5 years ago · Mar 20, 2020, 09:38 PM
1Q: the equivalent of cURL in PowerShell is Invoke-[...]
2A: RestMethod
3
4Q: the equivalent of cURL in PowerShell is [...]-RestMethod
5A: Invoke
6
7Q: What is the Linux equivalent of Invoke-RestMethod?
8A: cURL
9
10Q: Which natively converts credentials into a base64 string?cURL or Invoke-RestMethod
11A: cURL
12
13Q: cURL natively converts [...] into a base64 string
14A: credentials
15
16Q: cURL natively converts credentials into a [...] string
17A: base64
18
19Q: With cURL the credentials are specified using -[...]
20A: u
21
22Q: With cURL the credentials are specified using [...]
23A: -u
24
25Q: cURL specifies credentials with what flag?
26A: -u
27
28Q: Which uses -u to specify credentials?cURL/Linux or PowerShell?
29A: cURL
30
31Q: -[...] obviates the need for a credential flag in PowerShell
32A: Header
33
34Q: [...] obviates the need for a credential flag in PowerShell
35A: -Header
36
37Q: -Header obviates the need for what cURL flag in PowerShell?
38A: credential
39
40Q: -Header obviates the need for a credential flag in [...cURL/Linux or PowerShell]
41A: PowerShell
42
43Q: (cURL) -u $USER_PASSWrite in PowerShell?
44A: -Header $Header
45
46Q: (PowerShell)-Header $HeaderWrite in cURL?
47A: -u $USER_PASS
48
49Q: (cURL) -X POSTWrite in PowerShell?
50A: -Method POST
51
52Q: (PowerShell) -Method POSTWrite in cURL?
53A: -X POST
54
55Q: (cURL) --insecureWrite in PowerShell?
56A: -SkipCertificateCheck
57
58Q: (cURL) --insecureWrite in PowerShell?
59A: -SkipCertificateCheck
60
61Q: (PowerShell)-SkipCertificateCheckWrite in cURL?
62A: --insecure
63
64Q: The method (GET ,POST, PUT etc) is signified by -[...] in cURL, in PowerShell its -Method.
65A: X
66
67Q: The method (GET ,POST, PUT etc) is signified by -[...] in cURL, in PowerShell its -Method.-X or -D?
68A: X
69
70Q: The method (GET ,POST, PUT etc) is signified by -[...] in cURL, in PowerShell its -Method.-D or -X?
71A: X
72
73Q: The method (GET, POST, PUT etc) is signified by -X in [..cURL or PowerShell?.]
74A: cURL
75
76Q: (HTTP Requests). The method (GET, POST, PUT etc) is signified by WHAT in PowerShell?
77A: -Method
78
79Q: (cURL) what signifies the METHOD of your request?
80A: -X
81
82Q: In cURL you add the content type to the header, in PowerShell we specify the content with -[...].
83A: ContentType
84
85Q: (cURL vs PowerShell) in PowerShell we specify the content with -[...].
86A: ContentType
87
88Q: (cURL) --header 'Content-Type: application/json'write in PowerShell?
89A: -ContentType "application/json"
90
91Q: (PowerShell)-ContentType "application/json"Write in cURL?
92A: --header 'Content-Type: application/json'
93
94Q: (PowerShell)-ContentType "application/json"Write in cURL?[...] 'Content-Type: application/json'
95A: --header
96
97Q: (cURL) --header 'Content-Type: application/json'write in PowerShell?-[...] "application/json"
98A: ContentType
99
100Q: (cURL) --header 'Content-Type: application/json'write in PowerShell?-ContentType "[...]/json"
101A: application
102
103Q: (cURL) --header 'Content-Type: application/json'write in PowerShell?-ContentType "application/[...]"
104A: json
105
106Q: (cURL) --header 'Content-Type: application/json'write in PowerShell?-ContentType "[...]"
107A: application/json
108
109Q: To bypass warning on insecure certificates on the URL use –[...] in cURL, in PowerShell 6.0 we use -SkipCertificateCheck
110A: insecure
111
112Q: To bypass warning on insecure certificates -Skip[...] (PowerShell)(REST APIs)
113A: CertificateCheck
114
115Q: To bypass warning on insecure certificates -[...]CertificateCheck (PowerShell)(REST APIs)
116A: Skip
117
118Q: To bypass warning on insecure certificates on the URL use –insecure in cURL, in PowerShell 6.0 we use -[...]
119A: SkipCertificateCheck
120
121Q: (cURL) How do you bypass the insecure certificate warning in cURL?
122A: --insecure
123
124Q: What bypasses the insecure certificate warning in PowerShell? (REST APIs)
125A: -SkipCertificateCheck
126
127Q: cURL make your request not secure by adding what flag?
128A: -insecure
129
130Q: (cURL vs. PowerShell) Instead of using -Uri in cURL you specify the URL how?
131A: Just place it at the end of the command
132
133Q: What is the PowerShell equivalent of cURL's -d?
134A: -Body
135
136Q: (PowerShell) (Invoke-RestMethod) the cURL version of -Body?
137A: -d
138
139Q: (cURL)curl -u $USER_PASS -X POST --header 'Content-Type: application/json' --insecure -d '{}' http://example.comWhat does -d '{}' mean?
140A: Empty body
141
142Q: (cURL vs PowerShell) The only major difference is PowerShell needs a little help converting the [...] to base64, whereas its native in a shell script.
143A: credentials
144
145Q: (cURL vs PowerShell) The only major difference is PowerShell needs a little help converting the credentials to [...], whereas its native in a shell script.
146A: base64
147
148Q: Unlike cURL you must manually do WHAT to credentials with PowerShell?
149A: Convert to base64
150
151Q: (PowerShell) 2 Ways to access items in an array: 1.) [...]2.) index $myArray[0], $myArray[1]
152A: Foreach method iterates over the array
153
154Q: (PowerShell) 2 Ways to access items in an array: 1.) Foreach method iterates over the array2.) [...]
155A: index $myArray[0], $myArray[1]
156
157Q: (PowerShell) Once you have your items into an array, you can either use [...]to iterate over the list or use an index to access individual elements in the array.
158A: foreach
159
160Q: (PowerShell) Make an array that contains 1 2 3
161A: $array = @(1, 2, 3)
162
163Q: (PowerShell) Standard Aliases for [...]: the '%' symbol, ForEach
164A: Foreach-Object
165
166Q: (PowerShell) Standard Aliases for Foreach-Object: the [...] symbol, ForEach
167A: %
168
169Q: (PowerShell) Standard Aliases for Foreach-Object: the '%' symbol, [...]
170A: ForEach
171
172Q: (PowerShell) % is an alias for the ForEach-Object method or the ForEach method?
173A: ForEach-Object(in the pipeline - ForEach-Object is also an alias for ForEach)
174
175Q: ExamplesFind all the running notepad processes, convert to an @array and kill/stop them:@(Get-Process –Name notepad).ForEach({ Stop-Process -InputObject [...]})
176A: $_;
177
178Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad).ForEach({ Stop-Process [...] })
179A: -InputObject $_;
180
181Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad).ForEach({ Stop-Process [...] })$_; or -inputObject $_;
182A: -InputObject $_;
183
184Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad).ForEach({ [...] -InputObject $_; })
185A: Stop-Process
186
187Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad).ForEach([...])
188A: { Stop-Process -InputObject $_; }
189
190Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad).[...]({ Stop-Process -InputObject $_; })
191A: ForEach
192
193Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process –Name notepad)[...]
194A: .ForEach({ Stop-Process -InputObject $_; })
195
196Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @([...] –Name notepad).ForEach({ Stop-Process -InputObject $_; })
197A: Get-Process
198
199Q: (PowerShell) Find all the running notepad processes, convert to an array and kill/stop them: [...]Get-Process –Name notepad).ForEach({ Stop-Process -InputObject $_; })
200A: @(
201
202Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: @(Get-Process[...]).ForEach({ Stop-Process -InputObject $_; })
203A: –Name notepad
204
205Q: (PowerShell) Find all the running notepad processes, convert to an array and kill/stop them: [...].ForEach({ Stop-Process -InputObject $_; })
206A: @(Get-Process –Name notepad)
207
208Q: (PowerShell) Find all the running notepad processes, convert to an @array and kill/stop them: [...]
209A: @(Get-Process –Name notepad).ForEach({ Stop-Process -InputObject $_; })(Parenthesis are NOT required in the ForEach object)({ brackets are REQUIRED)
210
211Q: (PowerShell) Change the 3rd array element to 13
212A: $array[2] = 13
213
214Q: (PowerShell)$string = "I love to win."if ($string -contains '*win*') { }The above will evaluate to true or false?
215A: false
216
217Q: (PowerShell)$string = "I love to win."if ($string -like '*win*') { }The above will evaluate to true or false?
218A: true
219
220Q: if ($string -contains '*win*') { }They're trying to see if $string contains the letters "win," but unfortunately that's not what -contains does. What they really want to use is the [...]operator:
221A: -like
222
223Q: (PowerShell) The -[...] operator is a bit trickier. It's designed to tell you if a collection of objects includes ('[...]') a particular object.
224A: contains
225
226Q: (PowerShell) $coll = "one','two','three','four'if ($coll -contains 'one') { } Will evaluate to True or False?
227A: true
228
229Q: (PowerShell)$coll = Get-Serviceif ($coll -contains 'BITS') { }The variable $coll does not contain the string "BITS;" what it contains is a service object whose [...]is BITS.
230A: Name property
231
232Q: (PowerShell) What is the problem with$coll = Get-Serviceif ($coll -contains 'BITS') { }?
233A: -contains compares complex objects
234
235Q: (PowerShell) # Get just one process$proc = Get-Process | [...]
236A: Select -first 1
237
238Q: (PowerShell) # Get just one process$proc = [...]
239A: Get-Process | Select -first 1
240
241Q: (PowerShell) @( ) defines an Array or HashTable?
242A: Array
243
244Q: (PowerShell) @{ } defines an Array or HashTable?
245A: HashTable
246
247Q: (PowerShell) Which datatype is wrapped in @( )?Arrays or Hashtables?
248A: Arrays
249
250Q: (PowerShell) Which datatype uses curly brackets { } Arrays or Hashtables?
251A: Hashtables
252
253Q: (PowerShell) Create an empty hashtable
254A: $myHash = @{}
255
256Q: (PowerShell) (Hashtables) Add the property key Alex value 9 to the hashtable $agelist (NOT $agelist.alex = 9) (NOT Add-Member)
257A: $agelist.add('alex', 9)
258
259Q: (PowerShell) Create a hashtable of MuffinCat = bad and MommyCat = good.
260A: $myHash = @{ MuffinCat = "bad"MommyCat = "good"}
261
262Q: (PowerShell) can Hashtables accept an array of keys?
263A: Yes
264
265Q: (PowerShell) (Hashtables) How do you get multiple values without a loop? (NOT .values())
266A: pass an array of keys
267
268Q: (PowerShell) In order to retrieve multiple values from a Hashtable - you provide the hashtable what?
269A: an array of keys
270
271Q: (PowerShell) Hashtables can accept multiple keys by passing an element of what type?
272A: array
273
274Q: (PowerShell)#Input: $usa_states=@{ "CA" = "California"; "NY" = "New York"; "IL" = "Illinois"; "NH" = "New Hampshire" } $usa_states[...] #Output: New York California
275A: ['NY', 'CA']
276
277Q: (PowerShell)#Input: $usa_states=@{ "CA" = "California"; "NY" = "New York"; "IL" = "Illinois"; "NH" = "New Hampshire" } $usa_states['NY', 'CA'] #Output: [...]
278A: New York California
279
280Q: (PowerShell)#Input: $usa_states=@{ "CA" = "California"; "NY" = "New York"; "IL" = "Illinois"; "NH" = "New Hampshire" } $usa_states['NY', 'CA']#Will the above work?
281A: Yes
282
283Q: (PowerShell) Save the maximum value as $maxDiscount[int]$maxDiscount = $deals.deals[$i].options.discountPercent [...]
284A: | Measure-Object -Maximum | select-object -ExpandProperty Maximum
285
286Q: (PowerShell) Return the max value from this sometimes array and save it as $maxDiscount[int]$maxDiscount = $deals.deals[$i].options.discountPercent [...] -Maximum | select-object -ExpandProperty Maximum
287A: | Measure-Object
288
289Q: (PowerShell) Pause and re-run the below loop every 5 seconds $filePath = 'C:\File.txt'while (-not (Test-Path -Path $filePath)) { [...]}
290A: Start-Sleep -Seconds 5
291
292Q: (PowerShell) What Cmdlet is used to make your script wait/sleep?
293A: Start-Sleep
294
295Q: (PowerShell) What Cmdlet is used to make your script wait/sleep?Start-[...]
296A: Sleep
297
298Q: (PowerShell) Pause and re-run the below loop every 5 seconds $filePath = 'C:\File.txt'while (-not (Test-Path -Path $filePath)) { Start-Sleep - [...] 5}-Seconds or -Second (singular or PLURAL?)
299A: Start-Sleep -Seconds 5
300
301Q: (PowerShell) Pause and re-run the below loop every 5 seconds $filePath = 'C:\File.txt'while (-not (Test-Path -Path $filePath)) { Start-Sleep -[...] 5}
302A: Seconds
303
304Q: (PowerShell) Count the number of items (files and folders) in the current directory(Write CODE)
305A: (Get-ChildItem | Measure-Object).countor(Get-ChildItem).count
306
307Q: (PowerShell)(Hashtables)$ageList.GetEnumerator() | ForEach-Object{ $message = '[...]' [...] Write-Output $message } Output:"John Smith is 30""Megan Avedon is 34"
308A: {0} is {1} years old! -f $_.key, $_.value
309
310Q: (PowerShell)(Hashtables)$ageList.GetEnumerator() | ForEach-Object{ $message = '{0} is {1} years old!' -f [..], $_.value Write-Output $message } Output:"John Smith is 30""Megan Avedon is 34"
311A: $_.key
312
313Q: (PowerShell) (Hashtables) [...]() gives you each key/value pair one after another.
314A: GetEnumerator
315
316Q: (PowerShell) GetEnumerator() returns a hashtable of what?(NOT type)
317A: each key/value pair
318
319Q: (PowerShell) What method is designed for iterating over a hashtable?
320A: GetEnumerator()
321
322Q: (PowerShell) you [...CAN/CAN NOT] modify a hashtable while it is being enumerated.
323A: can NOT
324
325Q: (PowerShell) (Hashtables) Delete the property with the key of age from the object person.
326A: $person.remove('age')
327
328Q: (PowerShell) Erase the hashtable $person the preferred way
329A: $person.clear()
330
331Q: (PowerShell) (Hashtables) A common way to clear a hahstable is to just initalize it to an empty hashtable.$person = @{}While that does work, try to use [...] instead. (code)
332A: $person.clear()
333
334Q: (PowerShell) (Hashtables) The preferred way to clear a hashtable is with what method?
335A: Clear()
336
337Q: (PowerShell) (Hashtables) (Property based access)$ageList = @{}[...]Simple way to add key Kevin value 35 and Alex = 9 to $agelist hashtable. (use Property access)
338A: $ageList.Kevin = 35 $ageList.Alex = 9
339
340Q: (PowerShell)(Hashtables)Return True if the property 'Occupation' exists? (preferred method)
341A: $myobject.ContainsKey('Occupation')
342
343Q: (PowerShell) (Hashtables)Return True if a value 'Ninja" exists anywhere in the hashtable (preferred method)
344A: $myobject.ContainsValue('Ninja')
345
346Q: (PowerShell) Which object type has the methods containsValue()? and containsKey()?Hashtable or PSCustomObject?
347A: Hashtable
348
349Q: (PowerShell)(Hashtables)Return True if the property 'Occupation' exists? (preferred method).ContainsKey or .Match?
350A: $myobject.ContainsKey('Occupation')
351
352Q: (PowerShell) (hashtables) [...]() when you need to test for a value without knowing the key or iterating through the entire collection.
353A: ContainsValue
354
355Q: (PowerShell) (Hashtables) How do you test for a value if you DO NOT know the key and do not want to iterate the entire collection?
356A: ContainsValue()
357
358Q: (PowerShell) (hashtables) When you need to test for a value without knowing the key or iterating the whole collection.Use what method?
359A: ContainsValue()
360
361Q: (PowerShell) Display the used and free space of E drive, in this format:
362A: Get-PSDrive E
363
364Q: (PowerShell) What is wrong with below?
365A: $divisions.divisions
366
367Q: (PowerShell)(Hashtables) Sort the below list of hashtables in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})
368A: $data | Sort-Object -Property @{e={$_.name}}(property is optional)
369
370Q: (PowerShell)(Hashtables) Sort the below array in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property @{[...]
371A: e={$_.name}}
372
373Q: (PowerShell)(Hashtables) Sort the below hashtable in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property @{[...]{$_.name}}
374A: e=
375
376Q: (PowerShell)(Hashtables) Sort the below list of hashtables in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property [...]
377A: @{e={$_.name}}
378
379Q: (PowerShell)(Hashtables) Sort the below list of hashtables in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property [...]{$_.name}}
380A: @{e=
381
382Q: (PowerShell)(Hashtables) Sort the below list of hashtables in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property @{e=[...]
383A: {$_.name}}
384
385Q: (PowerShell)(Hashtables) Sort the below list of hashtables in alphabetical order$data = @( @{name='a'} @{name='c'} @{name='e'} @{name='f'} @{name='d'} @{name='b'})$data | Sort-Object -Property [...]
386A: @{e={$_.name}}
387
388Q: (PowerShell) The use of the [...] sign instead of the $ is what invokes the splat operation.
389A: @
390
391Q: (PowerShell) What symbol invokes the splat operation?
392A: @
393
394Q: (PowerShell) The use of the @ sign instead of the [...] is what invokes the splat operation.
395A: $
396
397Q: (PowerShell) The use of the @ sign instead of the $ is what invokes the [...]operation.
398A: splat
399
400Q: (PowerShell) One of the main advantages of PSCustomObject over Hashtables is? (Viewing Objects)
401A: PSCustomObjects allows you to view Keys and Names as columns
402
403Q: (Powershell) Most commonly you want to see the keys as column names. A [...hashtable or pscustom object?]makes that easy.
404A: pscustomobject
405
406Q: (PowerShell) Export the hashtable $person to a CSV file.$person | [...] | Export-CSV -Path $path
407A: ForEach-Object{ [pscustomobject]$_ }
408
409Q: (PowerShell) Export the hashtable $person to a CSV file.$person | [...] | Export-CSV -Path $pathForEach-Object{ [pscustomobject]$_ }orForEach-Object{ [psobject]$_ }?
410A: ForEach-Object{ [pscustomobject]$_ }
411
412Q: (PowerShell) Export the hashtable $person to a CSV file.$person | [...] | Export-CSV -Path $pathForEach-Object{ [psobject]$_ }orForEach-Object{ [pscustomobject]$_ }?
413A: ForEach-Object{ [pscustomobject]$_ }
414
415Q: (PowerShell) Export the hashtable $person to a CSV file.$person | ForEach-Object{ [pscustomobject]$_ } | [...]
416A: Export-CSV -Path $path
417
418Q: (PowerShell) Export the hashtable $person to a CSV file.$person | ForEach-Object{[...]} | Export-CSV -Path $path
419A: [pscustomobject]$_
420
421Q: (PowerShell) Export the hashtable $person to a CSV file.$person | [...]
422A: ForEach-Object{ [pscustomobject]$_ } | Export-CSV -Path $path
423
424Q: (PowerShell) Export hashtable $person to a CSV file. $person [...]
425A: | ForEach-Object{ [pscustomobject]$_ } | Export-CSV -Path $path
426
427Q: (PowerShell) Export hashtable $person to a CSV file. $person | [...] | Export-CSV -Path $path
428A: ForEach-Object{ [pscustomobject]$_ }
429
430Q: (PowerShell) Export hashtable $person to a CSV file. Before you Export-CSV on a hashtable you must first do what?
431A: convert to $PSCustomObject
432
433Q: (PowerShell) Which type is easier to export to CSV?Hashtable or PSCustomObject
434A: PSCustomObject
435
436Q: (PowerShell) Before you try to export a Hashtable as a CSV file - do what?
437A: Convert to PSCustomObject
438
439Q: (PowerShell) Convert your hashtable to a [...] and it will save correctly to CSV
440A: pscustomobject
441
442Q: (PowerShell) Are the default values of the parameters included in $PSBoundParameters?
443A: No
444
445Q: Q: (PowerShell) [WILL / WILL NOT] $PSBoundParameters include the default parameters value?
446A: WILL NOT
447
448Q: (PowerShell) Does $PSBoundParameters include the default parameters value?
449A: No
450
451Q: (PowerShell) $PSBoundParameter only includes the values that are [...].
452A: passed in as parameters
453
454Q: (PowerShell) $PSBoundParameter only includes?
455A: Passed parameter arguments
456
457Q: (PowerShell) What automatic variable only includes passed parameter arguments?
458A: $PSBoundParameter
459
460Q: (PowerShell) function Get-Params { param( $ParamOne, $ParamTwo )Get-Params 1, 2, "I'm extra." Is "I'm extra" included in $args?
461A: Yes
462
463Q: (PowerShell) function Get-Params { param( $ParamOne, $ParamTwo )Get-Params 1, 2, "I'm extra." Is "I'm extra" included in $PSBoundParameter?
464A: No
465
466Q: (PowerShell) What weird Cmdlet can help you turn datasets into a hashtable?
467A: Group-Object
468
469Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.[...]
470A: Import-CSV $Path | Group-Object -AsHashtable -Property email
471
472Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.[...] | Group-Object -AsHashtable -Property email
473A: Import-CSV $Path
474
475Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.Import-CSV $Path | [...] -Property email
476A: Group-Object -AsHashtable
477
478Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.Import-CSV $Path | Group-Object -AsHashtable [...]
479A: -Property email
480
481Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.Import-CSV $Path | [...]
482A: Group-Object -AsHashtable -Property email
483
484Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.[...] | Group-Object -AsHashtable -Property email
485A: Import-CSV $Path
486
487Q: (PowerSell) Import the CSV file in $Path. Add each row to a hashtable and use the property email as the key to access it.
488A: Import-CSV $Path | Group-Object -AsHashtable -Property email
489
490Q: (PowerShell) What method is used to make a shallow copy of a hashtable?
491A: .Clone()
492
493Q: (PowerShell) $sampledeal is an ORDERED hashtable $deals.deals[0].merchant.name contains the name of a merchantAdd this as a value. Make the key equal "name."
494A: $sampledeal.Add("Name", $deals.deals[0].merchant.name)
495
496Q: (PowerShell) $groupon is an array of PSCustomObjects.Access the property Largest Discount on the 34th object.
497A: $groupon[34]."Largest Discount"
498
499Q: (PowerShell) Create a PowerShell Custom Object with the following properties:Name is Kevin, Language is Powershell, State is Texas
500A: $myObject = [PSCustomObject]@{ Name = 'Kevin' Language = 'Powershell' State = 'Texas'}
501
502Q: $myObject = [PSCustomObject]@{ Name = 'Kevin' Language = 'Powershell' State = 'Texas'}(PowerShell) Access the property name
503A: $myObject.Name
504
505Q: $myObject = [PSCustomObject]@{ Name = 'Kevin' Language = 'Powershell' State = 'Texas'}(PowerShell) Get 'Texas' from the above object
506A: $myObject.State
507
508Q: $myObject = [PSCustomObject]@{ Name = 'Kevin' Language = 'Powershell' State = 'Texas'}(PowerShell) Will $myObject["state"] work?
509A: No$myObject.State
510
511Q: (PowerShell) Which way of access properties works FOR BOTH hashtables and PSCustomObjects?$myobj.key OR $myobj['key']?
512A: $myobj.key
513
514Q: (PowerShell) Turn the below hashtable into a PowerShell custom object$myHashtable = @{ Name = 'Kevin' Language = 'Powershell' State = 'Texas'}
515A: $myObject = [pscustomobject]$myHashtable
516
517Q: (PowerShell) What filetype is best for saving a hashtable? (BESIDES Export-CliXML)
518A: JSON
519
520Q: (PowerShell) Save the object $deals to a Json file 5 levels deep in object structure.
521A: $deals | ConvertTo-Json -depth 5 | Set-Content -Path C:deals.json
522
523Q: (PowerShell) Save the object $deals to a Json file named deals.json. $deals | ConvertTo-Json -depth 5 | Set-Content -Path C:deals.json or$deals | Set-Content -Path C:deals.json | ConvertTo-Json -depth 5
524A: $deals | ConvertTo-Json -depth 5 | Set-Content -Path C:deals.json
525
526Q: (PowerShell) Save the object $deals to a Json file named deals.json. Make sure it goes 5 levels deep in object structure?$deals | Set-Content -Path C:deals.json | ConvertTo-Json -depth 5or$deals | ConvertTo-Json -depth 5 | Set-Content -Path C:deals.json
527A: $deals | ConvertTo-Json -depth 5 | Set-Content -Path C:deals.json
528
529Q: (PowerShell) import a JSON file called deals.json and save it as an object called $deals
530A: $deals = Get-Content -Path C:deals.json | ConvertFrom-Json
531
532Q: (PowerShell) import a JSON file called deals.json and save it as an object called $deals$deals = Get-Content -Path C:deals.json | ConvertFrom-Json or$deals = ConvertFrom-Json | Get-Content -Path C:deals.json
533A: $deals = Get-Content -Path C:deals.json | ConvertFrom-Json
534
535Q: (PowerShell) import a JSON file called deals.json and save it as an object called $deals$deals = ConvertFrom-Json | Get-Content -Path C:deals.jsonor$deals = Get-Content -Path C:deals.json | ConvertFrom-Json
536A: $deals = Get-Content -Path C:deals.json | ConvertFrom-Json
537
538Q: (PowerShell) (PSCustomObject)Add a new property to $myObject ID = "KevinMarquette"
539A: $myObject | Add-Member -MemberType NoteProperty -Name `ID` -Value 'KevinMarquette'
540
541Q: (PowerShell) (PSCustomObject)Add a new property to $myObject ID = "KevinMarquette"$myObject | Add-Member -MemberType NoteProperty -[...] `ID` -Value 'KevinMarquette'-Key or -Name?
542A: -Name
543
544Q: (PowerShell) Add new properties to PSCustomObject with [...].
545A: Add-Member
546
547Q: (PowerShell)Adding properties to Objects[...]PSCustomObject$myObject.add("Muffin", 5)$myObject | Add-Member -MemberType NoteProperty -Name 'Muffin' -Value 5
548A: Hashtable
549
550Q: (PowerShell)Adding properties to ObjectsHashtable[...]$myObject.add("Muffin", 5)$myObject | Add-Member -MemberType NoteProperty -Name 'Muffin' -Value 5
551A: PSCustomObject
552
553Q: (PowerShell)Adding properties to ObjectsHashtablePSCustomObject[...]$myObject Add-Member -MemberType NoteProperty -Name 'Muffin' -Value 5
554A: $myObject.add("Muffin", 5)
555
556Q: (PowerShell)Adding properties to ObjectsHashtablePSCustomObject$myObject.add("Muffin", 5)[...FULL, LONG]
557A: $myObject | Add-Member -MemberType NoteProperty -Name 'Muffin' -Value 5
558
559Q: (PowerShell) Return items ONLY with a rating of 3
560A: $test.GetEnumerator() | ? {$_.Value -eq 3}
561
562Q: (PowerShell) You have a hashtable made up of strings and a rating of 1 - 5. Return items ONLY with a rating of 3$test.[...]() | ? {$_.Value -eq 3}
563A: GetEnumerator
564
565Q: (PowerShell) You have a hashtable made up of strings and a rating of 1 - 5. Return items ONLY with a rating of 3$test.[...] | ? {$_.Value -eq 3}
566A: GetEnumerator()
567
568Q: (PowerShell) You have a hashtable made up of strings and a rating of 1 - 5. Return items ONLY with a rating of 3$test.GetEnumerator() | ? {$_.Value -[...] 3}
569A: eq
570
571Q: (PowerShell) You have a hashtable made up of strings and a rating of 1 - 5. Return items ONLY with a rating of 3$test.GetEnumerator() | ? {$_.[...] -eq 3}
572A: Value
573
574Q: (PowerShell) (PSCustomObject) What is a hidden property that gives you access to base object metadata?
575A: psobject
576
577Q: (PowerShell)(PS Custom Object) Delete the ID property
578A: $myObject.psobject.properties.remove('ID')
579
580Q: (PowerShell)(PS Custom Object) Delete the ID property$myObject[...]remove('ID')
581A: psobject.properties
582
583Q: (PowerShell)(PS Custom Object) Delete the ID property$myObject.psobject.[...]('ID')
584A: properties.remove('ID')or members.remove('ID')
585
586Q: (PowerShell) $businesses is an array of pscustomobjects.Delete the property "LinkedIn Harvest" from $businesses[$i]
587A: $Businesses[$i].psobject.members.remove("LinkedIn Harvest")(or use psobject.properties.remove)
588
589Q: (PowerShell) [...]-Content will create and append to files. Set-Content will create and overwrite files.
590A: Add
591
592Q: (PowerShell) Add-Content will create and append to files. [...]-Content will create and overwrite files.
593A: Set
594
595Q: (PowerShell) [...] will create and append to files. Set-Content will create and overwrite files.
596A: Add-Content
597
598Q: (PowerShell) Add-Content will create and append to files. [...] will create and overwrite files.
599A: Set-Content
600
601Q: (PowerShell) [...]is the goto command for reading data.
602A: Get-Content
603
604Q: (PowerShell) What parameter makes it so Export-CSV does not insert that weird first row in the CSV file?
605A: -NoTypeInformation
606
607Q: (PowerShell) Add what to this statement to prevent it from adding weird stuff to the top row? $data | Export-CSV -Path $Path [...]
608A: -NoTypeInformation
609
610Q: Saving ObjectsPowerShellMost Accurate Way to Save an ObjectEasiest to edit by eye[...]ConvertTo-JSON
611A: Export-CliXml
612
613Q: Saving ObjectsPowerShellMost Accurate Way to Save an ObjectEasiest to edit by eyeExport-CliXml[...]
614A: ConvertTo-JSON
615
616Q: (PowerShell) if( $null -ne $myObject.ID )Will this technique work for BOTH hashtables and PSCustomObjects?
617A: Yes
618
619Q: (PowerShell)(Hashtables)(PSCustomObject) Check if a property exists - by checking if that property has a value if( [...]$myObject.ID )
620A: $null -ne
621
622Q: (PowerShell)(Hashtables)(PSCustomObject) Check if a property exists - by checking if that property has a value (Check for property called "ID" in myobject) if( [...] )
623A: $null -ne $myObject.ID
624
625Q: (PowerShell)(PSCustomObject) (Check if property called "ID" has a value in myobject) [...]
626A: if( $null -ne $myObject.ID )
627
628Q: (PowerShell)(Hashtables)(PSCustomObject) Check if a property exists - by checking if that property has a value (Check for property called "ID" in myobject)if( $null [...] $myObject.ID )
629A: -ne
630
631Q: (PowerShell)(Hashtables)(PSCustomObject) Check if a property exists - by checking if that property has a value. if( $null -ne $myObject.ID )What is the flaw with this approach?
632A: you may think the property DOES NOT EXIST AT ALL - If the property has a value of $null
633
634Q: (PSCustomObject) What is the other way to get all the property names -besides? NOT .keys()NOT $myobject.psobject.properties.name
635A: $myObject | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name
636
637Q: (PSCustomObject) What is the other way to get all the property names -besides? (NOT .keys())$myobject.psobject.properties.name$myObject | [...] | Select -ExpandProperty Name
638A: Get-Member -MemberType NoteProperty
639
640Q: (PSCustomObject) What is the other way to get all the property names -besides $myobject.psobject.properties.name? (NOT .keys())$myObject | Get-Member -MemberType NoteProperty | [...]
641A: Select-Object -ExpandProperty Name
642
643Q: (Powershell) (PSCustomObject) Even though $myObject.id = $null. Check if property "ID" exists AT ALL.
644A: if( $myobject.psobject.properties.match('ID') )
645
646Q: (Powershell) (PSCustomObject) (Testing for properties)You can test whether or not a PSCustomObject property exists at all with $myObject.PSObject.properties.[...]('PROPERTY-NAME')
647A: match
648
649Q: (Powershell) (PSCustomObject) Even though $myObject.id = $null. Check if property "ID" exists AT ALL.if( $myobject.psobject.properties.[...]('ID') )
650A: match
651
652Q: (PowerShell) (PSCustomObject) if the value could be $null and you still need to check if the property exists - check
653A: psobject.properties
654
655Q: (PowerShell) (PSCustomObject) if the value could be $null and you still need to check if the property exists - checkpsobject.
656A: properties
657
658Q: (PowerShell) When copying objects, a "shallow copy" means?
659A: Only the top level objects are copied
660
661Q: (PowerShell) (Copying Objects) Are nested objects copied during a shallow copy?
662A: No
663
664Q: (PowerShell) (Split-Path) If you need the file or folder at the end of the path, you can use the -[...] argument to get it
665A: Leaf
666
667Q: (PowerShell) What argument grabs the file or folder at the end of a path?
668A: -Leaf
669
670Q: PS:> Split-Path -Path 'c:\users\kevin.marquette\documents' -[...]documents(Get the file or folder at the end of the path)
671A: Leaf
672
673Q: (PowerShell) What will the below return?PS> Split-Path -Path 'c:\users\luke\desktop' -Leaf
674A: desktop
675
676Q: (PowerShell) [...] will give you the full path to a location.
677A: Resolve-Path
678
679Q: (PowerShell) What Cmdlet will give you the full path to a location?
680A: Resolve-Path
681
682Q: (PowerShell) [...] is the goto command for reading data. (LOCAL not WEB)
683A: Get-Content
684
685Q: (PowerShell) What is the main Cmdlet used for reading data?
686A: Get-Content
687
688Q: (PowerShell) [...]-Path allows you to test for a folder or a file before you try to use it.
689A: Test
690
691Q: (PowerShell) Test-[...] allows you to test for a folder or a file before you try to use it.
692A: Path
693
694Q: (PowerShell) [...] allows you to test for a folder or a file before you try to use it
695A: Test-Path
696
697Q: (PowerShell) if you want to use a file or folder in a script, but you are not sure it exists - use?
698A: Test-Path
699
700Q: (PowerShell) if the path $path exists execute the Cmdlet "Do-Stuff"
701A: If( Test-Path -Path $Path ) { Do-Stuff }
702
703Q: (PowerShell)PS> function hello { "[...] "} PS> hello BobHello there Bob, how are you?
704A: Hello there $args, how are you?
705
706Q: (PowerShell)PS> function hello { "Hello there [...], how are you?" }PS> hello BobHello there Bob, how are you?
707A: $args
708
709Q: (PowerShell) PS> function [...]PS> hello BobHello there Bob, how are you?
710A: hello { "Hello there $args, how are you?" }
711
712Q: (PowerShell) $args vs $PSBoundParametersWhich one allows you to see what the parameters are bound to what arguments?
713A: $PSBoundParameters
714
715Q: (PowerShell) ($args vs $PSBoundParameters) Using $args can you tell which argument is bound to which parameter?
716A: No
717
718Q: (PowerShell) Is overloading of functions supported in PowerShell?
719A: No
720
721Q: (PowerShell)How would you make a function display the following message?Please wait. Working on calculation...
722A: Write-Information "Please wait. Working on calculation..." -InformationAction Continue
723
724Q: (PowerShell) (Functions) The [...] keyword really just indicates a logical exit point
725A: return
726
727Q: (PowerShell) (Functions) The return keyword just indicates a [...]
728A: logical exit point
729
730Q: (PowerShell) think of a [...] as a function with only a process block.
731A: filter
732
733Q: (PowerShell) think of a filter as a function with only a [...] block.
734A: process
735
736Q: (PowerShell) think of a filter as a function with only a [...].
737A: process block
738
739Q: (PowerShell) The current pipeline object is available in the process clause in the special variable [...] (or $psitem).
740A: $_
741
742Q: (PowerShell) The current pipeline object is available in the process clause in the special variable $_ (or [...]).
743A: $psitem
744
745Q: (PowerShell) (Functions) In the process clause - you access the pipeline object how?
746A: $_ or $PSItem
747
748Q: (PowerShell) (Functions) In the process clause - can you access the pipeline object just as you do in the shell?
749A: Yes
750
751Q: (PowerShell) The simplest form of function uses $[...]to receive parameters automatically.
752A: args
753
754Q: (PowerShell) The 3 types of blocks - that can be specified - in a Function body?1. [...]2. process3. end blocks
755A: begin
756
757Q: (PowerShell) The 3 types of blocks - that can be specified - in a Function body?1. begin2. [...]3. end blocks
758A: process
759
760Q: (PowerShell) The 3 types of blocks - that can be specified - in a Function body?1. begin2. process3. [...]
761A: end blocks
762
763Q: (PowerShell) You load a script .\monarchs.ps1 which includes the function get-monarch - how do you make sure the function is loaded so you can now use it? (NOT Get-Command)
764A: dir function:get-m*(dir function:g* or anything like it is acceptable)(orget-command -commandtype function -name "*get-mona*")
765
766Q: (PowerShell) How do you search for what functions are available?
767A: dir function:
768
769Q: (PowerShell) Get a list of ALL available functionsdir function[...]
770A: :
771
772Q: (PowerShell) Get a list of functions that start with getdir function[...]
773A: :get*
774
775Q: (PowerShell) Searching for a function called Measure-Loci in a loaded *.ps1 file. function:m* or function: *m*
776A: function:m*
777
778Q: (PowerShell) You load the script groceries.ps1 Check if the included function Get-AppleSauce now exists?
779A: dir function:g*(or get* get-* etc.)
780
781Q: (PowerShell) (Good Style) If your function does not require a parameter should you still create an EMPTY param block?
782A: Yes
783
784Q: (PowerShell) (Functions) Force users to supply a parameter with the keyword [...]
785A: Mandatory
786
787Q: (PowerShell) What is WRONG with this code?param([parameter(Mandatory)][int]$LociStart[parameter(Mandatory=$true)][int]$LociEnd[ValidateSet('Sales','History', 'Vim', 'PowerShell')][String]$Palace[parameter(Mandatory=$false)][String]$Activity)
788A: Parameters must be separated by commas
789
790Q: (PowerShell) (Functions) Each parameter you list must be separated by
791A: commas
792
793Q: (PowerShell) param([parameter(Mandatory)][int]$LociStart,[parameter(Mandatory=$true)][int]$LociEnd COMMA YES OR NO?
794A: Yes
795
796Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called version
797A: function Install-Office { [CmdletBinding()] param( [Parameter(Mandatory)] [string]$Version )}
798
799Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called version[...]{ [CmdletBinding()] param( [Parameter(Mandatory)] [string]$Version )}
800A: function Install-Office
801
802Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [[...]] param( [Parameter(Mandatory)] [string]$Version )}
803A: CmdletBinding()
804
805Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [...] param( [Parameter(Mandatory)] [string]$Version )}
806A: [CmdletBinding()]
807
808Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] [...]( [Parameter(Mandatory)] [string]$Version )}
809A: param
810
811Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [[...](Mandatory)] [string]$Version )}
812A: Parameter
813
814Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [Parameter([...])] [string]$Version )}
815A: Mandatory
816
817Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [[...]] [string]$Version )}
818A: Parameter(Mandatory)
819
820Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [...] [string]$Version )}
821A: [Parameter(Mandatory)]
822
823Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [Parameter(Mandatory)] [...]$Version )}
824A: [string]
825
826Q: (PowerShell)(Function) Create a function Install-Office that REQUIRES a STRING parameter called versionfunction Install-Office { [CmdletBinding()] param( [Parameter(Mandatory)] [...] )}
827A: [string]$Version
828
829Q: (PowerShell) (Functions) When you need to create a function that involves pipeline support, you must include (at a minimum) an "embedded" block inside of your function called [...].
830A: process
831
832Q: (PowerShell) (Functions) To enable Pipeline Support, an "embed" block called WHAT KEYWORD is required?
833A: Process
834
835Q: (PowerShell) (Functions) WITHOUT a [...]- a function will only execute the last THING passed to it in a pipeline.
836A: process block
837
838Q: (PowerShell) (Functions) If you do NOT have a process block - and you pass multiple things to it VIA the pipeline - WHAT will the function execute?
839A: only the last THING
840
841Q: (PowerShell) (Functions) The [...] statement must be the first executable line in the script or function.
842A: param
843
844Q: (PowerShell) What must be the first executable line in a function?
845A: Param
846
847Q: (PowerShell) If your script can take parameters, what must be the first executable line?
848A: Param
849
850Q: (PowerShell) (Functions) Can comments precede param?
851A: Yes
852
853Q: (PowerShell) To list all functions in the current session: [...] -CommandType function
854A: Get-Command
855
856Q: (PowerShell) To list all functions in the current session: get-command -[...] function
857A: CommandType
858
859Q: (PowerShell) To list all functions in the current session: get-command [...] function
860A: -CommandType
861
862Q: (PowerShell) To list all functions in the current session: get-command -CommandType [...]
863A: function
864
865Q: (PowerShell) To list all functions in the current session: get-command [...]
866A: -CommandType function
867
868Q: (PowerShell) List all functions in the current session
869A: get-command -CommandType function
870
871Q: (PowerShell) List currently available functions that have "Write" in their namelike:Write-DtcTransactionsTraceSession Write-PrinterNfcTag Write-VolumeCache
872A: get-command -CommandType function -name "*write*"(dir function:get*)
873
874Q: (PowerShell) In scripts, is it requred that you define a function before you call it?
875A: Yes
876
877Q: (PowerShell) (Functions) (Passing from the Pipeline) Does PowerShell run the "begin" block BEFORE or AFTER it grabs the PIPELINE input?
878A: Before
879
880Q: (PowerShell) The [...] attribute allows you to add tab completion values to a specific parameter.
881A: ArgumentCompleter
882
883Q: (PowerShell) (Functions) What attribute allows you to add tab completion?
884A: ArgumentCompleter
885
886Q: (C#) using System;tells the compiler that our program uses the System [...].
887A: namespace
888
889Q: (C#) [...term] tell the compiler that our program uses a certain namespace.
890A: Directives
891
892Q: (C#) Directives tell the compiler that our program uses a certain [...].
893A: namespace
894
895Q: (C#) The statements that start with the word [...] are known as directives.
896A: using
897
898Q: (C#) The statements that start with the word using are known as [...].
899A: directives
900
901Q: (C#) The [...] method is the entry point of all C# console applications.
902A: Main()
903
904Q: (C#) What is the first method to be called in a program?
905A: Main()
906
907Q: (C#) (Type Casting) turn 20.9 into an integer and store in variable x
908A: int x = (int) 20.9;
909
910Q: (C#)int x = (int) 20.9;x is [...]
911A: 20(The decimal portion is truncated after the conversion.)
912
913Q: (C#) We can use the [...]() method to compare if two strings are identical.
914A: Equals
915
916Q: (C#) What method is used to compare if two strings are identical?
917A: Equals()
918
919Q: (C#) What language feature tells the compiler which namespaces our program uses?
920A: Directives
921
922Q: (C#) A [...] data type stores values like an array, but elements can be added or removed at will.
923A: list
924
925Q: (C#) What is the difference between a list and an array?
926A: A list can add or remove elements
927
928Q: (C#) To find out the number of elements in a list, use the [...] property.
929A: Count
930
931Q: (C#)(Arrays) To insert a member at the 3rd position, you writeuserAgeList.[...](2, 51);where 2 is the index and 51 is the value you want to insert.
932A: Insert
933
934Q: (C#) UserAgeList is an array. Insert the value 51 at the 3rd position in the array.
935A: userAgeList.Insert(2, 51);
936
937Q: Is C# case sensitive?
938A: Yes
939
940Q: (C#) userAgeList.Insert(2, 51); or userAgeList.insert(2, 51);?
941A: userAgeList.Insert(2, 51);(Case matters - uppercase)
942
943Q: (C#) userAgeList.insert(2, 51); or userAgeList.Insert(2, 51);?
944A: userAgeList.Insert(2, 51);(Case matters - uppercase)
945
946Q: (C#)(Arrays) To add members at a specific position, use the [...] method.
947A: Insert()
948
949Q: (C#) Check if userAgeList contains the integer ‘51’
950A: userAgeList.Contains(51);
951
952Q: (C#) To check if a list contains a certain member, use the [...]() method.
953A: Contains
954
955Q: (C#) To check if a specific element is in a list, use what method?
956A: Contains()
957
958Q: (C#) To remove all items in a list, use the [...] method.
959A: Clear()
960
961Q: (C#) (Console Apps) To accept user input, we can use either the [...]() or ReadLine() method.
962A: Read
963
964Q: (C#) (Console Apps) To accept user input, we can use either the Read() or [...]() method.
965A: ReadLine
966
967Q: (C#) (Console Apps) What are the two methods for reading console input?
968A: Read() or ReadLine()
969
970Q: (C#) [...]()reads the next character from standard input
971A: Read
972
973Q: (C#) Read()reads the next [...] from standard input
974A: character
975
976Q: (C#) [...]() reads a line of characters.
977A: ReadLine
978
979Q: (C#)What method reads an entire line of characters?
980A: ReadLine()
981
982Q: (C#) What is the standard method for converting a string to an integer?
983A: ToInt32()
984
985Q: (C#) What is the standard method for converting a string to an integer?ToInt[...]()
986A: 32
987
988Q: (C#) The 3 logical operators[...]and||or!not
989A: &&
990
991Q: (C#) The 3 logical operators&&[...]||or!not
992A: and
993
994Q: (C#) The 3 logical operators&&and[...]or!not
995A: ||
996
997Q: (C#) The 3 logical operators&&and||[...]!not
998A: or
999
1000Q: (C#) The 3 logical operators&&and||or[...]not
1001A: !
1002
1003Q: (C#) The 3 logical operators&&and||or![...]
1004A: not
1005
1006Q: (C#) The three logical operators are? (Write out there SYMBOLS)
1007A: &&, ||, !
1008
1009Q: Do JavaScript and C# use the same ternary / conditional operator?
1010A: Yes
1011
1012Q: (C#) 3>2 ? 10 : 5; returns the value [...]
1013A: 10
1014
1015Q: (C#) int myNum = 3 > 2 ? 10 : 5;myNum = ?
1016A: 10
1017
1018Q: (C#) The [...] statement is similar to an if statement except that it does not work with a range of values.
1019A: switch
1020
1021Q: (C#) If statements vs switch statements, which can work with a range of values?
1022A: If
1023
1024Q: (C#) Can switch statements work with a range of values?
1025A: No
1026
1027Q: (C#) Can if statements work with a range of values?
1028A: Yes
1029
1030Q: (C#) A switch statement requires each case to be based on [...].
1031A: a single value
1032
1033Q: (C#) jump keyword [...]the rest of the loop after [...] is skipped for that iteration.
1034A: continue
1035
1036Q: (C#) the Main() method must be called/named [...].
1037A: Main()
1038
1039Q: (C#) Can you name the Main() method something other than Main()?
1040A: No
1041
1042Q: (C#) What method must be present in all C# programs?
1043A: Main()
1044
1045Q: (C#) A [...] is simply a variable that is declared inside a class.
1046A: field
1047
1048Q: (C#) A field is simply a variable that is declared inside a [...].
1049A: class
1050
1051Q: (C#) A field is simply a [...] that is declared inside a class.
1052A: variable
1053
1054Q: (C#) A field is simply a variable that is declared [...].
1055A: inside a class
1056
1057Q: (C#) A variable declared inside a class is known as a?
1058A: Field
1059
1060Q: (C#) To be called a field, the variable must be declared inside what?
1061A: A class
1062
1063Q: (C#) A field is used to [...].(General Concept)
1064A: store data
1065
1066Q: (C#) The word private -- in front of a declaration statement -- Is as a example of a [...].
1067A: access modifier
1068
1069Q: (C#) (Access Modifiers) A field set to private can only be accessed?
1070A: Within the class it is defined
1071
1072Q: (C#) (Access Modifiers) Object X has a field A which is set to private. Can Object Y access field A?
1073A: No
1074
1075Q: (C#) (Access Modifiers) only accessible by its own class
1076A: Private
1077
1078Q: (C#) What keyword indicates that a value cannot be changed after it is created?
1079A: const
1080
1081Q: (C#) Declare a variable with what keyword to indicate that a value cannot be changed?
1082A: const
1083
1084Q: (C#) A property is commonly used to provide access to a [...] field in cases where the field is needed by other classes.
1085A: private
1086
1087Q: (C#) If one class needs access to the private field in another class - you create what to give it access? (general)(not getter)
1088A: a property
1089
1090Q: (C#) If you want to make the property read-only, set the [...NOT access modifier, more specific] to private
1091A: setter
1092
1093Q: (C#) To make a property read-only, make the setter or the getter private?
1094A: setter
1095
1096Q: (C#) To make a property read-only, make the getter or setter private?
1097A: setter
1098
1099Q: (C#) If you want to make the property read-only, you can set the setter to [...]
1100A: private
1101
1102Q: (C#) Make this property read only public int HoursWorked { get; [...] }
1103A: private set;
1104
1105Q: (C#) A [...access modifier] field is a field that is only accessible within the class in which it is declared and any class that is derived from it.
1106A: protected
1107
1108Q: (C#) A protected field is a field that is only accessible within the class in which it is declared and any class that is [...] from it.
1109A: derived
1110
1111Q: (C#) (Access Modifiers) A field that can ONLY be accessed either 1.) Inside the class itself 2.) by any derived classes This is WHAT kind of Access Modifier?
1112A: Protected
1113
1114Q: (C#) (Access Modifiers) A protected field can be accessed in how many ways? (#)
1115A: 2
1116
1117Q: (C#) (Access Modifiers) What is the difference between a protected field and a private field?
1118A: A protected field can also be accessed by any derived classes
1119
1120Q: (C#) [...] classes are derived from what are called parent classes or base classes.
1121A: child
1122
1123Q: (C#) child classes are derived from what are called [...] classes or base classes.
1124A: parent
1125
1126Q: (C#) child classes are derived from what are called parent classes or [...] classes.
1127A: base
1128
1129Q: (C#) What is the other term for parent class?
1130A: Base Class
1131
1132Q: (C#) Another term for base class?
1133A: Parent Class
1134
1135Q: (C#) Are parent and base classes the same thing?
1136A: Yes
1137
1138Q: (C#) The modifier out declares what?
1139A: A output parameter
1140
1141Q: (C#) [...]classes are known as child classes
1142A: Derived
1143
1144Q: (C#) Derived classes are known as [...] classes
1145A: child
1146
1147Q: (C#) A derived class is called a?
1148A: Child Class
1149
1150Q: (C#) Another term for child class is?
1151A: Derived Class
1152
1153Q: (C#) [...] refers to a program’s ability to use the correct method for an object based on its run-time type.
1154A: Polymorphism
1155
1156Q: (C#) The [...] keyword tells the compiler that this method may be overridden in derived classes.
1157A: virtual
1158
1159Q: (C#) What keyword allows a method to be overridden in child/derived classes?
1160A: virtual
1161
1162Q: (C#) When the compiler encounters the keyword [...], it’ll look for the same method in the derived class and executes that method instead.
1163A: virtual
1164
1165Q: (C#) The virtual keyword makes the compiler do what? (EXACTLY)
1166A: Look for that method first in the derived/child class
1167
1168Q: (C#) The keyword virtual will make the compiler Look for that method first in any?
1169A: child/derived classes
1170
1171Q: (C#) A [...] class is a special type of class that is created strictly to be a base class for other classes to derive from.
1172A: abstract
1173
1174Q: (C#) What type of class exists solely to be a base/parent class?
1175A: abstract class
1176
1177Q: (C#) What type of class is never instantiated as an object - but only exists to be a parent class?
1178A: abstract class
1179
1180Q: (C#) Are abstract classes ever instantiated?
1181A: No, never
1182
1183Q: Make a empty class called abstract class called 'MyClass'
1184A: abstract class MyClass { }
1185
1186Q: (C#) What methods have no body?
1187A: Abstract methods
1188
1189Q: (C#) A method with no body is called a?
1190A: Abstract method
1191
1192Q: (C#) [...] methods have no body
1193A: abstract
1194
1195Q: (C#) abstract methods have no [...]
1196A: body
1197
1198Q: (C#) To implement an abstract method in the derived class, we use the [...] keyword
1199A: override
1200
1201Q: (C#) To implement a [...(NOT Virtual)] method in the derived class, we use the override keyword
1202A: abstract
1203
1204Q: (C#) To implement a abstract method in the [...] class, we use the override keyword
1205A: derived/child
1206
1207Q: (C#) Interfaces are much like [...] in that they cannot be instantiated and must be inherited.
1208A: abstract classes
1209
1210Q: (C#) [...] are much like abstract classes in that they cannot be instantiated and must be inherited.
1211A: Interfaces
1212
1213Q: (C#) Interfaces cannot be instantiated; they must be [...]
1214A: inherited
1215
1216Q: (C#) Interfaces are much like abstract classes in that they cannot be [...] and must be inherited.
1217A: instantiated
1218
1219Q: (C#) Can a interface be instantiated?
1220A: No
1221
1222Q: (C#) Can a abstract class be instantiated?
1223A: No
1224
1225Q: (C#) Can a abstract class be inherited?
1226A: Yes
1227
1228Q: (C#) [...NOT abstract classes] can only contain methods with no bodies.
1229A: Interfaces
1230
1231Q: (C#) Interfaces can only contain [...] with no bodies.
1232A: methods
1233
1234Q: (C#) Can an Interface contain a method?
1235A: Yes
1236
1237Q: (C#) Interfaces can only contain methods with no [...].
1238A: bodies
1239
1240Q: (C#) Can a Interface contain a body?
1241A: No
1242
1243Q: (C#) interfaces are more conceptual than [...].
1244A: abstract classes
1245
1246Q: (C#) When a child class inherits an interface, we say that it [...] the interface.
1247A: implements
1248
1249Q: (C#) When a child class inherits a [...], we say that it implements the [...].
1250A: interface
1251
1252Q: (C#) (Style) Inheriting an interface is also called?
1253A: Implementing
1254
1255Q: (C#) (Style) Inheriting an interface is also called?
1256A: Implementing an interface
1257
1258Q: (C#) Can an Interface have a static method?
1259A: No
1260
1261Q: (C#) Can a Interface have any static members?
1262A: No
1263
1264Q: (C#) Can an Interface have a static method?
1265A: No
1266
1267Q: (C#) Interfaces cannot contain fields but can contain [...] (unlike abstract classes) (NOT Methods)
1268A: properties
1269
1270Q: (C#) Interfaces cannot contain fields but can contain properties (unlike [...]).
1271A: abstract classes
1272
1273Q: (C#) Which can contain properties?Interfaces or Abstract classes?
1274A: Interfaces
1275
1276Q: (C#) It is common to start the name of an interface with the letter [...].
1277A: I
1278
1279Q: (C#) It is common to start the name of a [...] with the letter I.
1280A: interface
1281
1282Q: (C#) Weird style guideline regarding naming your interfaces?
1283A: Start the name with an I
1284
1285Q: (C#) (Style) What usually has a name that starts with an I?
1286A: A Interface
1287
1288Q: (C#) All properties and methods in an interface are [...access modifier]
1289A: public
1290
1291Q: (C#) Can an interface have methods and properties set to private?
1292A: No
1293
1294Q: (C#) Can an interface have methods and properties set to protected?
1295A: No
1296
1297Q: (C#) Can an interface have methods and properties set to internal?
1298A: No
1299
1300Q: (C#) All methods and propeties of an interface are always set to
1301A: Public
1302
1303Q: (C#) What are the 4 access modifiers:
1304A: private, public, protected, and internal
1305
1306Q: (C#) comes with 4 access modifiers: [...], public, protected and internal.
1307A: private
1308
1309Q: (C#) comes with 4 access modifiers: private, [...], protected and internal.
1310A: public
1311
1312Q: (C#) comes with 4 access modifiers: private, public, [...] and internal.
1313A: protected
1314
1315Q: (C#) comes with 4 access modifiers: private, public, protected and [...].
1316A: internal
1317
1318Q: (C#) Anything declared as [...] is only accessible within the current assembly.
1319A: internal
1320
1321Q: (C#) Anything declared as internal is only accessible within the current [...].
1322A: assembly
1323
1324Q: (C#) Anything declared as internal is only accessible within the [...] assembly.
1325A: current
1326
1327Q: (C#) Anything declared as internal is only accessible within the [...].
1328A: current assembly
1329
1330Q: (C#) What does a internal decleration mean?
1331A: Only accessible within this assembly
1332
1333Q: (C#) To make something accessible to only this current assembly, declare it as?
1334A: Internal
1335
1336Q: (C#) [...] stands for enumerated type
1337A: enum
1338
1339Q: (C#) enum stands for [...] type
1340A: enumerated
1341
1342Q: (C#) Weird thing about the end of enum definitions?
1343A: No semi-colon
1344
1345Q: (C#) Do you put a semi-colon at the end of an enum definition?
1346A: No
1347
1348Q: (C#) Define an enum called DaysOfTheWeek that has each day of the week.
1349A: enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}(NO SEMI-COLON AT THE END)
1350
1351Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}DaysOfWeek myDays = DaysOfWeek.Mon;Console.WriteLine(myDays);Returns?
1352A: Mon
1353
1354Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}Create a variable called myDays which is set to Mon from the above enum
1355A: DaysOfWeek myDays = DaysOfWeek.Mon;
1356
1357Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}DaysOfWeek myDays = [...];Console.WriteLine(myDays);Mon
1358A: DaysOfWeek.Mon
1359
1360Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}[...] myDays = DaysOfWeek.Mon;Console.WriteLine(myDays);Mon
1361A: DaysOfWeek
1362
1363Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}DaysOfWeek [...] = DaysOfWeek.Mon;Console.WriteLine(myDays);Mon
1364A: myDays
1365
1366Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}[...] = DaysOfWeek.Mon;Console.WriteLine(myDays);Mon
1367A: DaysOfWeek myDays
1368
1369Q: (C#)enum DaysOfWeek {Sun, Mon, Tues, Wed, Thurs, Fri, Sat}[...];Console.WriteLine(myDays);Mon
1370A: DaysOfWeek myDays = DaysOfWeek.Mon
1371
1372Q: (C#) The 2 Reasons to use enums: 1.) Improve the readability of your code. 2.)
1373A: Restrict the values that a variable can take
1374
1375Q: (C#) Can you derive one struct from another?
1376A: No
1377
1378Q: (C#) Can you derive a struct from another separate struct?
1379A: No
1380
1381Q: (C#) Can a struct implement an interface?
1382A: Yes
1383
1384Q: (C#) structs are [...] types while classes are reference types.
1385A: value
1386
1387Q: (C#) structs are value types while classes are [...] types.
1388A: reference
1389
1390Q: (C#) LINQ stands for [...]
1391A: Language-Integrated Query
1392
1393Q: (C#) LINQ stands for Language-[...] Query
1394A: Integrated
1395
1396Q: (C#) [...] stands for Language-Integrated Query
1397A: LINQ
1398
1399Q: (C#) LINQ stands for Language-[...]
1400A: Integrated Query
1401
1402Q: (C#) LINQ stands for [...]-Integrated Query
1403A: Language
1404
1405Q: (C#) The typical syntax for a LINQ query is [...]… where… orderby… select
1406A: from
1407
1408Q: (C#) The typical syntax for a LINQ query is from… [...]… orderby… select
1409A: where
1410
1411Q: (C#) The typical syntax for a LINQ query is from… where… [...]… select
1412A: orderby
1413
1414Q: (C#) The typical syntax for a LINQ query isfrom… where… orderby… [...]
1415A: select
1416
1417Q: (C#) What class is used to read a text file?
1418A: StreamReader
1419
1420Q: (C#) What class is used to read data from a text file?
1421A: StreamReader
1422
1423Q: (C#) A file is loaded in variable sr. How do you close sr?
1424A: sr.Close();
1425
1426Q: .NET offers a rich [...] API that allows one to load and dynamically interact with a compiled C# assembly in memory with ease.
1427A: reflection
1428
1429Q: (.NET) What kind of API allows you to interact with compiled assemblies?
1430A: reflection API
1431
1432Q: (C#) Fortunately, through its [...] API and P/Invoke and marshaling interface, C# allows one to get as low level as needed.
1433A: reflection
1434
1435Q: (C#) Fortunately, through its reflection API and [...] and marshaling interface, C# allows one to get as low level as needed.
1436A: P/Invoke
1437
1438Q: (C#) Fortunately, through its reflection API and P/Invoke and [...] interface, C# allows one to get as low level as needed.
1439A: marshaling
1440
1441Q: (C#) Fortunately, through its reflection API and P/Invoke and marshaling [...], C# allows one to get as low level as needed.
1442A: interface
1443
1444Q: (C#) Fortunately, through its reflection API and P/Invoke and [...], C# allows one to get as low level as needed.
1445A: marshaling interface
1446
1447Q: (C#) What prevents potential name collisions, such as when two programmers create two classes with the same name?
1448A: Namespaces
1449
1450Q: (C#) Is a namespace required for every class?
1451A: Yes
1452
1453Q: (C#) Is it acceptable to have two classes WITH THE SAME NAME **IF** they are in separate namespaces?
1454A: Yes
1455
1456Q: (C#) If two classes with the same name are in different [...], there won’t be a problem.
1457A: namespaces
1458
1459Q: (C#) Interfaces are also used as a [...concept] for new classes
1460A: blueprint
1461
1462Q: (C#) Which DOES NOT have inheritance? Classes or Interfaces?
1463A: Interfaces
1464
1465Q: (C#) If a parent class implements an interface - will that parent class pass down the interface’s properties and methods to its child classes?
1466A: No
1467
1468Q: (C#) What can be thought of as a complement to classes (NOT abstract class)?
1469A: interfaces
1470
1471Q: A complement to [...] in C# are interfaces.
1472A: classes
1473
1474Q: (C#) [...] allow a programmer to force a class to implement certain properties or methods that aren’t inherited.
1475A: Interfaces
1476
1477Q: (C#) What is used to force a class to implement certain properties or methods that are NOT otherwise inherited?
1478A: Interfaces
1479
1480Q: (C#) [...] Methods allow us to dynamically pass and assign methods using delegates.
1481A: Anonymous
1482
1483Q: (C#) Anonymous [...] allow us to dynamically pass and assign methods using delegates
1484A: Methods/Functions
1485
1486Q: (C#) What kind of method allows us to dynamically pass and assign methods using delegates?
1487A: Anonymous Methods
1488
1489Q: (C#) Anonymous Methods allow us to dynamically pass and assign methods using [...].
1490A: delegates
1491
1492Q: (C#) (Anonymous Methods) a delegate holds a [...] to a method
1493A: reference
1494
1495Q: (C#) a delegate holds a reference to a [...]
1496A: method
1497
1498Q: (C#)A [...] is a collection of classes.
1499A: namespace
1500
1501Q: (C#) A C# program begins execution at what method?
1502A: Main()
1503
1504Q: (C#) Does your file name have to be the same as your class name?
1505A: No
1506
1507Q: How do Java and C# differ in the naming of program files that contain one class?
1508A: In Java, the class name and file name must be the same.
1509
1510Q: (C#) The first statement in any C# program is[...]
1511A: using System;
1512
1513Q: (C#) What keyword is used for including namespaces in the program?
1514A: using
1515
1516Q: (C#) variables in C#, are categorized into the following types -[...] typesReference typesPointer types
1517A: Value
1518
1519Q: (C#) variables in C#, are categorized into the following types -Value types[...] typesPointer types
1520A: Reference
1521
1522Q: (C#) variables in C#, are categorized into the following types -Value typesReference types[...] types
1523A: Pointer
1524
1525Q: (C#) variables in C#, are categorized into how many types? (#)
1526A: 3
1527
1528Q: (C#) what are the three general categories/types of variables in C#?
1529A: Value, Reference, Pointer
1530
1531Q: (C#) To get the exact size of a type or a variable on a particular platform, you can use the [...] method.
1532A: sizeof
1533
1534Q: (C#) How do you get the size of a variable?
1535A: Sizeof()
1536
1537Q: (C#) What method gives you the size of a type?
1538A: Sizeof()
1539
1540Q: (C#) The expression [...](type) yields the storage size of the object or type in bytes.
1541A: sizeof
1542
1543Q: (C#) The expression sizeof(type) yields the storage size of the object or type in [...].
1544A: bytes
1545
1546Q: (C#) Do reference types contain the actual data stored in a variable?
1547A: No
1548
1549Q: (C#) [...] types refer to a memory location.
1550A: reference
1551
1552Q: (C#) reference types refer to a [...] location.
1553A: memory
1554
1555Q: (C#) reference types refer to a memory [...].
1556A: location
1557
1558Q: (C#) Type checking for object type variables takes place at what time?
1559A: compile time
1560
1561Q: (C#) Dynamic types are similar to object types except that type checking for object type variables takes place at compile time, whereas that for the dynamic type variables takes place at [...] time.
1562A: run
1563
1564Q: (C#) The user-defined reference types are: [...], interface, or delegate.
1565A: class
1566
1567Q: (C#) The user-defined reference types are: class, [...], or delegate.
1568A: interface
1569
1570Q: (C#) The user-defined reference types are: class, interface, or [...].
1571A: delegate
1572
1573Q: (C#) Pointer type variables store the [...] of another type.
1574A: memory address
1575
1576Q: (C#) Do pointers in C# have the same capabilities as the pointers in C or C++?
1577A: Yes
1578
1579Q: (C#) Syntax for declaring a pointer type is -[...] identifier;
1580A: type*
1581
1582Q: (C#) Syntax for declaring a [...] type is -type* identifier;
1583A: pointer
1584
1585Q: (C#) What keyword defines a constant variable?
1586A: const
1587
1588Q: (C#) Do JavaScript and C# use the SAME keyword to define constant variables?
1589A: Yes
1590
1591Q: (C#) Return the size of a data type
1592A: sizeof()
1593
1594Q: (C#) What method returns the type of a class?
1595A: typeof()
1596
1597Q: (C#) What operator returns the address of a variable?
1598A: &
1599
1600Q: (C#) What does the operator & do?
1601A: Returns the address of a variable
1602
1603Q: (C#) What does the operator & return?
1604A: the address of a variable
1605
1606Q: (C#) the operator & returns the memory address of a [...].
1607A: variable
1608
1609Q: (C#) Return the actual address of the variable a
1610A: &a;
1611
1612Q: (C#) Which is a pointer?* or &
1613A: *
1614
1615Q: (C#) Which is a pointer?& or *
1616A: *
1617
1618Q: (C#) Which symbol means the actual address of the variable (not a pointer)?* or &
1619A: &
1620
1621Q: (C#) Which symbol means the actual address of the variable (not a pointer)? & or *
1622A: &
1623
1624Q: (C#) create a pointer named 'a' to a variable.
1625A: *a;
1626
1627Q: (C#) One sentence explanation of the? : Conditional Expression ?
1628A: If Condition is true ? Then value X : Otherwise value Y
1629
1630Q: (C#) Which access specifier allows any child class to access the members of its parent? (To other, none children classes, the members are private).
1631A: Protected
1632
1633Q: (C#) Every C# program has at least one class with a method named [...].
1634A: Main
1635
1636Q: (C#) Can you have a C# program without the Main() method?
1637A: No
1638
1639Q: (C#) The syntax for defining a method in C# is <[...]> <Return Type> <Method Name>(Parameter List) { Method Body}
1640A: Access Specifier
1641
1642Q: (C#) The syntax for defining a method in C# is <Access Specifier> <[...]> <Method Name>(Parameter List) { Method Body}
1643A: Return Type
1644
1645Q: (C#) The syntax for defining a method in C# is <Access Specifier> <Return Type> <[...]>(Parameter List) { Method Body}
1646A: Method Name
1647
1648Q: (C#) The syntax for defining a method in C# is <Access Specifier> <Return Type> <Method Name>([...]) { Method Body}
1649A: Parameter List
1650
1651Q: (C#) The syntax for defining a method in C# is [...] <Method Name>(Parameter List) { Method Body}
1652A: <Access Specifier> <Return Type>
1653
1654Q: (C#) The syntax for defining a method in C# is [...](Parameter List) { Method Body}
1655A: <Access Specifier> <Return Type> <Method Name>
1656
1657Q: (C#) Is the keyword Method used in a method declaration?
1658A: No
1659
1660Q: (C#) A method can call itself. This is known as [...]
1661A: recursion
1662
1663Q: (C#) the [...] data type, is a type to which you can assign normal range of values as well as null values.
1664A: nullable
1665
1666Q: (C#) What type allows you to assign both values and nulls?
1667A: nullable
1668
1669Q: (C#) Syntax for declaring a nullable type is as follows -< data_type> [...] <variable_name> = null;
1670A: ?
1671
1672Q: (C#) Syntax for declaring a [...] type is as follows -< data_type> ? <variable_name> = null;
1673A: nullable
1674
1675Q: (C#) A class [...] is a special member function of a class that is executed whenever we create new objects of that class.
1676A: constructor
1677
1678Q: (C#) creating derived classesclass <derived_class> : <base_class> { ...}orclass <base_class> : <derived_class>{ ...}
1679A: class <derived_class> : <base_class> {...}
1680
1681Q: (C#) creating derived classesclass <base_class> : <derived_class>{...}orclass <derived_class> : <base_class> {...}
1682A: class <derived_class> : <base_class> {...}
1683
1684Q: (C#) creating class (Syntax) Which is typed first - the child class or the parent class?
1685A: child
1686
1687Q: (C#) creating classes(Syntax) Which comes first - the derived class or the base class?When typing a class namedervied : base orbase : derived
1688A: derived : base
1689
1690Q: (C#) Polymorphism can be [...] or dynamic.
1691A: static
1692
1693Q: (C#) Polymorphism can be static or [...].
1694A: dynamic
1695
1696Q: (C#) the response to a function is determined at compile time with what form of polymorphism?
1697A: static
1698
1699Q: (C#) In static polymorphism, the response to a function is determined at [...].
1700A: the compile time
1701
1702Q: (C#) In dynamic polymorphism, it is decided at [...].
1703A: run-time
1704
1705Q: (C#) In [...] polymorphism, it is decided at run-time.
1706A: dynamic
1707
1708Q: (C#) Which type of polymorphism is decided at run-time?
1709A: dynamic
1710
1711Q: (C#) Interface statements are what access modifier by default (public/private/protected/internal)?
1712A: public
1713
1714Q: (C#) A [...] is designed for providing a way to keep one set of names separate from another.
1715A: namespace
1716
1717Q: C# has what kind of type system?
1718A: Unified Type System
1719
1720Q: All C# types, including primitive types such as int and double, inherit from a single root [...]type.
1721A: object
1722
1723Q: (C#) All types inherit from one single type known as?
1724A: Object
1725
1726Q: (C#) [...] provide a hierarchical means of organizing C# programs and libraries.
1727A: Namespaces
1728
1729Q: (C#) What is used to provide a hierarchical means of organizing C# programs?
1730A: Namespaces
1731
1732Q: (C#) [...] are the most fundamental of C#'s types.
1733A: Classes
1734
1735Q: What is the most fundamental C# type?
1736A: Class
1737
1738Q: (C#) [...]are instances of a class.
1739A: Objects
1740
1741Q: (C#) Objects are instances of a [...].
1742A: class
1743
1744Q: (C#) Classes are built using [...] (concept)
1745A: members
1746
1747Q: (C#) Classes are built using [...]members or objects?
1748A: members
1749
1750Q: (C#) Classes are built using [...]objects or members?
1751A: members
1752
1753Q: (C#) [...] are built using members
1754A: Classes
1755
1756Q: (C#) [...] are data structures that, unlike classes, are value types.
1757A: Structs
1758
1759Q: (C#) data structures similar to classes but that are value types (and NOT classes) are called?
1760A: Structs
1761
1762Q: (C#) Structs are data structures that, unlike [...], are value types.
1763A: classes
1764
1765Q: (C#) Structs are data structures that, unlike classes, are [...]
1766A: value types
1767
1768Q: (C#) Are Structs value types?
1769A: Yes
1770
1771Q: (C#) An interface defines a [...(term)] that can be implemented by classes and structs.
1772A: contract
1773
1774Q: (C#) An interface defines a [...] (Concept / Term)
1775A: contract
1776
1777Q: (C#) An interface defines a contract that can be implemented by [...] and structs.
1778A: classes
1779
1780Q: (C#) What two things can implement an interface?
1781A: classes and structs
1782
1783Q: (C#) An interface defines a contract that can be implemented by classes and [...]
1784A: structs
1785
1786Q: (C#) An enum type is a distinct value type with a set of [...] constants.
1787A: named
1788
1789Q: (C#) An enum type is a distinct value type with a set of named [...].
1790A: constants
1791
1792Q: (C#) An enum type is a distinct value type with a set of [...].
1793A: named constants
1794
1795Q: (C#) An enum type is a set of?
1796A: named constants
1797
1798Q: (C#) [...] type is a distinct value type with a set of named constants.
1799A: enum
1800
1801Q: (C#) What makes it possible to pass methods as parameters?
1802A: Delegates
1803
1804Q: (C#) Which one is type safe? delegates or function pointers?
1805A: Delegates
1806
1807Q: (C#) Delegates, unlike [...in other languages], delegates are object-oriented and type-safe.
1808A: function pointers
1809
1810Q: (C#) [...] are similar to the concept of function pointers found in some other languages
1811A: Delegates
1812
1813Q: (C#) Delegates are similar to the concept of [...] pointers found in some other languages
1814A: function
1815
1816Q: (C#) Delegates are similar to the concept of function [...] found in some other languages
1817A: pointers
1818
1819Q: (C#) Delegates are similar to the concept of [...] found in some other languages
1820A: function pointers
1821
1822Q: (C#) In other languages a delegate is often known as a?
1823A: function pointer
1824
1825Q: (C#) What enables programs to specify additional declarative information about types, members, and other entities?
1826A: Attributes
1827
1828Q: (C#) With [...] you can specify additional declarative information about types, members, and other entities.
1829A: Attributes
1830
1831Q: (C#) When C# programs are compiled, they are physically packaged into [...].
1832A: assemblies
1833
1834Q: (C#) C# programs compile down into a? (term)(NOT Intermediate Language)
1835A: Assemblies
1836
1837Q: (C#) [...] typically have the file extension .exe or .dll, depending on whether they implement applications or libraries, respectively.
1838A: Assemblies
1839
1840Q: (C#) Assemblies typically have the file extension [...] or .dll, depending on whether they implement applications or libraries, respectively.
1841A: .exe
1842
1843Q: (C#) Assemblies typically have the file extension .exe or .[...], depending on whether they implement applications or libraries, respectively.
1844A: dll
1845
1846Q: (C#) Assemblies typically have the file extension .exe or .dll, depending on whether they implement [...] or libraries, respectively.
1847A: applications
1848
1849Q: (C#) Assemblies typically have the file extension .exe or .dll, depending on whether they implement applications or [...], respectively.
1850A: libraries
1851
1852Q: (C#) An assembly library usually has what file extension?
1853A: .dll
1854
1855Q: (C#) An assembly application usually has what file extension?
1856A: .exe
1857
1858Q: (C#) What are the two file extensions for assemblies?
1859A: .dll and .exe
1860
1861Q: (C#) Do value types have their own copy of the data or point to data?
1862A: Their own copy
1863
1864Q: (C#) There are two kinds of types in C#: [...] types and reference types.
1865A: value
1866
1867Q: (C#) There are two kinds of types in C#: 1.) value types 2.) [...] types.
1868A: reference
1869
1870Q: (C#) The two kinds of types in C# are?
1871A: value types and reference types
1872
1873Q: (C#)’s value types are further divided into 4 categories:1.) [...] types2.) nullable value types3.) simple types4.) struct types
1874A: enum
1875
1876Q: (C#) value types are further divided into 4 categories:1.) enum types2.) [...] types3.) simple types4.) struct types
1877A: nullable value
1878
1879Q: (C#) value types are further divided into 4 categories:1.) enum types2.) nullable value types3.) [...] types4.) struct types
1880A: simple
1881
1882Q: (C#) value types are further divided into 4 categories:1.) enum types2.) nullable value types3.) simple types4.) [...] types
1883A: struct
1884
1885Q: (C#) value types are further divided into [...#] categories:
1886A: 4
1887
1888Q: (C#) Reference types are divided into how many basic categories? (what #)
1889A: 4
1890
1891Q: (C#) reference types are further divided into: 1.) [...] types 2.) class types3.) delegate types.4.) interface types
1892A: array
1893
1894Q: (C#) reference types are further divided into: 1.) array types 2.) [...] types3.) delegate types.4.) interface types
1895A: class
1896
1897Q: (C#) reference types are further divided into: 1.) array types 2.) class types3.) [...] types.4.) interface types
1898A: delegate
1899
1900Q: (C#) reference types are further divided into: 1.) array types 2.) class types3.) delegate types4.) [...] types
1901A: interface
1902
1903Q: (C#) What type is used to represent Boolean values?
1904A: bool
1905
1906Q: C# programs use [...] to create new types (concept)
1907A: type declarations
1908
1909Q: In C# new types are created with what? (Concept)(NOT constructor)
1910A: Type declerations
1911
1912Q: (C#) What specifies the name and the members of a new type?
1913A: type declaration
1914
1915Q: (C#) The 5 User Definable Type Categories:[...] Delegate Enum Interface Struct
1916A: Class
1917
1918Q: (C#) The 5 User Definable Type Categories:Class [...] Enum Interface Struct
1919A: Delegate
1920
1921Q: (C#) The 5 User Definable Type Categories:Class Delegate [...] Interface Struct
1922A: Enum
1923
1924Q: (C#) The 5 User Definable Type Categories:Class Delegate Enum [...] Struct
1925A: Interface
1926
1927Q: (C#) The 5 User Definable Type Categories:Class Delegate Enum Interface [...]
1928A: Struct
1929
1930Q: (C#) The 5 [...]Type Categories:Class Delegate Enum Interface Struct
1931A: User Definable
1932
1933Q: (C#) The 5 User Definable [...] Categories:Class Delegate Enum Interface Struct
1934A: Type
1935
1936Q: (C#) What are the 5 User Definable Type Categories?[...]
1937A: Class, Delegate, Enum, Interface, Struct
1938
1939Q: (C#) Do Struct types support user-specified inheritance?
1940A: They do NOT
1941
1942Q: (C#) A [...] type is similar to a class type in that it represents a structure with data members and function members.
1943A: struct
1944
1945Q: (C#) A struct type is similar to a [...] type in that it represents a structure with data members and function members.
1946A: class
1947
1948Q: (C#) Do structs require heap allocation?
1949A: No
1950
1951Q: (C#) Structs are what kind of type? (NOT simple)
1952A: Value types
1953
1954Q: (C#) Do classes require heap allocation?
1955A: Yes
1956
1957Q: (C#) A [...] type defines a contract as a named set of public function members.
1958A: interface
1959
1960Q: (C#) A interface type defines a [...] as a named set of public function members.
1961A: contract
1962
1963Q: (C#) A interface type defines a contract as a [...] set of public function members.
1964A: named
1965
1966Q: (C#) A interface type defines a contract as a named [...] of public function members.
1967A: set
1968
1969Q: (C#) Ainterfacetype defines a contract as a named set of [...] function members.
1970A: public
1971
1972Q: (C#) Ainterface type defines a contract as a named set of public [...] members.
1973A: function
1974
1975Q: (C#) A interface type is made up of what kind of functions?(access modifier)
1976A: Public
1977
1978Q: (C#) Can a interface inherit from other interfaces?
1979A: Yes
1980
1981Q: (C#) A interface can inherit from one or multiple base/parent interfaces?
1982A: multiple
1983
1984Q: (C#) a class or struct may implement only one or multiple interfaces?
1985A: multiple
1986
1987Q: (C#) a class or struct may implement only one or multiple parent classes?
1988A: only one
1989
1990Q: (C#) What can be thought of as a lightweight class?
1991A: a struct
1992
1993Q: (C#) Can a struct implement interfaces?
1994A: Yes
1995
1996Q: (C#) Do structs suport inheritance?
1997A: No
1998
1999Q: (C#) [...] make it possible to treat methods as entities that can be assigned to variables and passed as parameters.
2000A: Delegates
2001
2002Q: (C#) What makes it possible to assign a method to a variable? (OOP)
2003A: Delegates
2004
2005Q: (C#) What makes it possible to pass a method as a parameter? (OOP)
2006A: Delegates
2007
2008Q: (C#) What makes it possible to assign a method to a variable? (OOP)
2009A: Delegates
2010
2011Q: (C#) What makes it possible to pass a method as a parameter? (OOP)
2012A: Delegates
2013
2014Q: (C#) What type represents references to methods with a particular parameter list and return type?
2015A: delegate
2016
2017Q: (C#) A delegate type represents references to [...] with a particular parameter list and return type.
2018A: methods
2019
2020Q: (C#) A delegate type represents references to methods with a particular parameter list and [...].
2021A: return type
2022
2023Q: (C#) A delegate type represents references to methods with a particular [...] and return type.
2024A: parameter list
2025
2026Q: (C#) A delegate type represents references to methods with a particular [...] list and return type.
2027A: parameter
2028
2029Q: (C#) A delegate type represents [...] to methods with a particular parameter list and return type.
2030A: references
2031
2032Q: (C#) A delegate type represents references to?
2033A: methods
2034
2035Q: (C#) A delegate type is used to represents a reference to what?
2036A: methods
2037
2038Q: (C#) A delegate type represents [...] to methods?
2039A: references
2040
2041Q: (C#) A delegate type does not just reference a method, but does so with what 2 particular things?
2042A: 1.) Parameter List 2.) Return Type
2043
2044Q: (C#) The class, struct, interface and delegate types all support [...], whereby they can be parameterized with other types.
2045A: generics
2046
2047Q: (C#) What concept allows the class, struct, interface and delegate types to be parameterized with other objects?
2048A: Generics
2049
2050Q: (C#) An enum type is a distinct type with [...].
2051A: named constants
2052
2053Q: (C#) An [...] type is a distinct type with named constants.
2054A: enum
2055
2056Q: (C#) Unlike the types listed above, [...] types do not have to be declared before they can be used.
2057A: array
2058
2059Q: (C#) Instead, array types are constructed by following a type name with [...] (syntax)
2060A: [] square brackets
2061
2062Q: (C#) Define a single-dimensional array of int
2063A: int[]
2064
2065Q: (C#) What is an empty two-dimensional array of int ?
2066A: int[,]
2067
2068Q: (C#) Do Nullable value types have to be declared before they can be used?
2069A: They DO NOT
2070
2071Q: (C#) Write the variable T as a nullable
2072A: T?
2073
2074Q: (C#) What type can hold any 32-bit integer or the value null?
2075A: int?
2076
2077Q: (C#) C#’s type system is unified such that a value of any type can be treated as a [...]
2078A: object
2079
2080Q: (C#) Are ALL types also objects?
2081A: Yes
2082
2083Q: (C#) Does C# have a unified type system?
2084A: Yes
2085
2086Q: (C#) The values of value types are treated as objects by performing [...] and un[...] operations.
2087A: boxing
2088
2089Q: (C#) It is possible to deallocate objects in C#?
2090A: No, Not possible
2091
2092Q: (C#) The members of a class are either:1.) static members2.) [...]
2093A: instance members
2094
2095Q: (C#) The members of a class are either:1.) [...]2.) instance members
2096A: static members
2097
2098Q: (C#) [...] members belong to classes, and instance members belong to objects (instances of classes).
2099A: Static
2100
2101Q: (C#) Static members belong to [...], and instance members belong to objects (instances of classes).
2102A: classes
2103
2104Q: (C#) Static members belong to classes, and [...] members belong to objects
2105A: instance
2106
2107Q: (C#) Static members belong to classes, and instance members belong to [...] (instances of classes).
2108A: objects
2109
2110Q: (C#) Can delegate types be generic?
2111A: Yes
2112
2113Q: (C#) Can struct types be generic?
2114A: Yes
2115
2116Q: (C#) Can interface types be generic?
2117A: Yes
2118
2119Q: (C#) (Reference Parameters) A reference parameter is declared with the [...] modifier.
2120A: ref
2121
2122Q: (C#) The keyword ref declares what?
2123A: reference parameter
2124
2125Q: (C#) What keyword declares a reference parameter?
2126A: ref
2127
2128Q: (C#) A [...] is declared with the ref modifier.
2129A: reference parameter
2130
2131Q: (C#) A output [...] is used for passing arguments by reference.
2132A: parameter
2133
2134Q: (C#) A output parameter is used for passing [...] by reference.
2135A: arguments
2136
2137Q: (C#) A output parameter is used for passing arguments by [...].
2138A: reference
2139
2140Q: (C#) The modifier out declares what?
2141A: A output parameter
2142
2143Q: (C#) An output parameter is declared with the [...] modifier.
2144A: out
2145
2146Q: (C#) A [...] is declared with the out modifier.
2147A: output parameter
2148
2149Q: (C#) Can a static method directly interact with instantiated object members?
2150A: No
2151
2152Q: (C#) Struct types [...DO / DO NOT] support user-specified inheritance.
2153A: do not
2154
2155Q: (C#) Do Struct types support user-specified inheritance?
2156A: No
2157
2158Q: (C#) [...] are particularly useful for small data structures that have value semantics.
2159A: Structs
2160
2161Q: (C#) Structs are particularly useful for small data structures that have value [...]
2162A: semantics
2163
2164Q: (C#) For a small data sctructure of pure data (not identity) you would use a?
2165A: Struct
2166
2167Q: (C#) Structs are particularly useful for small data structures that have [...] semantics.
2168A: value
2169
2170Q: (C#) Complex numbers, points in a coordinate system, or key-value pairs in a dictionary are all good examples of [...].
2171A: structs
2172
2173Q: (C#) What operator invokes a struct constructor?
2174A: new
2175
2176Q: (C#) Class and Struct constructors are both invoked with what operator?
2177A: new
2178
2179Q: (C#) Must the arrays in C# all be of the same type?
2180A: Yes
2181
2182Q: (C#) The number of dimensions of an array type, also known as the [...] of the array type
2183A: rank
2184
2185Q: (C#) Can an array be made up of any type?
2186A: Yes
2187
2188Q: (C#) Set the types of elements your array accepts - can you set it to other arrays?
2189A: Yes
2190
2191Q: (C#) An array with elements of an array type is sometimes called a [...] array
2192A: jagged
2193
2194Q: (C#) An array with elements of an array type is sometimes called a [...](NOT 2D)
2195A: jagged array
2196
2197Q: (C#) An array with elements of [...] type is sometimes called a jagged array
2198A: an array
2199
2200Q: (C#) (Arrays)Create an array of integers called 'a' made up of 1, 2, 3.
2201A: int[] a = {1, 2, 3};
2202
2203Q: (C#) (Arrays)Create an array of integers called 'a' made up of 1, 2, 3.[...] a = {1, 2, 3};
2204A: int[]
2205
2206Q: (C#) A [...] defines a contract that can be implemented by classes and structs.
2207A: interface
2208
2209Q: (C#) A interface defines a contract that can be implemented by [...] and structs.
2210A: classes
2211
2212Q: (C#) A interface defines a contract that can be implemented by classes and [...].
2213A: structs
2214
2215Q: (C#) Can an interface contain methods?
2216A: Yes
2217
2218Q: (C#) Can an interface contain properties?
2219A: Yes
2220
2221Q: (C#) Can an interface contain events?
2222A: Yes
2223
2224Q: (C#) Can an interface contain indexers?
2225A: Yes
2226
2227Q: (C#) An enum type that does not explicitly declare an underlying type has an underlying type of [...].
2228A: int
2229
2230Q: (C#) What is the default type of enum?
2231A: int
2232
2233Q: (C#) The following example declares an enum type named Alignment with an underlying type of sbyte.C#enum Alignment: [...]{ Left = -1, Center = 0, Right = 1}
2234A: sbyte
2235
2236Q: (C#) The following example declares an enum type named Alignment with an underlying type of sbyte.C#[...] Alignment: sbyte{ Left = -1, Center = 0, Right = 1}
2237A: enum
2238
2239Q: (C#) The following example declares an enum type named Alignment with an underlying type of sbyte.C#enum [...]: sbyte{ Left = -1, Center = 0, Right = 1}
2240A: Alignment
2241
2242Q: (C#) The following example declares an enum type named Alignment with an underlying type of sbyte.C#enum [...] sbyte{ Left = -1, Center = 0, Right = 1}
2243A: Alignment:
2244
2245Q: (C#) The following example declares an enum type named Alignment with an underlying type of sbyte.C#[...]{ Left = -1, Center = 0, Right = 1}
2246A: enum Alignment: sbyte
2247
2248Q: Can a (C#)enum member be a constant expression/variable?
2249A: Yes
2250
2251Q: (C#) The constant value for each enum member must be in the range of the underlying type of the [...].
2252A: enum
2253
2254Q: (C#) A [...] type represents references to methods with a particular parameter list and return type.
2255A: delegate
2256
2257Q: (C#) A delegate type represents references to [...] with a particular parameter list and return type.
2258A: methods
2259
2260Q: (C#) A delegate type represents references to methods with a particular [...] and return type.
2261A: parameter list
2262
2263Q: (C#) A delegate type represents references to methods with a particular parameter list and [...].
2264A: return type
2265
2266Q: (C#) [...] make it possible to treat methods as entities that can be assigned to variables and passed as parameters.
2267A: Delegates
2268
2269Q: (C#) Delegates make it possible to treat methods as entities that can be [...] and passed as parameters.
2270A: assigned to variables
2271
2272Q: (C#) Delegates make it possible to treat methods as entities that can be assigned to variables and [...].
2273A: passed as parameters
2274
2275Q: (C#) [...] are "inline methods" that are created on the fly
2276A: anonymous functions/methods
2277
2278Q: (C#) anonymous functions are "[...term]" that are created on the fly
2279A: inline methods
2280
2281Q: (C#) Can you create a delegate using an inline function?
2282A: Yes
2283
2284Q: (C#) Anonymous functions can see the local variables of [...].
2285A: the surrounding methods
2286
2287Q: (C#) Can Anonymous functions see the local variables of the surrounding methods?
2288A: Yes
2289
2290Q: (C#) double[] doubles = Apply(a, (double x) => x * 2.0);Is an example of a?
2291A: Anonymous function
2292
2293Q: (C#) Programs specify additional declarative information by defining and using [...]
2294A: attributes
2295
2296Q: (C#) What would you use to manipulate or read the metadata defined by attributes at runtime?
2297A: reflection
2298
2299Q: (C#) The metadata defined by [...] can be read and manipulated at runtime using reflection.
2300A: attributes
2301
2302Q: (C#) In C#, a [...] is like a lightweight class; it is a stack-allocated type that can implement interfaces but does not support inheritance.
2303A: struct
2304
2305Q: (C#) In C#, a struct is like a lightweight class; it is a stack-allocated type that can implement interfaces but does not support [...].
2306A: inheritance
2307
2308Q: (C#) What can be thought of as a lightweight class?
2309A: a struct
2310
2311Q: (C#) Can a struct implement interfaces?
2312A: Yes
2313
2314Q: (C#) Do structs suport inheritance?
2315A: No
2316
2317Q: (C#) For a child class to declare a method that is a VIRTUAL method in the parent class - this new method must have what keyword?
2318A: override
2319
2320Q: (C#) In a parent class the keyword virtual is used on a method - to make a method with the same name in the child class you must use the keyword?
2321A: override
2322
2323Q: (C#) Methods that override [...] methods in a parent class require the override keyword as a way to avoid accidental redefinition.
2324A: virtual
2325
2326Q: (C#) Methods that [...] virtual methods in a parent class require the [...] keyword as a way to avoid accidental redefinition.
2327A: override
2328
2329Q: (C#) A class may inherit directly from only one parent class, but it may implement any number of [...].
2330A: interfaces
2331
2332Q: (C#) Can a class inherit from multiple parent classes?
2333A: No
2334
2335Q: (C#) (Classes) Is C# a multiple inheritance or single inheritance language?
2336A: single inheritance
2337
2338Q: (C#) the [...] method is the application's entry point
2339A: Main
2340
2341Q: (C#) What is the application's entry point?
2342A: The Main method
2343
2344Q: (C#) Can a variable exist outside of a class?
2345A: No
2346
2347Q: (C#) Are all functions in fact class methods?
2348A: Yes
2349
2350Q: (C#) Can you create a function, that is not a method, i.e. not part of a class?
2351A: No
2352
2353Q: (C#) Does everything have to be a part of a class?
2354A: Yes
2355
2356Q: (C#) How many categories of value types are there?
2357A: 4
2358
2359Q: (C#) What are the 4 categories of value types?
2360A: enum nullable simplestruct
2361
2362Q: (C#) If you have to interact with other Windows software such as COM objects or native Win32 DLLs, you can do this in C# through a process called "[...]" (NOT reflection)
2363A: Interop
2364
2365Q: (C#) [...(term)] enables C# programs to do almost anything that a native C++ application can do.
2366A: Interop
2367
2368Q: .Net's virtual execution system is called what?
2369A: the common language runtime (CLR)
2370
2371Q: (C#) The [...term] code and resources, such as bitmaps and strings, are stored on disk in an executable file called a assembly, typically with an extension of .exe or .dll.
2372A: intermediate language (IL)
2373
2374Q: (C#) The intermediate language (IL) code and resources, such as bitmaps and strings, are stored on disk in an executable file called a [...], typically with an extension of .exe or .dll.
2375A: assembly
2376
2377Q: (C#) The intermediate language (IL) code and resources, such as bitmaps and strings, are stored on disk in an executable file called a assembly, typically with an extension of .[...] or .dll.
2378A: exe
2379
2380Q: (C#) The intermediate language (IL) code and resources, such as bitmaps and strings, are stored on disk in an executable file called a assembly, typically with an extension of .exe or .[...].
2381A: dll
2382
2383Q: (C#) An assembly contains a [...] that provides information about the assembly's types, version, culture, and security requirements.
2384A: manifest
2385
2386Q: Code that is executed by the CLR is sometimes referred to as "[...] code,"
2387A: managed
2388
2389Q: Code that is executed by the CLR is sometimes referred to as "[...],"
2390A: managed code
2391
2392Q: the .NET Framework includes a library of over [...#] classes
2393A: 4000
2394
2395Q: (C#)public void setRAM(int RAM){ this.RAM = RAM;}public int getRAM(){ return this.RAM;}Write the above in modern (C#)
2396A: public class Computer{ public int RAM { get; set; }}
2397
2398Q: (Vue.js) In our template where we have our v-for expression, we can now replace submissions with sortedSubmissions as the array to iterate over. <article v-for="submission in sortedSubmissions" [...]="submission.id" class="media"> <!-- Rest of the submission template --> </article>
2399A: v-bind:key
2400
2401Q: (Vue.js) The [...] directive is used to create event listeners within the DOM.
2402A: v-on
2403
2404Q: (Vue.js) Creates event listeners within the DOM using what directive?
2405A: v-on
2406
2407Q: (Vue.js) Use a directive to implement a click handler (write out the non-shorthand code)
2408A: v-on:click
2409
2410Q: Vue components are Vue [...]. (concept)
2411A: instances
2412
2413Q: (Vue.js) Data can be passed from parent component to child component using? (Concept)
2414A: props
2415
2416Q: (Vue.js) The v-bind directive is used to bind dynamic values (or objects) as [...] in a parent instance.
2417A: props
2418
2419Q: (Vue.js) The v-bind directive can be shortened with the [...] symbol
2420A: :
2421
2422Q: (Vue.js) The v-[...] directive can be shortened with the : symbol
2423A: bind
2424
2425Q: // the full syntax <img v-bind:src="submission.submissionImage" /> // the shorthand syntax Re-write the above with short-hand syntax
2426A: <img :src="submission.submissionImage" />
2427
2428Q: And the v-on directive can be shortened with the [...] symbol
2429A: @
2430
2431Q: (Vue.js)// the full syntax <span v-on:click="upvote(submission.id)"></span> // the shorthand syntax <[...]span>
2432A: span @click="upvote(submission.id)"></
2433
2434Q: Vue provides shorthands for the commonly used v-[...] and v-on directives.
2435A: bind
2436
2437Q: Vue provides shorthands for the commonly used v-bind and v-[...] directives.
2438A: on
2439
2440Q: (Vue.js) What two directives have shorthand symbols?
2441A: v-on, v-bind
2442
2443Q: (Vue.js) The [...] directive is used for binding HTML attributes.
2444A: v-bind
2445
2446Q: (Vue.js) You bind HTML attributes with what directive?
2447A: v-bind
2448
2449Q: (Vue.js) What directive is used to listen to DOM events?
2450A: v-on
2451
2452Q: (Vue.js) We think and organize our Vue apps with [...]
2453A: components
2454
2455Q: (Vue.js) We can use the [...] directive to render a list of items based on an array.
2456A: v-for
2457
2458Q: (Vue.js) What directive renders a list of items based on an array?
2459A: v-for
2460
2461Q: (Vue.js) To make v-for more efficient you use?
2462A: v-bind:key
2463
2464Q: (Vue.js) v-bind:keyCan be written?
2465A: :key
2466
2467Q: Note that it’s not recommended to use v-if and v-[...] together.
2468A: for
2469
2470Q: (Vue.js) Note that it’s not recommended to use v-[...] and v-for together.
2471A: if
2472
2473Q: Vue single-file components allow us to write Vue code within a new file format - [...]
2474A: .vue
2475
2476Q: Vue single-file [...] allow us to write Vue code within a new file format - .vue
2477A: components
2478
2479Q: Vue [...] components allow us to write Vue code within a new file format - .vue
2480A: single-file
2481
2482Q: (Vue.js) What is the file format of a Vue single file component?
2483A: *.vue
2484
2485Q: (Vue.js) Files with this extension *.vue technically refer to?
2486A: single file component
2487
2488Q: (Vue.js) A file with the extension *.vue, is known as a? (3 words)
2489A: single file component
2490
2491Q: (Vue.js) The [...] file lists all the locally installed npm packages in our application for us to manage.
2492A: package.json
2493
2494Q: (Vue.js) What file lists all the locally installed npm packages in our application?
2495A: package.json
2496
2497Q: (Vue.js) The package.json file lists all the locally installed [...] in our application for us to manage.
2498A: npm packages
2499
2500Q: (Vue.js) What does package.json list?
2501A: all npm packages
2502
2503Q: (Vue.js) package.json lists all [...] packages?
2504A: npm
2505
2506Q: calendar_app/src/main.js import Vue from 'vue'; import App from './app-complete/App.vue'; new Vue({ render: h => h(App) })[...] Notice how we’re using $mount('#app') instead of an el option to mount our Vue application? In the example above, the Vue instance $mount() method achieves the exact same result by mounting our app to the element with id of #app.
2507A: .$mount('#app');
2508
2509Q: we’re using $mount('#app') instead of a [...] option to mount our Vue application
2510A: el
2511
2512Q: (Vue.js) we’re using [...] instead of a el option to mount our Vue application
2513A: $mount('#app')
2514
2515Q: (Vue.js) For a child component to access data from a parent, data has to flow from the parent down to the child with the help of [...]
2516A: props
2517
2518Q: (Vue.js) A child component can only access data from a parent with the use of?
2519A: props
2520
2521Q: (Vue.js)<script><import CalendarWeek from './components/CalendarWeek.vue';<import CalendarEntry from './components/CalendarEntry.vue';export default {name: 'App', components: { CalendarWeek, CalendarEntry }}</script>What code displays these components in your app?
2522A: <template> <div id="app"> <CalendarWeek /> <CalendarEntry /> </div></template>
2523
2524Q: (Vue.js) What symbol is shorthand for the v-bind directive?
2525A: :
2526
2527Q: (Vue.js) : is short for what directive?
2528A: v-bind
2529
2530Q: (Vue.js) Use the v-[...] directive to conditionally display the <p> tag
2531A: if
2532
2533Q: (Vue.js) To bind a data value, we’ll set up the [...] directive with input as the name of the input property:
2534A: v-model
2535
2536Q: (Vue.js) [...] is shorthand for v-on
2537A: @
2538
2539Q: (Vue.js) What symbol is short for v-on ?
2540A: @
2541
2542Q: (Vue.js) @ is shorthand for what directive?
2543A: v-on
2544
2545Q: (Vue.js) @ is shorthand for [...]
2546A: v-on
2547
2548Q: (Vue.js) What directive should be used to render a list of <div> elements in their respective arrays?
2549A: v-for
2550
2551Q: (Vue.js) Parents pass [...] down and custom events send events up.
2552A: props
2553
2554Q: (Vue.js) Parents pass props down and [...2 words] send events up.
2555A: custom events
2556
2557Q: (Vue.js) Parents pass props down and custom events send events [...].
2558A: up
2559
2560Q: (Vue.js) The [...] refers to the time an instance has been created, mounted, updated, and even destroyed.
2561A: lifecycle
2562
2563Q: (Vue.js) [...] is the preferred method for managing data within applications
2564A: Vuex
2565
2566Q: (Vue.js) Vue [...] can be used for us to create actions when an instance has gone through its lifecycle.
2567A: lifecycle hooks
2568
2569Q: Flux is a design pattern created by [...].
2570A: Facebook
2571
2572Q: (JS) Design patterns, what organization created Flux?
2573A: Facebook
2574
2575Q: (Vue.js) The Flux pattern is made up of four parts, organized as a one-way data pipeline: [...] -> Dispatcher -> Store -> View
2576A: Action
2577
2578Q: (Vue.js) The Flux pattern is made up of four parts, organized as a one-way data pipeline: Action -> [...] -> Store -> View
2579A: Dispatcher
2580
2581Q: (Vue.js) The Flux pattern is made up of four parts, organized as a one-way data pipeline: Action -> Dispatcher -> [...] -> View
2582A: Store
2583
2584Q: (Vue.js) The Flux pattern is made up of four parts, organized as a one-way data pipeline: Action -> Dispatcher -> Store -> [...]
2585A: View
2586
2587Q: (Vue.js) The Flux pattern is made up of four parts, organized as a one-way data pipeline: [...]
2588A: Action -> Dispatcher -> Store -> View
2589
2590Q: (Vue.js) The Flux pattern is made up of [...] parts, organized as a one-way data pipeline
2591A: four
2592
2593Q: (Vue.js) The Flux design pattern organizes what # of parts into a data pipeline?
2594A: four
2595
2596Q: (Vuex) All of our application’s data is in a single data structure called the [...], which is held in the store
2597A: state
2598
2599Q: (Vuex) All of our application’s data is in a single data structure called the state, which is held in the [...]
2600A: store
2601
2602Q: (Vuex) Our app reads the [...] from this store
2603A: state
2604
2605Q: (Vuex) Our app reads the state from the [...]
2606A: store
2607
2608Q: (Vuex) The [...] is never mutated directly outside the store
2609A: state
2610
2611Q: (Vuex) The state is never mutated directly outside the [...]
2612A: store
2613
2614Q: (Vuex) The [...] dispatch actions that describe what happened
2615A: views
2616
2617Q: (Vuex) The views dispatch [...] that describe what happened
2618A: actions
2619
2620Q: (Vuex) The [...] commit to mutations
2621A: actions
2622
2623Q: (Vuex) The actions commit to [...]
2624A: mutations
2625
2626Q: (Vuex) [...] directly mutate/change store state
2627A: Mutations
2628
2629Q: (Vuex) Mutations directly mutate/change store [...]
2630A: state
2631
2632Q: (Vuex) The pieces that make up a Vuex [...] are:• state • mutations • actions • getters
2633A: store
2634
2635Q: (Vuex) The pieces that make up a Vuex store are:• [...] • mutations • actions • getters
2636A: state
2637
2638Q: (Vuex) The pieces that make up a Vuex store are:• state • [...] • actions • getters
2639A: mutations
2640
2641Q: (Vuex) The pieces that make up a Vuex store are:• state • mutations • [...] • getters
2642A: actions
2643
2644Q: (Vuex) The pieces that make up a Vuex store are:• state • mutations • actions • [...]
2645A: getters
2646
2647Q: Just like how the core of a Vue application is it’s Vue instance, the heart of a Vuex implementation is the Vuex [...].
2648A: store
2649
2650Q: (Vuex) [...] are often responsible in calling mutations and are themselves dispatched within components.
2651A: Actions
2652
2653Q: (Vuex) Actions are often responsible in calling [...] and are themselves dispatched within components.
2654A: mutations
2655
2656Q: (Vuex) To create a mutation, we’ll simply need to define [...].
2657A: functions
2658
2659Q: (Vuex) In fact, when we say [...], we really simply mean a function that’s responsible in mutating store state.
2660A: mutation
2661
2662Q: (Vuex) In fact, when we say mutation, we really simply mean a function that’s responsible in mutating [...].
2663A: store state
2664
2665Q: (Vuex) a mutation mutates
2666A: store state
2667
2668Q: (Vuex) a mutation mutates [...] state
2669A: store
2670
2671Q: (Vuex) a mutation mutates store [...]
2672A: state
2673
2674Q: (Vuex) A [...] consists of a string type and a handler.
2675A: mutation
2676
2677Q: (Vuex) When the [...] function is run, the first argument passed in is the state.
2678A: mutation
2679
2680Q: (Vuex) When the mutation function is run, the first argument passed in is the [...].
2681A: state
2682
2683Q: (Vuex) mutations always have access to state as the [...] argument.
2684A: first
2685
2686Q: (Vuex) When defining a mutation, what must always be the first argument?
2687A: the state
2688
2689Q: (Vuex) Do mutations have to be synchronous?
2690A: Yes
2691
2692Q: (Vuex) Can mutations be asynchronous?
2693A: No
2694
2695Q: (Vuex) mutations have to be asynchronous or synchronous?
2696A: synchronous
2697
2698Q: (Vuex) the heart of a Vuex implementation is the Vuex [...].
2699A: store
2700
2701Q: (Vuex) The store is where the application data, (i.e. [...]) is kept.
2702A: state
2703
2704Q: (Vuex) The [...]is where the application data, (i.e. state) is kept.
2705A: store
2706
2707Q: (Vuex) Think of the 'store' as the?
2708A: application data
2709
2710Q: (Vuex) We’ve just defined all the pieces that make up a Vuex store • [...] • mutations • actions • getters
2711A: state
2712
2713Q: (Vuex) We’ve just defined all the pieces that make up a Vuex store • state • [...] • actions • getters
2714A: mutations
2715
2716Q: (Vuex) We’ve just defined all the pieces that make up a Vuex store • state • mutations • [...] • getters
2717A: actions
2718
2719Q: (Vuex) We’ve just defined all the pieces that make up a Vuex store• state • mutations • actions • [...]
2720A: getters
2721
2722Q: (Vuex) We’ve just defined all the pieces that make up a Vuex [...] • state • mutations • actions • getters
2723A: store
2724
2725Q: (Vuex) It’s important to remember that mutations have to be [...].
2726A: synchronous
2727
2728Q: (Vuex) [...] are functions that exist to call mutations.
2729A: Actions
2730
2731Q: (Vuex) Actions are [...] that exist to call mutations.
2732A: functions
2733
2734Q: (Vuex) Actions are functions that exist to [...] mutations.
2735A: call
2736
2737Q: (Vuex) Actions are functions that exist to call [...].
2738A: mutations
2739
2740Q: (Vue.js) At the center of every Vuex application is a [...], which basically is a container that holds the state of the application
2741A: store
2742
2743Q: (Vue.js) At the center of every Vuex application is a store, which basically is a container that holds the [...] of the application
2744A: state
2745
2746Q: (Vuex) Without Vuex, components could have their own version of [...].
2747A: state
2748
2749Q: (Vuex) the [...] argument of a mutation function always is the state object
2750A: first
2751
2752Q: (Vuex) the first argument of a [...] function always is the state object
2753A: mutation
2754
2755Q: (Vuex) the first argument of a mutation function always is the [...] object
2756A: state
2757
2758Q: (Vuex) What is passed as the first argument of a mutation function?
2759A: The state object
2760
2761Q: (Vuex) What is the only way to makes changes to state?
2762A: Mutations
2763
2764Q: (Vuex) What is the only way to makes changes to your state?
2765A: Mutations
2766
2767Q: (Vuex) Mutations are the only way to makes changes to your [...]
2768A: state
2769
2770Q: (Vuex) [...] are like mutations
2771A: Actions
2772
2773Q: (Vuex) Actions are like [...]
2774A: mutations
2775
2776Q: (Vuex) Actions they don’t mutate the [...]
2777A: state
2778
2779Q: (Vuex) Actions DO or DO NOT mutate the state?
2780A: do NOT
2781
2782Q: (Vuex) [...] commit mutations
2783A: Actions
2784
2785Q: (Vuex) What commits mutations?
2786A: Actions
2787
2788Q: (Vuex) Actions commit [...]
2789A: mutations
2790
2791Q: (Vuex) can actions contain asynchronous operations?[...]
2792A: Yes
2793
2794Q: (Vue.js) a fully-defined Vuex store is composed of 4 distinct pieces - [...], mutations, actions, and getters.
2795A: state
2796
2797Q: (Vue.js) a fully-defined Vuex store is composed of 4 distinct pieces - state, [...], actions, and getters.
2798A: mutations
2799
2800Q: (Vue.js) a fully-defined Vuex store is composed of 4 distinct pieces - state, mutations, [...], and getters.
2801A: actions
2802
2803Q: (Vue.js) a fully-defined Vuex store is composed of 4 distinct pieces - state, mutations, actions, and [...].
2804A: getters
2805
2806Q: (Vue.js) Vuex provides the ability to create [...] to separate an application store into more manageable fragments.
2807A: modules
2808
2809Q: (Vue.js) What is now the preferred library for handling async API calls? (2020)
2810A: axios
2811
2812Q: (Vuex) axios is [...]-based
2813A: promise
2814
2815Q: <a v-bind:href="url">...</a>Re-write the above in shorthand
2816A: <a :href="url">...</a>
2817
2818Q: (Vue.js) If isActive is truthy - make the class 'active' appear
2819A: <div :class="{ active: isActive }">
2820
2821Q: (Vue.js) If isActive is truthy - make the class 'active' appear<div :class="{ active: isActive }">or<div :class="{ isActive: active }">
2822A: <div :class="{ active: isActive }">
2823
2824Q: (Vue.js) If isActive is truthy - make the class 'active' appear<div :class="{ isActive: active }">or<div :class="{ active: isActive }">
2825A: <div :class="{ active: isActive }">
2826
2827Q: (Vue.js) All Lifecycle hooks that start with the letter B?
2828A: beforeCreate beforeDestroy beforeMount beforeUpdate
2829
2830Q: (Vue.js) All Lifecycle hooks that DO NOT start with the letter B?
2831A: createddestroyedmountedupdated
2832
2833Q: (Vue.js) These are examples of ?beforeCreate created beforeMount mounted beforeUpdate updated beforeDestroy destroyed
2834A: Lifecycle Hooks
2835
2836Q: <div id="app"> {{ message }}</div>var app = new Vue({ el: '#app', data: { message: 'Hello Vue!' }})Hello Vue!In the JavaScript console make the page say "Goodbye Vue!"
2837A: app.message = "Goodbye Vue!"
2838
2839Q: (Vue.js) Directives are prefixed with [...]
2840A: v-
2841
2842Q: (Vue.js) v-bind is an example of a [...]
2843A: directive
2844
2845Q: (Vue.js) If you want to change the link in this tag <a href="#">Link<a/>You use what?
2846A: v-bind:href
2847
2848Q: (Vue.js) To let users interact with your app, we can use the [...] directive to attach event listeners that invoke methods on our Vue instances
2849A: v-on
2850
2851Q: (Vue.js) What directive allows users to interact with our app via event listeners?
2852A: v-on
2853
2854Q: Vue also provides the [...]directive that makes two-way binding between form input and app state a breeze
2855A: v-model
2856
2857Q: <div id="app-6"> <p>{{ message }}</p> <input [...]="message"></div>var app6 = new Vue({ el: '#app-6', data: { message: 'Hello Vue!' }})Hello Vue!
2858A: v-model
2859
2860Q: <div id="app-6"> <p>{{ message }}</p> <input v-[...]="message"></div>var app6 = new Vue({ el: '#app-6', data: { message: 'Hello Vue!' }})Hello Vue!
2861A: model
2862
2863Q: Every Vue application starts by creating a new Vue instance:var vm = new [...]({ // options})
2864A: Vue
2865
2866Q: Every Vue application starts by creating a new Vue instance:var vm = [...] Vue({ // options})
2867A: new
2868
2869Q: Every Vue application starts by creating a new Vue instance:var vm = [...]({ // options})
2870A: new Vue
2871
2872Q: Every Vue application starts by creating a new Vue instance with the Vue function:[...] = new Vue({ // options})
2873A: var vm
2874
2875Q: Every Vue application starts by creating a new Vue instance :[...]({ // options})
2876A: var vm = new Vue
2877
2878Q: (Vue.js) What variable name is usually used to refer to our Vue instance?
2879A: vm
2880
2881Q: Vue.js properties and methods are prefixed with [...] to differentiate them from user-defined properties
2882A: $
2883
2884Q: (Vue.js) What symbol denotes Vue.js properties from user-defined properties?
2885A: $
2886
2887Q: (Vue.js) What symbol denotes Vue.js methods from user-defined properties?
2888A: $
2889
2890Q: (Vue.js) (Routing) Notice that a <router-[...]> automatically gets the .router-link-active class when its target route is matched
2891A: link
2892
2893Q: (Vue.js) (Routing) Notice that a <[...]-link> automatically gets the .router-link-active class when its target route is matched
2894A: router
2895
2896Q: (Vue.js) (Routing) Notice that a <[...]> automatically gets the .router-link-active class when its target route is matched
2897A: router-link
2898
2899Q: (Vue.js) (Routing) Notice that a <router-link> automatically gets the .[...]-link-active class when its target route is matched
2900A: router
2901
2902Q: (Vue.js) (Routing) Notice that a <router-link> automatically gets the .router-[...]-active class when its target route is matched
2903A: link
2904
2905Q: (Vue.js) (Routing) Notice that a <router-link> automatically gets the .router-link-[...] class when its target route is matched
2906A: active
2907
2908Q: Reactive Directives [...]Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2909A: v-text
2910
2911Q: Reactive Directives v-text Updates the element's textContent. [...]Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2912A: v-html
2913
2914Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. [...] Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value's truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2915A: v-show
2916
2917Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. [...] the argument will be the class to be toggled depending on the binding value's truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2918A: v-class
2919
2920Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness [...]Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2921A: v-attr
2922
2923Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute [...] Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2924A: v-style
2925
2926Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. [...] Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2927A: v-on
2928
2929Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. [...] Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2930A: v-model
2931
2932Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. [...] Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2933A: v-if
2934
2935Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. [...] Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2936A: v-repeat
2937
2938Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives [...] apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2939A: v-transition
2940
2941Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element [...]Register a reference to a child component or its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2942A: v-ref
2943
2944Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access [...] Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2945A: v-el
2946
2947Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives [...]Skip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2948A: v-pre
2949
2950Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. [...]Used to hide un-compiled mustache bindings until the ViewModel is ready
2951A: v-cloak
2952
2953Q: Reactive Directives v-text Updates the element's textContent. v-html Updates the element's [...]. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2954A: innerHTML
2955
2956Q: Reactive Directives v-text Updates the element's [...]. v-html Updates the element's innerHTML. v-show Set the element's display to none or its original value, depending on the truthy-ness of the binding's value. v-class the argument will be the class to be toggled depending on the binding value’s truthy-ness v-attr Updates the elements given attribute v-style Apply inline CSS styles to the element. v-on Attaches an event listener to the element. v-model Create a two-way binding on a form input element. v-if Conditionally insert / remove the element based on the truthy-ness of the binding value. v-repeat Create a child ViewModel for every item in the binding Array or Object. Literal Directives v-transition apply transitions to this element v-ref Register a reference to a child component on its parent for easier access v-el Register a reference to a DOM element on its owner Vue instance for easier access Empty Directives v-preSkip compilation for this element and all its children. v-cloakUsed to hide un-compiled mustache bindings until the ViewModel is ready
2957A: textContent
2958
2959Q: (Vue.js) (Directives) What directive Updates the element's textContent?
2960A: v-text
2961
2962Q: (Vue.js) (Directives) v-text
2963A: Updates the element's textContent
2964
2965Q: (Vue.js) (Directives) What directive updates the element's innerHTML?
2966A: v-html
2967
2968Q: (Vue.js) (Directives) v-html
2969A: Updates the element's innerHTML
2970
2971Q: (Vue.js) (Directives) What directive set the element's display to none or its original value, depending on the truthy-ness of the binding's value?
2972A: v-show
2973
2974Q: (Vue.js) (Directives) v-show Set the element's display to none or its original value, depending on [...].
2975A: the truthy-ness of the binding's value
2976
2977Q: (Vue.js) (Directives) v-show Set the [...], depending on the truthy-ness of the binding's value.
2978A: element's display to none or its original value
2979
2980Q: (Vue.js) (Directives) What directive sets the class to be toggled depending on the binding values truthy-ness?
2981A: v-class
2982
2983Q: (Vue.js) (Directives) v-class
2984A: toggle class based on values truthy-ness
2985
2986Q: (Vue.js) (Directives) What directive updates the elements given attribute?
2987A: v-attr
2988
2989Q: (Vue.js) (Directives) v-attr
2990A: Updates the elements given attribute
2991
2992Q: (Vue.js) (Directives) What directive applies inline CSS styles to the element?
2993A: v-style
2994
2995Q: (Vue.js) (Directives) v-style
2996A: Apply CSS styles to the element
2997
2998Q: (Vue.js) (Directives) Attaches an event listener to the element
2999A: v-on
3000
3001Q: (Vue.js) (Directives) v-on
3002A: Attaches an event listener to the element
3003
3004Q: (Vue.js) (Directives) v-on Attaches a [...] to the element
3005A: event listener
3006
3007Q: (Vue.js) (Directives) [...] Create a two-way binding on a form input element.
3008A: v-model
3009
3010Q: (Vue.js) (Directives) v-model [...]
3011A: Create a two-way binding on a form input element.
3012
3013Q: (Vue.js) (Directives) v-modelCreates a [...]-way binding on a form input element.
3014A: two
3015
3016Q: (Vue.js) (Directives) v-modelCreates a two-way [...] on a form input element.
3017A: binding
3018
3019Q: (Vue.js) (Directives) v-modelCreates a [...] binding on a form input element.
3020A: two-way
3021
3022Q: (Vue.js) (Directives) v-modelCreates a two-way binding on a [...] input element.
3023A: form
3024
3025Q: (Vue.js) (Directives) v-modelCreates a two-way binding on a form [...] element.
3026A: input
3027
3028Q: (Vue.js) (Directives) v-modelCreates a two-way binding on a [...].
3029A: form input element
3030
3031Q: (Vue.js) (Directives) v-modelCreates a [...] on a form input element.
3032A: two-way binding
3033
3034Q: (Vue.js) (Directives) v-modelCreates a [...].
3035A: two-way binding on a form input element
3036
3037Q: (Vue.js) (Directives) v-model[...] a two-way binding on a form input element.
3038A: Creates
3039
3040Q: (Vue.js) (Directives) What creates a two-way binding on a form input element?
3041A: v-model
3042
3043Q: (Vue.js) (Directives)What directive conditionally inserts / removes the element based on the truthy-ness of the binding value?
3044A: v-if
3045
3046Q: (Vue.js) (Directives) v-if
3047A: Conditionally insert / remove the element based on the truthy-ness of the binding value.
3048
3049Q: (Vue.js) (Directives) What directive creates a child ViewModel for every item in the binding Array or Object?
3050A: v-repeat
3051
3052Q: (Vue.js) (Directives) v-repeat Create a child [...] for every item in the binding Array or Object.
3053A: ViewModel
3054
3055Q: (Vue.js) (Directives) v-repeat Create a [...] ViewModel for every item in the binding Array or Object.
3056A: child
3057
3058Q: (Vue.js) (Directives) v-repeat [...]
3059A: Create a child ViewModel for every item in the binding Array or Object.
3060
3061Q: (Vue.js) (Directives) What directive applies transitions to this element?
3062A: v-transition
3063
3064Q: (Vue.js) (Directives) v-transition
3065A: apply transitions to this element
3066
3067Q: (Vue.js) (Directives) What directive registers a reference to a child component on its parent for easier access?
3068A: v-ref
3069
3070Q: (Vue.js) (Directives) v-ref
3071A: Register a reference to a child component on its parent for easier access
3072
3073Q: (Vue.js) (Directives) [...] Register a reference to a DOM element on its owner Vue instance for easier access
3074A: v-el
3075
3076Q: (Vue.js) (Directives) v-pre Skip [...] for this element and all its children.
3077A: compilation
3078
3079Q: (Vue.js) (Directives) v-pre Skip compilation for this element and all [...].
3080A: its children
3081
3082Q: (Vue.js) (Directives) Does v-pre effect the selected elements children?
3083A: Yes
3084
3085Q: (Vue.js) (Directives) v-pre Skip compilation for this element and [...].
3086A: all its children
3087
3088Q: (Vue.js) (Directives) What directive skips compilation for this element and all its children?
3089A: v-pre
3090
3091Q: (Vue.js) (Directives) What directive is used to hide un-compiled mustache bindings until the ViewModel is ready?
3092A: v-cloak
3093
3094Q: (Vue.js) (Directives) v-cloak Used to hide [...] mustache bindings until the ViewModel is ready
3095A: un-compiled
3096
3097Q: (Vue.js) (Directives) v-cloak Used to hide un-compiled [...] bindings until the ViewModel is ready
3098A: mustache
3099
3100Q: (Vue.js) (Directives) v-cloak Used to hide un-compiled mustache bindings until the [...] is ready
3101A: ViewModel
3102
3103Q: // (Vue.js)<div id="root"> <h1> Hello World </h1></div>Create a Vue instance and attach it to the above div
3104A: new Vue({ el: '#root'})
3105
3106Q: new Vue({ el: '#root' data: { greeting: 'Hello Vue' }})<div id="root"> <h1> [...] </h1></div>// Place the 'Hello Vue' greeting in the DOM
3107A: {{ greeting }}
3108
3109Q: (Vue.js) What directive evaluates an expression to a boolean value?
3110A: v-if
3111
3112Q: (Vue.js) What directive is one-way binding?
3113A: v-bind
3114
3115Q: (Vue.js) What directive is two-way binding?
3116A: v-model
3117
3118Q: (Vue.js) One-way binding = v-bind Two-way binding = v-[..]
3119A: model
3120
3121Q: (Vue.js) One-way binding = v-[..] two-way binding = v-model
3122A: bind
3123
3124Q: (C#) The program starts by [...], which means "bring everything in the System namespace into scope for this file".
3125A: using System
3126
3127Q: (ASP.NET Core) The [...] class is where:Services required by the app are configured. The request handling pipeline is defined.
3128A: Startup
3129
3130Q: (ASP.NET Core) Services for the app are configured by what class?
3131A: Startup
3132
3133Q: (ASP.NET Core) What class is where the request handling pipeline is defined?
3134A: Startup
3135
3136Q: (ASP.NET Core) [...] are components that are used by the app.
3137A: Services
3138
3139Q: (ASP.NET Core) Components used by the app are known as?
3140A: Services
3141
3142Q: (ASP.NET Core) For example, a logging component is a [...].
3143A: service
3144
3145Q: (ASP.NET Core) Code to configure (or register) services is added to the Startup.[...] method
3146A: ConfigureServices
3147
3148Q: (ASP.NET Core) Code to configure (or register) services is added to the [...].ConfigureServices method
3149A: Startup
3150
3151Q: (ASP.NET Core) Code to configure (or register) services is added to the [...] method
3152A: Startup.ConfigureServices
3153
3154Q: (ASP.NET Core) The request handling pipeline is composed as a series of [...] components.
3155A: middleware
3156
3157Q: (ASP.NET Core) What type of components make up the request handling pipeline?
3158A: middleware
3159
3160Q: (ASP.NET Core) For example, a [...] might handle requests for static files or redirect HTTP requests to HTTPS.
3161A: middleware
3162
3163Q: (ASP.NET Core) A request for static files would be handled by? (Concept)
3164A: middleware
3165
3166Q: (ASP.NET Core) A requests to redirect HTTP requests to HTTPS would be handled by? (concept)
3167A: middleware
3168
3169Q: (ASP.NET Core) (The request handling pipeline) Code to configure the request handling pipeline is added to the Startup.[...] method.
3170A: Configure
3171
3172Q: (ASP.NET Core) (The request handling pipeline) Code to configure the request handling pipeline is added to the [...].Configure method.
3173A: Startup
3174
3175Q: (ASP.NET Core) (The request handling pipeline) Code to configure the [...] pipeline is added to the Startup.Configure method.
3176A: request handling
3177
3178Q: (ASP.NET Core) (The request handling pipeline) Code to configure the request handling pipeline is added to the [...] method.
3179A: Startup.Configure
3180
3181Q: (ASP.NET Core) (The request handling pipeline) Each component performs asynchronous operations on a [...]
3182A: HttpContext
3183
3184Q: (ASP.NET Core) By convention, a middleware component is added to the pipeline by invoking its [...]... extension method in the Startup.Configure method.
3185A: Use
3186
3187Q: (ASP.NET Core) By convention, a [...] component is added to the pipeline by invoking its Use... extension method in the Startup.Configure method.
3188A: middleware
3189
3190Q: (ASP.NET Core) By convention, a middleware component is added to the pipeline by invoking its Use... extension method in the [...].Configure method.
3191A: Startup
3192
3193Q: (ASP.NET Core) By convention, a middleware component is added to the pipeline by invoking its Use... extension method in the Startup.[...] method.
3194A: Configure
3195
3196Q: (ASP.NET Core) By convention, a middleware component is added to the pipeline by invoking its Use... extension method in the [...] method.
3197A: Startup.Configure
3198
3199Q: (ASP.NET Core) The [...] is an object that encapsulates all of the app's resources
3200A: host
3201
3202Q: (ASP.NET Core) What object encapsulates all of the app's resources?
3203A: The host
3204
3205Q: (ASP.NET Core) Is there one object which encapsulates all of the app's resources?
3206A: Yes
3207
3208Q: (ASP.NET Core) The host is an object that encapsulates all of [...]
3209A: the app's resources
3210
3211Q: (ASP.NET Core) An ASP.NET Core app builds a [...] on startup.
3212A: host
3213
3214Q: (ASP.NET Core) Two hosts are available: 1.) the [...] Host and 2.) the Web Host.
3215A: Generic
3216
3217Q: (ASP.NET Core) Two hosts are available: 1.) the Generic Host and 2.) the [...] Host.
3218A: Web
3219
3220Q: (ASP.NET Core) The code to create a host is in Program.[...]
3221A: Main
3222
3223Q: (ASP.NET Core) The code to create a host is in [...].Main
3224A: Program
3225
3226Q: (ASP.NET Core) The code to create a host is in [...]
3227A: Program.Main
3228
3229Q: (ASP.NET Core) The HTTP server surfaces requests to the app as a set of request features composed into a [...].
3230A: HttpContext
3231
3232Q: (ASP.NET Core) The HTTP server composes all requests down into a?
3233A: HttpContext
3234
3235Q: (ASP.NET Core) ASP.NET Core routing gives you control over the [...] used by your app.
3236A: URLs
3237
3238Q: (ASP.NET Core) a URL pattern mapped to a handler - is known as a?
3239A: route
3240
3241Q: (ASP.NET Core) A route is a [...] that is mapped to a handler.
3242A: URL pattern
3243
3244Q: (ASP.NET Core) A route is a URL pattern that is mapped to a [...].
3245A: handler
3246
3247Q: (ASP.NET Core) A URL pattern mapped to a handler is known as a?
3248A: Route
3249
3250Q: (ASP.NET Core) The URL pattern in a route is mapped to what?
3251A: a handler
3252
3253Q: (ASP.NET Core) (Make HTTP requests) An implementation of [...] is available for creating HttpClient instances
3254A: IHttpClientFactory
3255
3256Q: (ASP.NET Core) (Make HTTP requests) What makes HttpClient?
3257A: IHttpClientFactory
3258
3259Q: (ASP.NET Core) (Make HTTP requests) An implementation of IHttpClient[...] is available for creating HttpClient instances.
3260A: Factory
3261
3262Q: (ASP.NET Core) (Make HTTP requests) An implementation of IHttpClientFactory is available for creating [...] instances.
3263A: HttpClient
3264
3265Q: (ASP.NET Core) (Make HTTP requests) IHttpClientFactory is used to create?
3266A: HttpClient
3267
3268Q: (ASP.NET Core) The [...] class configures services and the app's request pipeline.
3269A: Startup
3270
3271Q: (ASP.NET Core) The Startup class configures services and the app's [...] pipeline.
3272A: request
3273
3274Q: (ASP.NET Core) The Startup class configures [...] and the app's request pipeline.
3275A: services
3276
3277Q: (ASP.NET Core) The Startup class configures services and the app's request [...].
3278A: pipeline
3279
3280Q: (ASP.NET Core) What class configures the app's request pipeline?
3281A: Startup
3282
3283Q: (ASP.NET Core) What class configures services?
3284A: Startup
3285
3286Q: (ASP.NET Core) Services are registered in [...] and consumed across the app via dependency injection (DI) or ApplicationServices.
3287A: ConfigureServices
3288
3289Q: (ASP.NET Core) Services are registered in ConfigureServices and consumed across the app via [...] or ApplicationServices.
3290A: dependency injection (DI)
3291
3292Q: (ASP.NET Core) Besides ApplicationServices how are Services consumed?
3293A: dependency injection (DI)
3294
3295Q: (ASP.NET Core) Services are registered in ConfigureServices and consumed across the app via dependency injection (DI) or [...].
3296A: ApplicationServices
3297
3298Q: (ASP.NET Core) A [...] is a reusable component that provides app functionality.
3299A: service
3300
3301Q: (ASP.NET Core) A reusable component of an app that provides app functionality is called a?
3302A: service
3303
3304Q: (ASP.NET Core) Configure[...] and Configure are called by the ASP.NET Core runtime when the app starts
3305A: Services
3306
3307Q: (ASP.NET Core) [...]Services and Configure are called by the ASP.NET Core runtime when the app starts
3308A: Configure
3309
3310Q: (ASP.NET Core) ConfigureServices and [...] are called by the ASP.NET Core runtime when the app starts
3311A: Configure
3312
3313Q: (ASP.NET Core) [...] and Configure are called by the ASP.NET Core runtime when the app starts
3314A: ConfigureServices
3315
3316Q: (ASP.NET Core) The Startup class is specified when the app's [...] is built.
3317A: host
3318
3319Q: (ASP.NET Core) The app adds additional services via [...]
3320A: ConfigureServices
3321
3322Q: (ASP.NET Core) Most services are not available until the [...] method is called.
3323A: Configure
3324
3325Q: (ASP.NET Core) What method specifies how the app responds to HTTP requests?
3326A: Configure
3327
3328Q: (ASP.NET Core) The Configure method is used to specify how the app responds to [...].
3329A: HTTP requests
3330
3331Q: (ASP.NET Core) The Configure method is used to specify how the app responds to what kind of requests?
3332A: HTTP
3333
3334Q: (ASP.NET Core) What method is used to specify how the app responds to HTTP requests?
3335A: Configure
3336
3337Q: (ASP.NET Core) The configure method is used to specify how an app responds to?
3338A: HTTP Requests
3339
3340Q: (ASP.NET Core) [...] configures middleware to serve static files.
3341A: UseStaticFiles
3342
3343Q: (ASP.NET Core) What method configures middleware to serve static files?
3344A: UseStaticFiles
3345
3346Q: (ASP.NET Core) What configures middleware to serve static files?
3347A: UseStaticFiles
3348
3349Q: (ASP.NET Core) Extension methods that begin with what word add one or more middleware components to the request pipeline?
3350A: Use
3351
3352Q: In software engineering, [...] is a technique whereby one object supplies the dependencies of another object.
3353A: dependency injection
3354
3355Q: (ASP.NET Core) A [...] is any object that another object requires.
3356A: dependency
3357
3358Q: (ASP.NET Core) Define dependency
3359A: any object that another object requires.
3360
3361Q: (ASP.NET Core) dependency is any object that
3362A: another object requires.
3363
3364Q: (ASP.NET Core) [...] extensions are used as a convention for branching the pipeline.
3365A: Map
3366
3367Q: (ASP.NET Core) Map extensions are used as a convention for [...] the pipeline.
3368A: branching
3369
3370Q: (ASP.NET Core) Map extensions are used as a convention for branching the [...].
3371A: pipeline
3372
3373Q: Razor Pages is enabled in [...].cs
3374A: Startup
3375
3376Q: In what project code file do you enable Razor Pages?
3377A: Startup.cs
3378
3379Q: (ASP.NET) (Razor) What is the specific line of code in Startup.cs that enables Razor Pages?
3380A: services.AddRazorPages();
3381
3382Q: (ASP.NET) (Razor) @[...] makes the file into a MVC action - which means that it handles requests directly, without going through a controller.
3383A: page
3384
3385Q: (ASP.NET) (Razor) @page makes the file into a [...] action - which means that it handles requests directly, without going through a controller.
3386A: MVC
3387
3388Q: (ASP.NET) (Razor) @page makes the file into a MVC action - which means that it handles requests directly, without going through a [...].
3389A: controller
3390
3391Q: (ASP.NET) (Razor) What directive obviates the need to use a controller for requests (like in MVC model)?
3392A: @page
3393
3394Q: (ASP.NET) (Razor) What must be the first directive on a page?
3395A: @page
3396
3397Q: (ASP.NET) (Razor) Does @page have to be the first directive on a page?
3398A: Yes
3399
3400Q: Razor Pages file names have a .[...] suffix.
3401A: cshtml
3402
3403Q: (ASP.NET)(Razor) What is the extension for Razor page files?
3404A: *.cshtml
3405
3406Q: (ASP.NET) (Razor) The runtime looks for Razor Pages files in what folder by default?
3407A: Pagesi.e. /Pages/Index.cshtml
3408
3409Q: [ViewData] is an example of what language feature? (C# Syntax)C# public class AboutModel : PageModel{ [ViewData] public string Title { get; } = "About"; public void OnGet() { }}
3410A: attribute
3411
3412Q: (ASP.NET Core) Use what@[...] directive to specify a custom route to a page?
3413A: page
3414
3415Q: (ASP.NET) Each Razor page is made up of what two files?
3416A: .cshtml and .cshtml.cs
3417
3418Q: (ASP.NET) Each Razor page is a pair of files: A .cshtml file that contains HTML markup with C# code using Razor syntax. A [...] file that contains C# code that handles page events.
3419A: .cshtml.cs
3420
3421Q: (ASP.NET) Each Razor page is a pair of files: A [...] file that contains HTML markup with C# code using Razor syntax. A .cshtml.cs file that contains C# code that handles page events.
3422A: .cshtml
3423
3424Q: (ASP.NET) (Razor) Supporting files have names that begin with a [...].
3425A: underscore
3426
3427Q: (ASP.NET) (Razor) A file name that begin with a underscore denotes a?
3428A: supporting file
3429
3430Q: (ASP.NET) (Razor) What type of files have names that begin with a underscore?
3431A: Supporting
3432
3433Q: (ASP.NET) (Razor) What file configures UI elements common to all pages?
3434A: _Layout.cshtml
3435
3436Q: (ASP.NET) (Razor) What file is responsible for the copyright at the bottom of the page?
3437A: _Layout.cshtml
3438
3439Q: (ASP.NET) (Razor) In what file do you put your header?
3440A: _Layout.cshtml
3441
3442Q: (ASP.NET) (Razor) [...] file sets up the navigation menu at the top of the page and the copyright notice at the bottom of the page.
3443A: _Layout.cshtml
3444
3445Q: (ASP.NET) (Razor) What file sets up the navigation menu at the top of the page?
3446A: _Layout.cshtml
3447
3448Q: (ASP.NET) (Razor) What file sets up the copyright notice at the bottom of the page?
3449A: _Layout.cshtml
3450
3451Q: (ASP.NET) (Razor) What folder contains static files, such as HTML files, JavaScript files, and CSS files?
3452A: wwwroot folder
3453
3454Q: (ASP.NET)(Razor) What file contains configuration data, such as connection strings?
3455A: appSettings.json
3456
3457Q: (ASP.NET) (Razor) What file contains the entry point for the program?
3458A: Program.cs
3459
3460Q: (ASP.NET) (Razor) What file contains code that configures app behavior?
3461A: Startup.cs
3462
3463Q: When an [...] symbol is followed by a Razor reserved keyword, it transitions into Razor-specific markup, otherwise it transitions into C#.
3464A: @
3465
3466Q: When an @ symbol is followed by a Razor reserved keyword, it transitions into Razor-specific markup, otherwise it transitions into [...].
3467A: C#
3468
3469Q: The [...] directive specifies the type of the model passed to the Razor Page
3470A: @model
3471
3472Q: (ASP.NET Core) (Razor Pages) What is the placeholder where all the page-specific views show up, in the layout page?
3473A: @RenderBody()
3474
3475Q: (C#) a class can inherit how many abstract classes?
3476A: 1
3477
3478Q: (C#) a class can implement how many interfaces?
3479A: unlimitied
3480
3481Q: (C#) a class can only inherit one abstract class or one interface?
3482A: abstract class
3483
3484Q: Razor syntax starts code blocks with an [...] character and does not require explicit closing of the code-block.
3485A: @
3486
3487Q: (ASP.NET) (Razor syntax) What character starts a code block?
3488A: @
3489
3490Q: (ASP.NET) (Razor syntax) Do code blocks need to be closed?
3491A: No
3492
3493Q: Instead of using the ASP.NET Web Forms (.aspx) markup syntax with <%= %> symbols to indicate code blocks, Razor syntax starts code blocks with an [...] character and does not require explicit closing of the code-block.
3494A: @
3495
3496Q: Instead of using the ASP.NET Web Forms (.aspx) markup syntax with [...] symbols to indicate code blocks, Razor syntax starts code blocks with an @ character and does not require explicit closing of the code-block.
3497A: <%= %>
3498
3499Q: Razor allows a more fluid coding workflow by not requiring explicitly denoted [...] within the HTML code.[3]
3500A: server blocks
3501
3502Q: Does Razor require explicitly denoted server blocks within the HTML code?
3503A: No
3504
3505Q: (ASP.NET) Razor supports "[...]" as an alternative to the "master page" concept in classic Web Forms (.aspx)
3506A: layouts
3507
3508Q: (ASP.NET) Razor supports "layouts" as an alternative to the "[...]" concept in classic Web Forms (.aspx)
3509A: master page
3510
3511Q: (ASP.NET Core)(Razor)@RenderBody() in _Layout.cshtml is calling what page by default?
3512A: Index.cshtml (and Indexcshtml.cs)
3513
3514Q: (ASP.NET Razor) What method in a *.cshtml.cs page actually renders the *.cshtml page?
3515A: OnGet()
3516
3517Q: (ASP.NET)(Razor Pages) What are the two methods you normally have on a Razor page?
3518A: OnGet() and OnPost()
3519
3520Q: (ASP.Net Razor Pages)What code reads this property:Index.cshtml.cspublic int Id { get; set; } On Index.cshtml?
3521A: @Model.Id
3522
3523Q: (ASP.Net Razor Pages) How do I make this property writable - from the Index.cshtml page?public int Id { get; set; }
3524A: [BindProperty]public int Id { get; set; }
3525
3526Q: (ASP.NET) (Razor Pages)[BindProperty]public string FirstName { get; set; }Make it so FirstName is modifiable by the URL query string and NOT JUST Post requests
3527A: [BindProperty(SupportsGet = true)]public int Id { get; set; }
3528
3529Q: (ASP.NET) What is the URL of Privacy.cshtml on example.com?
3530A: https://www.example.com/Privacy
3531
3532Q: (ASP.NET) Syntax for using ASP.NET helpers Inside HTML tags?
3533A: asp-
3534
3535Q: (ASP.NET Core) (Razor Pages) What ASP.NET helper accesses a property from inside an HTML tag?
3536A: asp-for
3537
3538Q: (MVC) The model is responsible for managing the [...] of the application.
3539A: data
3540
3541Q: (MVC) The [...] is responsible for managing the data of the application.
3542A: model
3543
3544Q: (MVC) What is responsible for managing the data of the application?
3545A: The model
3546
3547Q: (MVC) The model receives user input from the [...].
3548A: controller
3549
3550Q: (MVC) The [...] receives user input from the controller.
3551A: model
3552
3553Q: (MVC) What receives user input from the controller?
3554A: the model
3555
3556Q: (MVC) The model receives user input from what?
3557A: the controller
3558
3559Q: (MVC) The [...] means presentation of the model in a particular format.
3560A: view
3561
3562Q: (MVC) The view means presentation of the [...] in a particular format.
3563A: model
3564
3565Q: (MVC) The [...] responds to the user input
3566A: controller
3567
3568Q: (MVC) The controller responds to [...]
3569A: user input
3570
3571Q: (MVC) The [...] performs interactions on the data model objects.
3572A: controller
3573
3574Q: (MVC) The controller receives the input, optionally validates it and then passes the input to the [...].
3575A: model
3576
3577Q: (MVC) The [...] receives the input, optionally validates it and then passes the input to the model.
3578A: controller
3579
3580Q: (ASP.NET) (Identity) [...] is always precedes to Authorization
3581A: Authentication
3582
3583Q: (ASP.NET) (Identity) What becomes before Authorization?
3584A: Authentication
3585
3586Q: (ASP.NET) (Identity) Authentication always precedes [...]
3587A: Authorization
3588
3589Q: (ASP.NET Core) What attribute tests for identity?
3590A: [Authorize]
3591
3592Q: (ASP.NET)(Identity) The primary package for Identity is Microsoft.AspNetCore.[...]
3593A: Identity
3594
3595Q: (ASP.NET)(Identity) The primary package for Identity is Microsoft.[...].Identity
3596A: AspNetCore
3597
3598Q: (ASP.NET)(Identity) The primary package for Identity is [...].AspNetCore.Identity
3599A: Microsoft
3600
3601Q: (ASP.NET)(Identity) The primary package for Identity is Microsoft.[...]
3602A: AspNetCore.Identity
3603
3604Q: (ASP.NET)(Identity) The primary package for Identity is [...]
3605A: Microsoft.AspNetCore.Identity
3606
3607Q: (ASP.NET Core) What package contains the core set of interfaces for ASP.NET Core Identity?
3608A: Microsoft.AspNetCore.Identity
3609
3610Q: (ASP.NET) (Identity) [...] is a prerequisite for authorization.
3611A: Authentication
3612
3613Q: (ASP.NET) (Identity) Authentication is a prerequisite for [...].
3614A: authorization
3615
3616Q: (ASP.NET)(Identity) [...] is concerned with who you are.
3617A: Authentication
3618
3619Q: (ASP.NET)(Identity) [...] is concerned with what you're allowed to do.
3620A: Authorization
3621
3622Q: (ASP.NET) What file generates tokens allowing administrators to self-register?
3623A: Services/AdminRegistrationTokenService.cs
3624
3625Q: (ASP.NET) What file generates tokens allowing administrators to self-register?[...]/AdminRegistrationTokenService.cs
3626A: Services
3627
3628Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/[...]RegistrationTokenService.cs
3629A: Admin
3630
3631Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/Admin[...]TokenService.cs
3632A: Registration
3633
3634Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/AdminRegistration[...]Service.cs
3635A: Token
3636
3637Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/AdminRegistrationToken[...].cs
3638A: Service
3639
3640Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/AdminRegistrationTokenService.[...]
3641A: cs
3642
3643Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/AdminRegistration[...].cs
3644A: TokenService
3645
3646Q: (ASP.NET) What file generates tokens allowing administrators to self-register?Services/[...]TokenService.cs
3647A: AdminRegistration
3648
3649Q: (ASP.NET) (Razor) What file manages all interactions with the external ASP.NET Core web API?
3650A: Services/ProductService.cs
3651
3652Q: (ASP.NET) (Razor) What file manages all interactions with the external ASP.NET Core web API?Services/[...]
3653A: ProductService.cs
3654
3655Q: (ASP.NET)(Identity) What file enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback?
3656A: wwwroot/js/product.js
3657
3658Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.[...]root/js/product.js
3659A: www
3660
3661Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.www[...]/js/product.js
3662A: root
3663
3664Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.wwwroot/[...]/product.js
3665A: js
3666
3667Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.wwwroot/js/[...].js
3668A: product
3669
3670Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.wwwroot/js/product.[...]
3671A: js
3672
3673Q: Enables deletion of a product from Pages/Products/Index.cshtml without a server-side postback.[...]/js/product.js
3674A: wwwroot
3675
3676Q: (ASP.NET) What file serves as the app's main entry point?
3677A: Program.cs
3678
3679Q: (ASP.NET) the Azure Key Vault configuration provider is registered in what file?
3680A: Program.cs
3681
3682Q: (ASP.NET) What file registers the Azure Key Vault configuration provider?[...].cs
3683A: Program
3684
3685Q: (ASP.NET)(Razor) What file configures services and the app's HTTP request pipeline?
3686A: Startup.cs
3687
3688Q: (ASP.NET Core) (Identity Framework) The database username and password are injected into the [...] stored in appsettings.json.
3689A: connection string
3690
3691Q: (ASP.NET Core) (Identity Framework) The database username and password are injected into the [...] string stored in appsettings.json.
3692A: connection
3693
3694Q: (ASP.NET Core) (Identity Framework) The database username and password are injected into the connection string stored in [...].
3695A: appsettings.json
3696
3697Q: (ASP.NET Core) (Identity Framework) The file which stores the connection string, which also holds the database username and password is?
3698A: appsettings.json
3699
3700Q: (ASP.NET Core) (Identity) By default, Identity represents a user with a [...] class
3701A: IdentityUser
3702
3703Q: (ASP.NET Core)(Identity) What class is used to represent a user?
3704A: IdentityUser
3705
3706Q: (ASP.NET Core) (Identity) Is Session state data persisted to a data store?
3707A: No
3708
3709Q: (Adding a claim to an authenticated user) Are all user claims persisted in memory using session state?
3710A: No (Session state is transient)
3711
3712Q: (ASP.NET Core) The [...] table is intended for storage of user profile data.
3713A: AspNetUsers
3714
3715Q: (ASP.NET) Identity supports what data-stores out-of-the-box with no third-party packages?
3716A: SQL Server and SQLite
3717
3718Q: (ASP.NET) Identity supports what data-stores out-of-the-box with no third-party packages?[...] and SQLite
3719A: SQL Server
3720
3721Q: (ASP.NET) Identity supports what data-stores out-of-the-box with no third-party packages?SQL Server and [...]
3722A: SQLite
3723
3724Q: (ASP.NET Core) Identity preserves a user session with a cookie named?
3725A: .AspNetCore.Identity.Application
3726
3727Q: Identity creates a cookie named .AspNetCore.Identity.[...] to preserve a user session.
3728A: Application
3729
3730Q: (ASP.NET Core) Identity creates a cookie named .AspNetCore.[...].Application to preserve a user session.
3731A: Identity
3732
3733Q: (ASP.NET Core) Identity creates a cookie named .[...].Identity.Application to preserve a user session.
3734A: AspNetCore
3735
3736Q: Identity creates a cookie named .AspNetCore.[...] to preserve a user session.
3737A: Identity.Application
3738
3739Q: (ASP.NET Core) What cookie is destroyed when the Logout link is clicked?
3740A: .AspNetCore.Identity.Application
3741
3742Q: (.AspNetCore.Identity.Application)The SignInManager<[...]> class is responsible for managing the cookie.
3743A: TUser
3744
3745Q: (.AspNetCore.Identity.Application)The SignIn[...]<TUser> class is responsible for managing the cookie.
3746A: Manager
3747
3748Q: (.AspNetCore.Identity.Application)The [...]Manager<TUser> class is responsible for managing the cookie.
3749A: SignIn
3750
3751Q: (.AspNetCore.Identity.Application)The [...]<TUser> class is responsible for managing the cookie.
3752A: SignInManager
3753
3754Q: (.AspNetCore.Identity.Application)The [...] class is responsible for managing the cookie.
3755A: SignInManager<TUser>
3756
3757Q: (.AspNetCore.Identity.Application) What class is responsible for managing the cookie?
3758A: SignInManager<TUser>
3759
3760Q: (.AspNetCore.Identity.Application)What is SignInManager<TUser> class is responsible for managing?
3761A: cookie
3762
3763Q: The primary package for Identity is[...]What class is responsible for managing the cookie?SignInManagerIdentity preserves a user session with a cookie named?.AspNetCore.Identity.Application
3764A: Microsoft.AspNetCore.Identity
3765
3766Q: The primary package for Identity isMicrosoft.AspNetCore.IdentityWhat class is responsible for managing the cookie?[...]Identity preserves a user session with a cookie named?.AspNetCore.Identity.Application
3767A: SignInManager<TUser>
3768
3769Q: The primary package for Identity isMicrosoft.AspNetCore.IdentityWhat class is responsible for managing the cookie?SignInManager<TUser>Identity preserves a user session with a cookie named?[...]
3770A: .AspNetCore.Identity.Application
3771
3772Q: (ASP.NET) IdentityServer4 implements the [...] and OAuth 2.0 protocols.
3773A: OpenID Connect
3774
3775Q: (ASP.NET) IdentityServer4 implements the OpenID Connect and [...] protocols.
3776A: OAuth 2.0
3777
3778Q: (ASP.NET Core) IdentityServer4 implements what two authentication protocols? (Overview)
3779A: OpenID Connect and OAuth 2.0
3780
3781Q: (IdentityServer4) An identity token represents the outcome of what kind of process?
3782A: authentication
3783
3784Q: (IdentityServer4) The authentication process results in a?
3785A: identity token
3786
3787Q: (IdentityServer4) (Config.cs) You can think of the [...] and the ClientSecret as the login and password for your application itself.
3788A: ClientId
3789
3790Q: (IdentityServer4) (Config.cs) You can think of the ClientId and the [...] as the login and password for your application itself.
3791A: ClientSecret
3792
3793Q: IdentityServer4Config.csLoginPassword[...]ClientSecret
3794A: ClientId
3795
3796Q: IdentityServer4Config.csLoginPasswordClientId[...]
3797A: ClientSecret
3798
3799Q: (IdentityServer4) (Config.cs) What stores the user ID?
3800A: ClientId
3801
3802Q: (IdentityServer4) (Config.cs) What stores the password?
3803A: ClientSecret
3804
3805Q: (IdentityServer4) (Config.cs) What stores the password?Client[...]
3806A: Secret
3807
3808Q: (ASP.NET(IdentityServer4) IdentityServer will create a developer signing key for you, a file called [...]
3809A: tempkey.rsa
3810
3811Q: (ASP.NET Core) (MVC Framework) In Startup.cs app.UseRouting() decides which endpoint is going to be [...].
3812A: invoked
3813
3814Q: (ASP.NET Core) (MVC Framework) In Startup.cs app.[...]() decides which endpoint is going to be invoked.
3815A: UseRouting
3816
3817Q: (ASP.NET Core) (MVC Framework) In Startup.cs [...]() decides which endpoint is going to be invoked.
3818A: app.UseRouting
3819
3820Q: (ASP.NET Core) (MVC Framework)In Startup.cs What does?app.UseRouting() do?
3821A: Decides which endpoint is going to be invoked
3822
3823Q: Healthy Email Delivery RatesThis % and up is healthy...Ken O'Driscoll[...]%Quickmail.io80%
3824A: 95
3825
3826Q: Healthy Email Delivery RatesThis % and up is healthy...Ken O'Driscoll95%Quickmail.io[...]%
3827A: 80
3828
3829Q: All instructions will take a certain amount of CPU time to process, they are usually measured in “[...]”, or “states”.
3830A: Cycles
3831
3832Q: What are the two terms for the measurement of how long it takes a CPU instruction to process? (terms)
3833A: Cycles, States
3834
3835Q: All instructions will take a certain amount of CPU time to process, they are usually measured in “Cycles”, or “[...]”.
3836A: states
3837
3838Q: (Assembly) How many bits are in a nibble?
3839A: 4
3840
3841Q: (Assembly) 2 nibbles make a?
3842A: byte
3843
3844Q: If you group two nybbles together (e.g. 0100 1101), you get what is known as a “[...]”.
3845A: byte
3846
3847Q: (68000) (Assembly) If you group two “bytes” together (e.g. 0100 1101 1011 0000), you get what is known as a “[...]”.
3848A: word
3849
3850Q: (Assembly) How many bytes make up a word?
3851A: 2
3852
3853Q: (Assembly) 2 bytes make up one ?
3854A: word
3855
3856Q: (Assembly) If you group two “words” together (e.g. 0100 1101 1011 0000 1111 0001 0000 0110), you get what is known as a “[...]”.
3857A: long-word
3858
3859Q: (Assembly) How many words in a long-word?
3860A: 2
3861
3862Q: (Assembly) Computers have a very specific way of accessing/storing memory, and it is done through “[...]"
3863A: addressing
3864
3865Q: (Assembly) A computer uses what to accesses memory? (Term/Concept)
3866A: addressing
3867
3868Q: (Assembly) A computer will use the [...] as an “address”, to locate a byte in memory that it wants to read
3869A: offset
3870
3871Q: (Assembly) A computer will use the offset as an “[...]”, to locate a byte in memory that it wants to read
3872A: address
3873
3874Q: (68000) you can have; [...] for byte, .w for word, or .l for long-word.
3875A: .b
3876
3877Q: (68000) you can have; .b for byte, [...] for word, or .l for long-word.
3878A: .w
3879
3880Q: (68000) you can have; .b for byte, .w for word, or [...] for long-word.
3881A: .l
3882
3883Q: (Assembly) What symbol tells the assembler that the following is a binary number?
3884A: %
3885
3886Q: (Assembly) What is the symbol for a binary number?
3887A: %
3888
3889Q: (Assembly) the [...] symbol is to tell the assembler that the number is a “hex” number
3890A: $
3891
3892Q: (Assembly) What is the symbol for a hex number?
3893A: $
3894
3895Q: (Assembly) the $ symbol is to tell the assembler that the number is a “[...]” number
3896A: hex
3897
3898Q: move.b [...]32,$0000001EThe assembler will convert 32 (decimal) to 0010 0000 (binary) when it assembles it.
3899A: #
3900
3901Q: (Assembly)Write 32 in decimal move.b [...],$0000001Eto be moved
3902A: #32
3903
3904Q: The # symbol on the other hand, is to tell the assembler, that the number is an “[...]” value, and not an offset
3905A: immediate
3906
3907Q: (Assembly) The [...] symbol on the other hand, is to tell the assembler, that the number is an “immediate” value, and not an offset (NOT i as in addi)
3908A: #
3909
3910Q: (Assembly) The # symbol on the other hand, is to tell the assembler, that the number is an “immediate” value, and not a [...]
3911A: offset
3912
3913Q: (68000) the [...] symbol tells the 68k that the number is not anoffset/address.
3914A: #
3915
3916Q: (Assembly) Processors have memory spaces called [...]
3917A: registers
3918
3919Q: The Motrolla 68000 has how many data registers?
3920A: 8
3921
3922Q: (68000) The 8 data registers on the 68K are named
3923A: d0, d1, d2, d3, d4, d5, d6 and d7
3924
3925Q: (68000) "[...] registers” are used for storing and changing numbers
3926A: Data
3927
3928Q: (68000) "Data registers” are used for storing and changing [...]
3929A: numbers
3930
3931Q: (68000)move.w #$04F0,d0What will d0 contain?
3932A: 00 00 04 F0
3933
3934Q: (6800) move the word 04F0 into data register d0
3935A: move.w #$04F0,d0
3936
3937Q: (6800) [...] Registers can be used in much the same way as data registers, except, you cannot perform byte instructions on them (only word or long-word), and some instructions that work on data registers, will not work on [...] registers
3938A: Address
3939
3940Q: (6800) Address Registers can be used in much the same way as [...] registers, except, you cannot perform byte instructions on them (only word or long-word), and some instructions that work on [....] registers, will not work on address registers
3941A: data
3942
3943Q: (68000) you cannot perform byte instructions on [...] registers
3944A: address
3945
3946Q: (68000) Which type of register allows byte instructions?
3947A: Data registers(address registers CAN ONLY use word or long-word)
3948
3949Q: (68000) Which kind of register only accepts word and long-word instructions?
3950A: address registers
3951
3952Q: (68000) Each address register has space for how much data? (byte/word/long-word)?
3953A: long-word
3954
3955Q: move.b #$44,(a0)You’ll notice that with this instruction, a0 is inside brackets, this will tell the 68k that instead of moving 44 into a0, it should move it to [...]
3956A: memory at the offset inside a0
3957
3958Q: (68000)move.b #$44,[...]Move #$44 to memory at the offset inside a0
3959A: (a0)
3960
3961Q: (68000) What are the names of the 8 address registers?
3962A: a0, a1, a2, a3, a4, a5, a6 and a7
3963
3964Q: (68000) How many address registers?
3965A: 8
3966
3967Q: movea.l #$00000020,a0move.b #$B5,(a0)+move.b #$11,(a0)+(68000) What do the + symbols mean?
3968A: auto increment
3969
3970Q: movea.l #$00000020,a0move.w #$A90E,(a0)+The + symbol will then “increment” a0; adding what number to a0?
3971A: 2
3972
3973Q: (68000)movea.l #$00000020,a0 move.w #$A90E,(a0)+a0 now contains?
3974A: 00000022
3975
3976Q: move.l #$A90E,(a0)+a0 is incremented by?
3977A: 4
3978
3979Q: (Assembly) copy the byte 95 into data register d0
3980A: move.b #$95,d0
3981
3982Q: (Assembly) copy the byte 95 into data register d0move.[...] #$95,d0
3983A: b
3984
3985Q: (Assembly) copy the byte 95 into data register d0move.b [...]95,d0
3986A: #$
3987
3988Q: (68000) copy the byte 95 into data register d0[...] #$95,d0
3989A: move.b
3990
3991Q: (68000)Copy 40F5 into data register d0
3992A: move.w #$40F5,d0
3993
3994Q: (68000)move.w #$40F5,d0if d0 started with 00000000, after the instruction d0 will contain [...]
3995A: 000040F5
3996
3997Q: (68000)move.w #$40F5,d0if d0 started with 00000126, after the instruction d0 will contain [...]
3998A: 000040F5
3999
4000Q: (68000) move.w #$40F5,d0 if d0 started with 000053FB, after the instruction d0 will contain [...]
4001A: 000040F5
4002
4003Q: (68000) Copy a word of data from d0 to d1.
4004A: move.w d0,d1
4005
4006Q: (Assembly) Basic syntax:Opcode source, destinationCan you have an operation that changes the source?
4007A: No(Source always remains unchanged)
4008
4009Q: (68000) What is the largest data type that can work with odd numbered addresses?
4010A: byte
4011
4012Q: (68000) you can NOT move “word” or “long-word” sized data in and out of memory, if the address is a [...] number
4013A: odd
4014
4015Q: (68000)move.w $00000047,d0Because 00000047 is an odd number the 68k will crash with what error type?
4016A: address error
4017
4018Q: (68000)move.l #$00000047,a0move.w (a0),d0Result?
4019A: a crash (odd address)
4020
4021Q: (68000)movea.l #$00000047,a0move.w (a0),d0Why will the above cause a crash?
4022A: Moving a word for an odd address
4023
4024Q: (68000)d0 contains 0000 0123move.b d0,d1What number is copied?
4025A: 23
4026
4027Q: (68000)d0 contains 00000123d1 contains 00000000move.b d0,d1d1 now contains [...].
4028A: 00000023
4029
4030Q: (68000)d1 contains 00000023.move.w d1,d2What number is copied over?
4031A: 0023
4032
4033Q: (68000) d1 contains 00000023.d2 contains 00000000move.w d1,d2d2 now contains [...]
4034A: 00000023
4035
4036Q: (68000)d0 contains 00000123.d3 contains FFFF0000.move.w d0,d3What is copied from d0?
4037A: 0123
4038
4039Q: (68000)d0 contains 00000123.d3 contains FFFF0000.move.w d0,d3d3 now contains?
4040A: FFFF0123
4041
4042Q: (68000)d3 contains FFFF0123.move.l d3,d0d0 now contains?
4043A: FFFF0123
4044
4045Q: d3 now contains FFFF0123.move.l d3,d0What number is copied from d3?
4046A: FFFF0123
4047
4048Q: (68000)d0 contains FFFF0123.d2 contains 00000023.move.w d2,d0What number is copied from d2?
4049A: 0023
4050
4051Q: (68000)d0 contains FFFF0123.d2 contains 00000023.move.w d2,d0d0 now contains?
4052A: FFFF0023
4053
4054Q: (68000) (OpCodes)How does ADD effect the SOURCE operand?
4055A: unchanged
4056
4057Q: (68000) (OpCodes)This instruction will add the number from the source operand to the destination operand
4058A: ADD
4059
4060Q: (68000) d0 = 00000000addi.b #$08,d0d0 will contain?
4061A: 00000008
4062
4063Q: (68000)d0 = 00000010addi.b #$08,d0after the instruction d0 will contain [...]
4064A: 00000018
4065
4066Q: (Assembly) What is the highest number in a byte (in hex)?
4067A: FF
4068
4069Q: (Assembly) adding 1 to $FF (in hex) results in [...]
4070A: $100
4071
4072Q: (68000)d0 = 222222FCaddi.b #$08,d0What numbers in d0 are effected by the operation?
4073A: FC
4074
4075Q: (68000)d0 = 222222FCaddi.b #$08,d0ONLY What numbers have 8 added to them?
4076A: FC
4077
4078Q: (68000)d0 = 222222FCaddi.b #$08,d0Since FC + 08 is higher than FFis the overflow CARRIED over? like how 99 + 99 = 198
4079A: No
4080
4081Q: (68000)d0 = 0000 00FFaddi.b #$01,d0d0 = ?
4082A: d0 = 0000 0000
4083
4084Q: (68000)add the byte 08 to the byte in data register d0
4085A: addi.b #$08,d0
4086
4087Q: (68000)d0 = 4444FFFFaddi.w #$1021,d0What numbers in d0 are effected?
4088A: FFFF only
4089
4090Q: (68000) add a word of data from register d0 to register d1
4091A: add.w d0,d1
4092
4093Q: (68000) Can you add numbers from one register to another?
4094A: Yes
4095
4096Q: (68000)d0 = FED0 0100d1 = 0000 0100add.w d0,d1after the instruction d1 will contain [...]
4097A: 00000200 (Long part ignored)
4098
4099Q: (68000)add the word in d0 to whatever is in memory at offset $00001012
4100A: add.w d0,$00001012
4101
4102Q: You can add data from memory to a data register: add.w $00001050,d0 If d0 contains 00121000, and the data in memory is: Offset0123456789ABCDEFetc 0000103000000000000000000000000000000000000010400000000000000000000000000000000000001050501000000000000000000000000000000000106000000000000000000000000000000000etc What value is copied out of memory?
4103A: 5010
4104
4105Q: (68000)Fix this:add.b $00000010,$00000015
4106A: move.b $00000010,d0add.b d0,$00000015
4107
4108Q: (68000) Can you add data from memory to memory?i.e. add.b $00000010,$00000015
4109A: No
4110
4111Q: (68000) What is wrong with this command?add.b $00000010,$00000015
4112A: You can not add from memory to memory
4113
4114Q: (68000) How can you fix the below command?add.b $00000010,$00000015
4115A: First copy to a register like d0
4116
4117Q: (68000) add opcodeWhen adding immediate numbers spell the ADD OpCode how?
4118A: addi
4119
4120Q: (68000) Because the source operand #$20 is “immediate” , the [...] instruction must be used instead of add.
4121A: addi(i.e. addi.b #$20,d0)
4122
4123Q: (68000) What instruction will subtract the source operand from the destination operand?
4124A: SUB – SUBtract binary
4125
4126Q: (68000)subtract the byte value hex 10 from the byte in data register d0
4127A: subi.b #$10,d0
4128
4129Q: (68000) (OpCodes) (working with entire bytes i.e. add.b sub.b) Only the right or left byte is effected?
4130A: right
4131
4132Q: (68000) subi.w #$0200,d0if d0 started with 00000500, after the instruction d0 will contain [...]
4133A: 00000300
4134
4135Q: (68000)subi.w #$0200,d0if d0 started with 4444310F, after the instruction d0 will contain [...]
4136A: 44442F0F
4137
4138Q: (68000) d0 = 4444310Fsubi.w #$0200,d0What numbers in d0 are affected?
4139A: 310F
4140
4141Q: (68000) Can you subtract numbers of one data register from another?
4142A: Yes
4143
4144Q: (68000) subtract a long-word of data in d0 from d1.
4145A: sub.l d0,d1
4146
4147Q: (68000) Can you subtract data in a memory location from another memory location?
4148A: No
4149
4150Q: (68000) Will the below work?sub.b $00000120,$00000124
4151A: No (Cannot subtract two memory locations)
4152
4153Q: (68000) Fix this:sub.b $00000120,$00000124
4154A: move.b $00000120,d0 sub.b d0,$00000124
4155
4156Q: (68000) Why does the below not work?sub.b $00000120,$00000124
4157A: you cannot subtract data in memory location from another memory location
4158
4159Q: (68000) Just like the add instruction, if the source operand is “immediate”, you must use the instruction “[...]” instead of “sub”
4160A: subi
4161
4162Q: (68000) Just like the add instruction, if the source operand is “[...]”, you must use the instruction “subi” instead of “sub”
4163A: immediate
4164
4165Q: (68000) Subtract $20 from d0
4166A: subi.b #$20,d0
4167
4168Q: (68000) SWAP – SWAP [...](specific, not just word)
4169A: register halves
4170
4171Q: (68000) (Opcodes) [...] – Swap register halves
4172A: SWAP
4173
4174Q: (68000) SWAP - This instruction will swap the upper [...data size - NOT register halve] with the lower [...data size] of a data register.
4175A: word
4176
4177Q: (68000) (OpCodes) SWAP works on what size of data?
4178A: word
4179
4180Q: (68000)d0 = 2222EEEEswap d0d0 = ?
4181A: EEEE2222
4182
4183Q: (68000)d0 = 2222EEEE[...]d0 = EEEE2222
4184A: swap d0
4185
4186Q: (68000)d0 = 2222EEEEMake d0 = EEEE2222
4187A: swap d0
4188
4189Q: (68000)SWAP d0if d0 started with 01234567, after the SWAP instruction d0 will contain [...]
4190A: 45670123
4191
4192Q: (68000)d0 = FFEEDDCCSWAP d0d0 = ?
4193A: DDCCFFEE
4194
4195Q: The SWAP instruction will only work on [...], it will not work for address registers, or memory, or anything else.
4196A: data registers
4197
4198Q: (68000) Will the SWAP opcode work on data registers?
4199A: Yes
4200
4201Q: (68000) Will the SWAP opcode work on address registers?
4202A: No
4203
4204Q: (68000) (OpCodes) Which can be used with address registers?SWAP or EXG?
4205A: EXG
4206
4207Q: (68000) Will the SWAP opcode work on memory?
4208A: No
4209
4210Q: (68000)(OpCodes) What OpCOde will swap the long-word of a data or address register with another data or address register?
4211A: EXG – EXchanGe registers
4212
4213Q: (68000) EXG works with what size data?
4214A: long-word
4215
4216Q: (68000)d0 = 00000000d1 = 11111111, Make d0 = 11111111 and d1 = 00000000
4217A: exg.l d0,d1
4218
4219Q: (68000)d0 = 00000000d1 = 11111111, Make d0 = 11111111 and d1 = 00000000exg.l or exg?
4220A: exg.l d0,d1
4221
4222Q: (68000)d0 = 00000000d1 = 11111111, Make d0 = 11111111 and d1 = 00000000exg or exg.l ?
4223A: exg.l d0,d1
4224
4225Q: (68000)d0 = 01234567d1 = FFEEDDCCexg.l d0,d1after the instruction?
4226A: d0 = FFEEDDCCd1 = 01234567
4227
4228Q: (68000)d0 = ABCB9989d1 = 00000100exg.l d0,d1
4229A: d0 = 00000100d1 = ABCB9989
4230
4231Q: (68000) (OpCodes) SWAP works with words or long-words?
4232A: words
4233
4234Q: (68000) (OpCodes) EXG works with words or long-words?
4235A: long-words
4236
4237Q: (68000) (OpCodes) What is like EXG but works with words?
4238A: SWAP
4239
4240Q: (68000) (OpCodes) What is like SWAP but works with long-words?
4241A: EXG
4242
4243Q: (68000) Can you use EXG with address registers?
4244A: Yes
4245
4246Q: (68000)What opcode will clear the destination operand, setting it all to zero (0)?
4247A: CLR – CLeaR an operand
4248
4249Q: (68000)CLR – CLeaR an operandThis instruction will set the destination to?
4250A: all zero (0).
4251
4252Q: (68000) clr.b d0if d0 contains 01234567, after the instruction d0 will contain [...]
4253A: 01234500
4254
4255Q: (68000) clr.b d0if d0 contains ABCB9989, after the instruction d0 will contain [...]
4256A: ABCB9900
4257
4258Q: (68000) [...]if d0 contains 01234567, after the instruction d0 will contain 01230000 if d0 contains ABCB9989, after the instruction d0 will contain ABCB0000
4259A: clr.w d0
4260
4261Q: (68000) clr.w d0if d0 contains ABCB9989, after the instruction d0 will contain [...]
4262A: ABCB0000
4263
4264Q: (68000)clr.l d0if d0 contains ABCB9989, after the instruction d0 will contain [...]
4265A: 00000000
4266
4267Q: (68000)[...]if d0 contains 01234567, after the instruction d0 will contain 00000000 if d0 contains ABCB9989, after the instruction d0 will contain 00000000
4268A: clr.l d0
4269
4270Q: (68000) Can CLR be used directly on an address registers?
4271A: No
4272
4273Q: (68000) Can CLR be used directly on memory registers?
4274A: Yes
4275
4276Q: (68000) will this work?clr.l $1C(a2)
4277A: YesYou can perform this instruction on memory locations (directly, or by using an address register), examples:clr.w $00201000clr.b $00201FFFclr.w (a4)[...]
4278
4279Q: (68000) Will this work?clr.l a0
4280A: No (Not allowed to DIRECTLY use address register)
4281
4282Q: (680000) Clear a0
4283A: clr.l d0move.l d0,a0 (There are other possible solutions)
4284
4285Q: (68000)d1 = 00000010 [...]A word of d1 is added to d1 (adding to itself).
4286A: add.w d1,d1
4287
4288Q: (68000)Can data registers add themselves?
4289A: Yes
4290
4291Q: (68000)Is this allowed?add.w d1,d1
4292A: Yes
4293
4294Q: (68000)Add the word in memory at the offset inside a4 to d1.
4295A: add.w (a4),d1
4296
4297Q: (68000)move.w d1,(a4)A word from d1 is copied into memory at [...].
4298A: the offset inside a4
4299
4300Q: (68000)[...]A word from d1 is copied into memory at the offset inside a4.
4301A: move.w d1,(a4)
4302
4303Q: (680000) (OpCodes)What instruction will reverse all bits of a destination operand. Bits that are 0 become 1, and bits that are 1 become 0 (clear to set, set to clear)
4304A: NOT
4305
4306Q: (68000)Reverse a word of bits held in memory at offset 000048C0 and 000048C1
4307A: not.w $000048C0
4308
4309Q: (68000)Reverse a word of bits held in memory at offset 000048C0 and 000048C1NOT or NEG?
4310A: NOTnot.w $000048C0
4311
4312Q: (68000)Reverse a word of bits held in memory at offset 000048C0 and 000048C1NEG or NOT?
4313A: NOTnot.w $000048C0
4314
4315Q: (68000)(OpCodes)Can NOT be used on address registers directly?
4316A: No
4317
4318Q: (68000)(OpCodes)Is this allowed?not.w a0
4319A: No, NOT allowed
4320
4321Q: (Assembly) 0 AND 0 = [...]
4322A: 0
4323
4324Q: (Assembly) 0 AND 1 = [...]
4325A: 0
4326
4327Q: (Assembly) 1 AND 0 = [...]
4328A: 0
4329
4330Q: (Assembly) 1 AND 1 = [...]
4331A: 1
4332
4333Q: (AND Logical) both have to be [...] for the result to be 1.
4334A: 1
4335
4336Q: (68000) (AND instruction) “If the source and the destination is true, then the result is [...]”,
4337A: true
4338
4339Q: (68000) (AND OpCode)False AND False = [...]
4340A: False
4341
4342Q: (68000) (AND OpCode)False AND True = [...]
4343A: False
4344
4345Q: (68000) (AND OpCode)True AND False = [...]
4346A: False
4347
4348Q: (68000) (AND OpCode)True AND True = [...]
4349A: True
4350
4351Q: (68000) Is this allowed?and.w d0,d1
4352A: Yes
4353
4354Q: (68000) Can you AND from one DATA register to another?
4355A: Yes
4356
4357Q: (68000) 2 Things You CAN NOT do with AND:1.) AND-ing from one memory location directly to another2.) [...]
4358A: AND-ing directly to an address register
4359
4360Q: (68000) 2 Things You CAN NOT do with AND:1.) [...]2.) AND-ing directly to an address register
4361A: AND-ing from one memory location directly to another
4362
4363Q: (68000) Is the below instruction allowed?andi.w #$3F10,a0
4364A: No
4365
4366Q: (68000) Why is the below instruction NOT allowed?andi.w #$3F10,a0
4367A: CAN NOT AND directly to an address register
4368
4369Q: (68000) Is the below instruction allowed?and.w $00020000,$0002004E
4370A: No
4371
4372Q: (68000) Why is the below instruction NOT allowed?and.w $00020000,$0002004E
4373A: CAN NOT AND one memory location to another directly
4374
4375Q: (68000) What OpCode?Will perform OR logical between the source operand and destination operand?
4376A: OR
4377
4378Q: (68000) (OpCodes) OR – OR logicalThis instruction will perform OR logical between the source operand and destination operand, the result is saved to the [...].
4379A: destination operand
4380
4381Q: (68000) Logical OR0 OR 0 = [...]
4382A: 0
4383
4384Q: (68000) Logical OR0 OR 1 = [...]
4385A: 1
4386
4387Q: (68000) Logical OR1 OR 0 = [...]
4388A: 1
4389
4390Q: (68000) Logical OR1 OR 1 = [...]
4391A: 1
4392
4393Q: (Assembly) (Logical OR) The idea is that either bit can be 1 for the result to be [...].
4394A: 1
4395
4396Q: (Assembly)(Binary) Think of 0 as TRUE or FALSE?
4397A: false
4398
4399Q: (Assembly)(Binary) Think of 1 as TRUE or FALSE?
4400A: True
4401
4402Q: (Assembly) (Logical OR) To understand why it’s called OR, pretend that 0 is referred to as “false” and 1 is referred to as “[...]”.
4403A: true
4404
4405Q: (68000)True OR True = [...]
4406A: True
4407
4408Q: (68000)True OR False = [...]
4409A: True
4410
4411Q: (68000)False OR True = [...]
4412A: True
4413
4414Q: (68000)False OR False = [...]
4415A: False
4416
4417Q: (68000) Can you OR directly with an address register?
4418A: No
4419
4420Q: (68000) is this instruction allowed?ori.w #$3F10,a0
4421A: No
4422
4423Q: (68000) Just like AND, you cannot do things such as OR-ing from one [...] to another, or directly to an address register:
4424A: memory directly
4425
4426Q: (6800) Can you OR two memory registers?
4427A: No
4428
4429Q: (68000) allowed?or.w $00020000,$0002004E
4430A: No, OR-ing from one memory directly to another
4431
4432Q: (68000) The OR instruction can do (and not do) pretty much the same as the [...] instruction.
4433A: AND
4434
4435Q: (68000) What OpCode can perform the same functionality as OR?
4436A: AND
4437
4438Q: (68000) What OpCode can perform the same functionality as AND?
4439A: OR
4440
4441Q: (68000) The [...] instruction can do (and not do) pretty much the same as the AND instruction.
4442A: OR
4443
4444Q: (Assembly)0 XOR 0 = [...]
4445A: 0
4446
4447Q: (Assembly)0 XOR 1 = [...]
4448A: 1
4449
4450Q: (Assembly)1 XOR 0 = [...]
4451A: 1
4452
4453Q: (Assembly)1 XOR 1 = [...]
4454A: 0
4455
4456Q: (Assembly) (XOR) The idea is that only the source or the destination has to be 1 for the result to be [...].
4457A: 1
4458
4459Q: (Assembly)False XOR False = [...]
4460A: False
4461
4462Q: (Assembly)False XOR True = [...]
4463A: True
4464
4465Q: (Assembly)True XOR False = [...]
4466A: True
4467
4468Q: (Assembly)True XOR True = [...]
4469A: False
4470
4471Q: (XOR) The source and destination must be the [...] of each other for the result to be true.
4472A: opposite
4473
4474Q: (XOR) The source and destination must be the opposite of each other for the result to be [...]
4475A: true
4476
4477Q: (XOR) If one is false, but the other is true, then the result is always [...].
4478A: true
4479
4480Q: (XOR) If both are false, or if both are true, then the result is always [...].
4481A: false
4482
4483Q: Most other instruction sets call this opcode XOR, the 68k uses the mnemonic [...] instead.
4484A: EOR
4485
4486Q: Most other instruction sets call this opcode [...], the 68k uses the mnemonic EOR instead.
4487A: XOR
4488
4489Q: (Assembly)(68000) The 68K EOR is the same as what OPCODE on other chips?
4490A: XOR
4491
4492Q: (68000) How many instructions does the 68K have for modifying individual bits
4493A: three
4494
4495Q: (68000) What OpCodes are used for modifying individual bits
4496A: BSET, BCLR and BCHG
4497
4498Q: (68000) What instruction will set the bit number in the destination operand decided by the source operand, setting the bit to 1.
4499A: BSET – test a Bit and SET
4500
4501Q: (68000) What instruction will set the bit in the destination operand, decided by the source operand, to 0?
4502A: BCLR – test a Bit and CLeaR
4503
4504Q: (68000)0000 0001The bit that is furthest to the right, 1, is referred to as the “[...]”
4505A: least significant bit
4506
4507Q: (68000)The “least significant bit”is the bit that is furthest to the right or left?
4508A: right
4509
4510Q: (68000)The “most significant bit”is the bit that is furthest to the right or left?
4511A: left
4512
4513Q: (68000) 1000 0000The above shows the most or least significant bit?
4514A: most
4515
4516Q: (68000) The term “LSB” is short for?
4517A: Least Significant Bit
4518
4519Q: (68000) The term “MSB” is short for?
4520A: Most Significant Bit
4521
4522Q: (Assembly) the bit furthest to the [...] is the LSB (least significant bit)
4523A: right
4524
4525Q: (Assembly) the bit furthest to the [...] is the MSB (most significant bit).
4526A: left
4527
4528Q: (Assembly) signed and unsigned bytes are used to fake what?
4529A: positive and negative numbers
4530
4531Q: (Assembly) (HEX) What is the lowest possible unsigned byte of data?
4532A: 00
4533
4534Q: (Assembly) (Hex) for a byte of data the highest possible unsigned number is?
4535A: FF
4536
4537Q: (Assembly) (HEX) For a word of data; What is the lowest possible unsigned number?
4538A: 0000
4539
4540Q: (Assembly)(HEX) For a word of data what is the highest possible number?
4541A: FFFF
4542
4543Q: (Assembly) (HEX) for a long-word of unsigned data what is the lowest number?
4544A: 00000000
4545
4546Q: (Assembly) (HEX) for a long-word of unsigned data what is the highest possible number?
4547A: FFFF FFFF
4548
4549Q: (Assembly) Unsigned numbers are always positive or negative?
4550A: positive
4551
4552Q: (68000) (Hex) The lowest possible signed byte is?
4553A: $80
4554
4555Q: (68000) (Hex) The lowest possible signed byte is?$7F or $80?
4556A: $80
4557
4558Q: (68000) (Hex) The lowest possible signed byte is?$80 or $7F?
4559A: $80
4560
4561Q: (68000) (Hex) The highest possible signed byte is?
4562A: $7F
4563
4564Q: (Assembly) "Two's Complement" uses the most significant or least significant bit to indicate that the value is negative?
4565A: Most Significant (MSB)
4566
4567Q: (Assembly) (two's complement) positive numbers have the most significant bit set to 0 or 1?
4568A: 0
4569
4570Q: (Assembly) (two's complement) negative numbers have the most significant bit set to 0 or 1?
4571A: 1
4572
4573Q: (Assembly) A two's complement negative -1 is what in HEX?
4574A: FF
4575
4576Q: (Assembly) A two's complement negative -2 is what in HEX?
4577A: $FE
4578
4579Q: (68000) Will simply changing the MSB convert the polarity of a number from positive to negative, or negative to positive directly?
4580A: It will not
4581
4582Q: (68000) Can you change the polarity (positive or negative number) of the number stored in d0, by simply changing the MSB to 1?
4583A: No
4584
4585Q: (68000) Every time an instruction is processed, information is saved to what is known as the [...]
4586A: “Conditional Code Register” (CCR)
4587
4588Q: (68000) The CCR stands for?
4589A: “Conditional Code Register”
4590
4591Q: (68000) (OpCodes)What OpCode reverses the polarity of the destination, from positive to negative, or from negative to positive?
4592A: NEG
4593
4594Q: (68000) (OpCodes) What OpCode will allow you to change a positive number into a negative number, or vise-versa?
4595A: NEG
4596
4597Q: (68000) neg.b d0If d0 started with 00220002, after the instruction d0 will contain [...]
4598A: 002200FE(the byte in d0 was changed from 02 to FE, basically +2 to -2)
4599
4600Q: (68000)A byte of d0 is negated
4601A: neg.b d0
4602
4603Q: (68000) Can you use NEG on address registers directly?
4604A: No
4605
4606Q: (68000) True/False You can use NEG on address registers
4607A: False
4608
4609Q: (68000) Is the below allowed?neg.l a2
4610A: No, cannot use NEG on address registers directly:[...]
4611
4612Q: (68000) (OpCodes) What instruction will extend the most significant bit of a byte of the destination operand to word, or the most significant bit of a word of the destination operand to long-word?
4613A: EXT
4614
4615Q: (68000) The EXT instruction can ONLY be used on what kind of register?
4616A: data registers
4617
4618Q: (68000) The EXT instruction is used on data registers or address registers?
4619A: data registers
4620
4621Q: (68000) The EXT instruction is used on address registers or data registers?
4622A: data registers
4623
4624Q: (Bit Shifting Right) When using logical shifting, the MSB is always?
4625A: 0
4626
4627Q: (Assembly) When shifting right by 1 bit, if using logical or arithmetic shifting - the MSB is always 0?
4628A: logical
4629
4630Q: This is a example of a logical or arithmetic shift “right”?
4631A: logical
4632
4633Q: (68000) Here’s a graphical example of a logical or arithmetic shift right?hift “right”:
4634A: arithmetic
4635
4636Q: (Assembly) For shifting “left” however, both logical shifting and arithmetic shifting have the same result, the [MSB or LSB...] always changes to 0
4637A: LSB (least significant bit)
4638
4639Q: (Assembly) For shifting “left” however, both logical shifting and arithmetic shiftinghave the same result, the LSB (least significant bit) always changes to [...]
4640A: 0
4641
4642Q: (Assembly) For shifting “[...LEFT or RIGHT]” however, both logical shifting and arithmetic shifting have the same result, the LSB (least significant bit) always changes to 0
4643A: left
4644
4645Q: (Assembly) After a logical or arithmetic shift left:The least significant bit (LSB) is always
4646A: 0
4647
4648Q: (68000) What OpCode will shift the bits of the destination operand to the left logically?
4649A: LSL – Logical Shift Left
4650
4651Q: (68000) shift the word of d2, 04 bits to the left logically.
4652A: lsl.w #$04,d2
4653
4654Q: (68000)lsl.w #$04,d2
4655A: Shift the word of d2, 04 bits to the left.
4656
4657Q: (68000) What OpCode will shift the bits of the destination operand to the right logically?
4658A: LSR – Logical Shift Right
4659
4660Q: (68000) LSR – Logical Shift RightWhat decideds the number of times that the bits are shifted?
4661A: the source operand
4662
4663Q: (68000) What OpCode will shift the bits of the destination operand to the left arithmetically?
4664A: ASL – Arithmetic Shift Left
4665
4666Q: (68000)Shift the byte of d0, 02 bits to the left arithmetically.
4667A: asl.b #$02,d0
4668
4669Q: (68000)asl.b #$02,d0
4670A: Shift the byte of d0, 02 bits to the left.
4671
4672Q: In which direction is a logical and arithmetic bit shift the same? Left or right?
4673A: left
4674
4675Q: (68000)ASL and LSL are the sameorASR and LSR are the same?
4676A: ASL, LSL
4677
4678Q: (68000) The only difference between LSL and ASL concerns what flag?
4679A: V
4680
4681Q: (68000) (LSL vs ASL) LSL will clear the V flag while ASL will clear or set the V flag based on [...].
4682A: the outcome
4683
4684Q: (68000) What OpCode will shift the bits of the destination operand to the right arithmetically?
4685A: ASR – Arithmetic Shift Right
4686
4687Q: (68000)arithmetic shift the byte of d0, 02 bits to the right.
4688A: asr.b #$02,d0
4689
4690Q: (68000)asr.b #$02,d0This will [...].
4691A: shift the byte of d0, 02 bits to the right
4692
4693Q: (68000) shift the word d2, 04 bits to the right.
4694A: asr.w #$04,d2
4695
4696Q: (68000) Can you perform the LSL instruction directly on an address registers?
4697A: No, you can not
4698
4699Q: (68000) What register can LSL instructions NOT be performed on?Data registers or address registers?
4700A: address registers
4701
4702Q: (68000) What register can LSL instructions NOT be performed on?Address registers or Data registers?
4703A: Address
4704
4705Q: (68000) What register can LSL instructions NOT be performed on?Data registers or Address registers?
4706A: Address
4707
4708Q: (68000) Is this allowed?lsl.w #$04,a0
4709A: No
4710
4711Q: (68000) Is this allowed?lsl.l a0
4712A: No
4713
4714Q: (68000) Is this allowed?lsl.l d0,a0
4715A: No
4716
4717Q: (68000) When using the shift instructions on [...], you have the freedom to use, byte, word or long-word sizes.
4718A: data registers
4719
4720Q: (68000) the shift instructions, on data registers, work with what sizes?
4721A: byte, word or long-word
4722
4723Q: (68000) When shifting on data registers, what data sizes are allowed?
4724A: byte, word or long-word
4725
4726Q: (68000) When using [...] instructions on memory you can only [...] 01 bit at a time
4727A: shift
4728
4729Q: (68000) When using shift instructions on [...] you can only shift 01 bit at a time
4730A: memory
4731
4732Q: (68000) shift instructions on what can only shift 1 bit at a time?
4733A: memory
4734
4735Q: (68000) When using shift instructions on memory you can only shift [...] at a time
4736A: 01 bit
4737
4738Q: (68000) How much can memory be shifted at a time?
4739A: 1 bit
4740
4741Q: (68000) When using shift instructions on memory though, you can only use what size data?
4742A: word
4743
4744Q: (68000) When shifting on memory directly (not registers), what data sizes are allowed?
4745A: only word
4746
4747Q: (68000) What instruction will rotate the bits of the destination operand to the left?
4748A: ROL – ROtate Left (without extended)
4749
4750Q: (68000) ROL – ROtate Left (without extended)What does the source operand do? ROL [...], d0
4751A: number of times that the bits are rotated
4752
4753Q: (68000) rotate the word of d2, 04 bits to the right
4754A: ror.w #$04,d2
4755
4756Q: (68000) What does the following do?ror.w #$04,d2
4757A: rotate the word of d2, 04 bits to the right
4758
4759Q: (68000) #$04,d2Rotate the word of d2, 04 bits to the right.
4760A: ror.w
4761
4762Q: (68000) What are the two multiplication OpCodes?
4763A: MULU & MULS
4764
4765Q: (68000) MULU & MULS are both used for?
4766A: multiplication
4767
4768Q: (68000) Which OpCode is for POSITIVE number multiplication?
4769A: MULU
4770
4771Q: (68000) Which OpCode is for NEGATIVE number multiplication?
4772A: MULS
4773
4774Q: (68000) What OpCode is exactly the same as the MULU instruction --- Except of course, the source and destination are both treated as “signed” instead of “unsigned”?
4775A: MULS – Signed MULtiply
4776
4777Q: (68000) MULS treats numbers that are from [...] to FFFF as negative.
4778A: 8000
4779
4780Q: (68000) MULS treats numbers that are from 8000 to [...] as negative.
4781A: FFFF
4782
4783Q: (68000) What two instructions are for division?
4784A: DIVU & DIVS
4785
4786Q: (68000)(DIVU & DIVS) only the data size [...] can be used for division.
4787A: words
4788
4789Q: (68000) The 68000 can perform division with what data size?
4790A: words
4791
4792Q: (DIVU) The only thing you cannot use for the source operand is a?
4793A: address register
4794
4795Q: (68000) Is the following valid?divu.w a0,d0
4796A: No, you can not use an address register as a source
4797
4798Q: (68000) Apart from the signed/unsigned differences, [...] is the same as DIVU.
4799A: DIVS
4800
4801Q: (68000) Apart from the signed/unsigned differences, DIVS is the same as [...].
4802A: DIVU
4803
4804Q: “Behind me the branches of a wasted and sterile existence are cracking.” ~[...]$Quotes
4805A: Gustav Mahler
4806
4807Q: (68000) These two are the same are different?movea.l #$00100000,a7movea.l #$00100000,sp
4808A: same
4809
4810Q: (68000) The address register [...] is used as the Stack Pointer (SP),
4811A: a7
4812
4813Q: (68000) What address register is used as the Stack Pointer (SP)?
4814A: a7
4815
4816Q: (68000)How large is the CCR? (data size)
4817A: 1 byte
4818
4819Q: (68000) As you can see, the 68k has 5 conditional flags:C – [...] V - oVerflow Z - Zero N - Negative X - eXtended
4820A: Carry
4821
4822Q: (68000) As you can see, the 68k has 5 conditional flags:C – Carry V - [...] Z - Zero N - Negative X - eXtended
4823A: oVerflow
4824
4825Q: (68000) As you can see, the 68k has 5 conditional flags:C – Carry V - oVerflow Z - [...] N - Negative X - eXtended
4826A: Zero
4827
4828Q: (68000) As you can see, the 68k has 5 conditional flags:C – Carry V - oVerflow Z - Zero N - [...] X - eXtended
4829A: Negative
4830
4831Q: (68000) As you can see, the 68k has 5 conditional flags:C – Carry V - oVerflow Z - Zero N - Negative X - [...]
4832A: eXtended
4833
4834Q: (68000) (Conditional Flags) Carry is abbreviated with what letter?
4835A: C
4836
4837Q: (68000) (Conditional Flags) Overflow is abbreviated with what letter?
4838A: V
4839
4840Q: (68000) (Conditional Flags) Zero is abbreviated with what letter?
4841A: Z
4842
4843Q: (68000) (Conditional Flags) Negative is abbreviated with what letter?
4844A: N
4845
4846Q: (68000) (Conditional Flags) Extended is abbreviated with what letter?
4847A: X
4848
4849Q: (6800) (Conditional Flags) The C flag stands for?
4850A: Carry
4851
4852Q: (6800) (Conditional Flags) The V flag stands for?
4853A: oVerflow
4854
4855Q: (6800) (Conditional Flags) The Z flag stands for?
4856A: Zero
4857
4858Q: (6800) (Conditional Flags) The N flag stands for?
4859A: Negative
4860
4861Q: (6800) (Conditional Flags) The X flag stands for?
4862A: eXtended
4863
4864Q: (68000) The BEQ instruction will only branch if the [...] flag is set.
4865A: Z
4866
4867Q: (68000) The BEQ instruction reads what flag?
4868A: Z
4869
4870Q: (68000) If the [...] flag is cleared, the BEQ instruction will ignore the branch and continue.
4871A: Z
4872
4873Q: “An overflow of good converts to bad.” ~[...]
4874A: William Shakespeare
4875
4876Q: “If you would lift me up you must be on higher ground.” ~[...]
4877A: Ralph Waldo Emerson
4878
4879Q: (68000) The TST instruction will check what register for 0?
4880A: d0
4881
4882Q: (68000) The TST Opcode checks d0 for what?
4883A: Zero
4884
4885Q: (Assembly) What is the highest possible value of a Nibble? (in Hex)
4886A: F
4887
4888Q: (Assembly) What is the highest possible value of a Nibble? (in Decimal)
4889A: 15
4890
4891Q: (Assembly) What is the highest possible value of a Nibble? (in Binary)
4892A: 1111
4893
4894Q: The 68000 is an 16-Bit processor with a [...] bit Address bus
4895A: 24
4896
4897Q: (68000) How large is the 68000 address bus?
4898A: 24 bits
4899
4900Q: (68000) How many bytes make up one address on the 68000?
4901A: three
4902
4903Q: (68000) How many bytes are used to represent an address?
4904A: 3
4905
4906Q: (68000)(Hex)Adding 2 to 255= ?
4907A: 1
4908
4909Q: (68000) Can CLEAR wipe memory addresses?
4910A: Yes
4911
4912Q: (68000) Can CLEAR wipe registers directly?
4913A: Yes
4914
4915Q: (68000) Address bus can access how much ram at once?
4916A: 16 mb
4917
4918Q: (VASM) is move.l (69),d2 the same as move.l 69,d2?
4919A: Yes, same
4920
4921Q: (68000) What is the highest memory address the 68000 can point to?
4922A: $00FF FFFF
4923
4924Q: (68000) it has a 16 bit data bus - meaning 16 '[...]' coming out the cpu for data
4925A: wires
4926
4927Q: (68000) The actual wires coming out of the CPU can be thought of as what bus?
4928A: data bus
4929
4930Q: (68000) it is NOT possible to load a Word or Long from an [...]address
4931A: ODD
4932
4933Q: (68000) it is NOT possible to load a [...] or Long from an ODD address
4934A: Word
4935
4936Q: (68000) it is NOT possible to load a Word or [...] from an ODD address
4937A: Long
4938
4939Q: (68000) can a Move instruction be on an odd address - if you are only using a byte?
4940A: Yes
4941
4942Q: (68000) can a Move instruction be on an odd address - if you are only using a byte?
4943A: Yes
4944
4945Q: (68000) the number of possible values that can be held by 16 bits is [...] times as many as can be held in 8 bits.
4946A: 256
4947
4948Q: (68000) A16 bit value can hold how many more possible values than a 8 bit?
4949A: 256 times more
4950
4951Q: (68000) The data registers can work with [...] operands while the address registers can only work with word or long-word operands.
4952A: byte, word, or long-word
4953
4954Q: (68000) The data registers can work with byte, word, or long-word operands while the address registers can only work with [...]operands.
4955A: word or long-word
4956
4957Q: (68000) Can a data register work with a byte operand?
4958A: Yes
4959
4960Q: (68000) Can an address register work with a byte operand?
4961A: No
4962
4963Q: (68000) Can BOTH stack pointers or only ONE stack pointer be active at once?
4964A: only one
4965
4966Q: (68000) The [...] holds the address of the current instruction and is 32 bits wide.
4967A: Program Counter (PC)
4968
4969Q: (68000) The Program Counter (PC) holds the [...] of the current instruction and is 32 bits wide.
4970A: address
4971
4972Q: (68000) The Program Counter (PC) holds the address of the current instruction and is [...] bits wide.
4973A: 32
4974
4975Q: (68000) The Program Counter (PC) holds the address of the current instruction and is [...] wide.
4976A: 32 bits
4977
4978Q: (68000) All of the [...] can work as accumulators for arithmetic.
4979A: data registers
4980
4981Q: (68000) Can data registers work as accumulators for arithmetic?
4982A: Yes
4983
4984Q: The existence of two stack points and of an extended [...] adds significantly to the advantage the 68000 has over 8-bit chips.
4985A: status register