├── .gitignore
├── LINQTut12.Equality
├── LINQTut12.Equality.csproj
└── Program.cs
├── LINQTut12.sln
└── Shared
├── Choice.cs
├── Question.cs
├── QuestionBank.cs
└── Shared.csproj
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Ll]og/
33 | [Ll]ogs/
34 |
35 | # Visual Studio 2015/2017 cache/options directory
36 | .vs/
37 | # Uncomment if you have tasks that create the project's static files in wwwroot
38 | #wwwroot/
39 |
40 | # Visual Studio 2017 auto generated files
41 | Generated\ Files/
42 |
43 | # MSTest test Results
44 | [Tt]est[Rr]esult*/
45 | [Bb]uild[Ll]og.*
46 |
47 | # NUnit
48 | *.VisualState.xml
49 | TestResult.xml
50 | nunit-*.xml
51 |
52 | # Build Results of an ATL Project
53 | [Dd]ebugPS/
54 | [Rr]eleasePS/
55 | dlldata.c
56 |
57 | # Benchmark Results
58 | BenchmarkDotNet.Artifacts/
59 |
60 | # .NET Core
61 | project.lock.json
62 | project.fragment.lock.json
63 | artifacts/
64 |
65 | # Tye
66 | .tye/
67 |
68 | # ASP.NET Scaffolding
69 | ScaffoldingReadMe.txt
70 |
71 | # StyleCop
72 | StyleCopReport.xml
73 |
74 | # Files built by Visual Studio
75 | *_i.c
76 | *_p.c
77 | *_h.h
78 | *.ilk
79 | *.meta
80 | *.obj
81 | *.iobj
82 | *.pch
83 | *.pdb
84 | *.ipdb
85 | *.pgc
86 | *.pgd
87 | *.rsp
88 | *.sbr
89 | *.tlb
90 | *.tli
91 | *.tlh
92 | *.tmp
93 | *.tmp_proj
94 | *_wpftmp.csproj
95 | *.log
96 | *.vspscc
97 | *.vssscc
98 | .builds
99 | *.pidb
100 | *.svclog
101 | *.scc
102 |
103 | # Chutzpah Test files
104 | _Chutzpah*
105 |
106 | # Visual C++ cache files
107 | ipch/
108 | *.aps
109 | *.ncb
110 | *.opendb
111 | *.opensdf
112 | *.sdf
113 | *.cachefile
114 | *.VC.db
115 | *.VC.VC.opendb
116 |
117 | # Visual Studio profiler
118 | *.psess
119 | *.vsp
120 | *.vspx
121 | *.sap
122 |
123 | # Visual Studio Trace Files
124 | *.e2e
125 |
126 | # TFS 2012 Local Workspace
127 | $tf/
128 |
129 | # Guidance Automation Toolkit
130 | *.gpState
131 |
132 | # ReSharper is a .NET coding add-in
133 | _ReSharper*/
134 | *.[Rr]e[Ss]harper
135 | *.DotSettings.user
136 |
137 | # TeamCity is a build add-in
138 | _TeamCity*
139 |
140 | # DotCover is a Code Coverage Tool
141 | *.dotCover
142 |
143 | # AxoCover is a Code Coverage Tool
144 | .axoCover/*
145 | !.axoCover/settings.json
146 |
147 | # Coverlet is a free, cross platform Code Coverage Tool
148 | coverage*.json
149 | coverage*.xml
150 | coverage*.info
151 |
152 | # Visual Studio code coverage results
153 | *.coverage
154 | *.coveragexml
155 |
156 | # NCrunch
157 | _NCrunch_*
158 | .*crunch*.local.xml
159 | nCrunchTemp_*
160 |
161 | # MightyMoose
162 | *.mm.*
163 | AutoTest.Net/
164 |
165 | # Web workbench (sass)
166 | .sass-cache/
167 |
168 | # Installshield output folder
169 | [Ee]xpress/
170 |
171 | # DocProject is a documentation generator add-in
172 | DocProject/buildhelp/
173 | DocProject/Help/*.HxT
174 | DocProject/Help/*.HxC
175 | DocProject/Help/*.hhc
176 | DocProject/Help/*.hhk
177 | DocProject/Help/*.hhp
178 | DocProject/Help/Html2
179 | DocProject/Help/html
180 |
181 | # Click-Once directory
182 | publish/
183 |
184 | # Publish Web Output
185 | *.[Pp]ublish.xml
186 | *.azurePubxml
187 | # Note: Comment the next line if you want to checkin your web deploy settings,
188 | # but database connection strings (with potential passwords) will be unencrypted
189 | *.pubxml
190 | *.publishproj
191 |
192 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
193 | # checkin your Azure Web App publish settings, but sensitive information contained
194 | # in these scripts will be unencrypted
195 | PublishScripts/
196 |
197 | # NuGet Packages
198 | *.nupkg
199 | # NuGet Symbol Packages
200 | *.snupkg
201 | # The packages folder can be ignored because of Package Restore
202 | **/[Pp]ackages/*
203 | # except build/, which is used as an MSBuild target.
204 | !**/[Pp]ackages/build/
205 | # Uncomment if necessary however generally it will be regenerated when needed
206 | #!**/[Pp]ackages/repositories.config
207 | # NuGet v3's project.json files produces more ignorable files
208 | *.nuget.props
209 | *.nuget.targets
210 |
211 | # Microsoft Azure Build Output
212 | csx/
213 | *.build.csdef
214 |
215 | # Microsoft Azure Emulator
216 | ecf/
217 | rcf/
218 |
219 | # Windows Store app package directories and files
220 | AppPackages/
221 | BundleArtifacts/
222 | Package.StoreAssociation.xml
223 | _pkginfo.txt
224 | *.appx
225 | *.appxbundle
226 | *.appxupload
227 |
228 | # Visual Studio cache files
229 | # files ending in .cache can be ignored
230 | *.[Cc]ache
231 | # but keep track of directories ending in .cache
232 | !?*.[Cc]ache/
233 |
234 | # Others
235 | ClientBin/
236 | ~$*
237 | *~
238 | *.dbmdl
239 | *.dbproj.schemaview
240 | *.jfm
241 | *.pfx
242 | *.publishsettings
243 | orleans.codegen.cs
244 |
245 | # Including strong name files can present a security risk
246 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
247 | #*.snk
248 |
249 | # Since there are multiple workflows, uncomment next line to ignore bower_components
250 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
251 | #bower_components/
252 |
253 | # RIA/Silverlight projects
254 | Generated_Code/
255 |
256 | # Backup & report files from converting an old project file
257 | # to a newer Visual Studio version. Backup files are not needed,
258 | # because we have git ;-)
259 | _UpgradeReport_Files/
260 | Backup*/
261 | UpgradeLog*.XML
262 | UpgradeLog*.htm
263 | ServiceFabricBackup/
264 | *.rptproj.bak
265 |
266 | # SQL Server files
267 | *.mdf
268 | *.ldf
269 | *.ndf
270 |
271 | # Business Intelligence projects
272 | *.rdl.data
273 | *.bim.layout
274 | *.bim_*.settings
275 | *.rptproj.rsuser
276 | *- [Bb]ackup.rdl
277 | *- [Bb]ackup ([0-9]).rdl
278 | *- [Bb]ackup ([0-9][0-9]).rdl
279 |
280 | # Microsoft Fakes
281 | FakesAssemblies/
282 |
283 | # GhostDoc plugin setting file
284 | *.GhostDoc.xml
285 |
286 | # Node.js Tools for Visual Studio
287 | .ntvs_analysis.dat
288 | node_modules/
289 |
290 | # Visual Studio 6 build log
291 | *.plg
292 |
293 | # Visual Studio 6 workspace options file
294 | *.opt
295 |
296 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
297 | *.vbw
298 |
299 | # Visual Studio LightSwitch build output
300 | **/*.HTMLClient/GeneratedArtifacts
301 | **/*.DesktopClient/GeneratedArtifacts
302 | **/*.DesktopClient/ModelManifest.xml
303 | **/*.Server/GeneratedArtifacts
304 | **/*.Server/ModelManifest.xml
305 | _Pvt_Extensions
306 |
307 | # Paket dependency manager
308 | .paket/paket.exe
309 | paket-files/
310 |
311 | # FAKE - F# Make
312 | .fake/
313 |
314 | # CodeRush personal settings
315 | .cr/personal
316 |
317 | # Python Tools for Visual Studio (PTVS)
318 | __pycache__/
319 | *.pyc
320 |
321 | # Cake - Uncomment if you are using it
322 | # tools/**
323 | # !tools/packages.config
324 |
325 | # Tabs Studio
326 | *.tss
327 |
328 | # Telerik's JustMock configuration file
329 | *.jmconfig
330 |
331 | # BizTalk build output
332 | *.btp.cs
333 | *.btm.cs
334 | *.odx.cs
335 | *.xsd.cs
336 |
337 | # OpenCover UI analysis results
338 | OpenCover/
339 |
340 | # Azure Stream Analytics local run output
341 | ASALocalRun/
342 |
343 | # MSBuild Binary and Structured Log
344 | *.binlog
345 |
346 | # NVidia Nsight GPU debugger configuration file
347 | *.nvuser
348 |
349 | # MFractors (Xamarin productivity tool) working folder
350 | .mfractor/
351 |
352 | # Local History for Visual Studio
353 | .localhistory/
354 |
355 | # BeatPulse healthcheck temp database
356 | healthchecksdb
357 |
358 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
359 | MigrationBackup/
360 |
361 | # Ionide (cross platform F# VS Code tools) working folder
362 | .ionide/
363 |
364 | # Fody - auto-generated XML schema
365 | FodyWeavers.xsd
366 |
367 | ##
368 | ## Visual studio for Mac
369 | ##
370 |
371 |
372 | # globs
373 | Makefile.in
374 | *.userprefs
375 | *.usertasks
376 | config.make
377 | config.status
378 | aclocal.m4
379 | install-sh
380 | autom4te.cache/
381 | *.tar.gz
382 | tarballs/
383 | test-results/
384 |
385 | # Mac bundle stuff
386 | *.dmg
387 | *.app
388 |
389 | # content below from: https://github.com/github/gitignore/blob/master/Global/macOS.gitignore
390 | # General
391 | .DS_Store
392 | .AppleDouble
393 | .LSOverride
394 |
395 | # Icon must end with two \r
396 | Icon
397 |
398 |
399 | # Thumbnails
400 | ._*
401 |
402 | # Files that might appear in the root of a volume
403 | .DocumentRevisions-V100
404 | .fseventsd
405 | .Spotlight-V100
406 | .TemporaryItems
407 | .Trashes
408 | .VolumeIcon.icns
409 | .com.apple.timemachine.donotpresent
410 |
411 | # Directories potentially created on remote AFP share
412 | .AppleDB
413 | .AppleDesktop
414 | Network Trash Folder
415 | Temporary Items
416 | .apdisk
417 |
418 | # content below from: https://github.com/github/gitignore/blob/master/Global/Windows.gitignore
419 | # Windows thumbnail cache files
420 | Thumbs.db
421 | ehthumbs.db
422 | ehthumbs_vista.db
423 |
424 | # Dump file
425 | *.stackdump
426 |
427 | # Folder config file
428 | [Dd]esktop.ini
429 |
430 | # Recycle Bin used on file shares
431 | $RECYCLE.BIN/
432 |
433 | # Windows Installer files
434 | *.cab
435 | *.msi
436 | *.msix
437 | *.msm
438 | *.msp
439 |
440 | # Windows shortcuts
441 | *.lnk
442 |
443 | # JetBrains Rider
444 | .idea/
445 | *.sln.iml
446 |
447 | ##
448 | ## Visual Studio Code
449 | ##
450 | .vscode/*
451 | !.vscode/settings.json
452 | !.vscode/tasks.json
453 | !.vscode/launch.json
454 | !.vscode/extensions.json
455 |
--------------------------------------------------------------------------------
/LINQTut12.Equality/LINQTut12.Equality.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Exe
5 | net5.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/LINQTut12.Equality/Program.cs:
--------------------------------------------------------------------------------
1 | using Shared;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Linq;
5 |
6 | namespace LINQTut12.Equality
7 | {
8 | internal class Program
9 | {
10 | static void Main(string[] args)
11 | {
12 | RunMethod3();
13 | Console.ReadKey();
14 | }
15 |
16 | static void RunMethod1()
17 | {
18 | var q1 = QuestionBank.PickOne();
19 | var q2 = QuestionBank.PickOne();
20 | var q3 = QuestionBank.PickOne();
21 |
22 | var quiz1 = new List(new [] { q1, q2, q3 });
23 | var quiz2 = new List(new [] { q1, q2, q3 });
24 |
25 | var equal = quiz1.SequenceEqual(quiz2);
26 | Console.WriteLine($"quiz#1 and quiz#2 {(equal ? "are" : "are not")} equal");
27 | }
28 |
29 | static void RunMethod2()
30 | {
31 | var ramdomFourQuestion =
32 | QuestionBank.GetQuestionRange(Enumerable.Range(1, 4));
33 |
34 | var quiz1 = ramdomFourQuestion;
35 | var quiz2 = ramdomFourQuestion;
36 |
37 | var equal = quiz1.SequenceEqual(quiz2);
38 | Console.WriteLine($"quiz#1 and quiz#2 {(equal ? "are" : "are not")} equal");
39 | }
40 | static void RunMethod3()
41 | {
42 | var quiz1 = QuestionBank.GetQuestionRange(Enumerable.Range(1, 4));
43 | var quiz2 = QuestionBank.GetQuestionRange(Enumerable.Range(1, 4));
44 |
45 | var equal = quiz1.SequenceEqual(quiz2);
46 | Console.WriteLine($"quiz#1 and quiz#2 {(equal ? "are" : "are not")} equal");
47 | }
48 |
49 | }
50 | }
51 |
--------------------------------------------------------------------------------
/LINQTut12.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.0.32112.339
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LINQTut12.Equality", "LINQTut12.Equality\LINQTut12.Equality.csproj", "{63A010D8-F50C-4818-BCE6-3520131FF9EB}"
7 | EndProject
8 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shared", "Shared\Shared.csproj", "{6D3FC11B-A08A-475F-856F-DD45B0B08D16}"
9 | EndProject
10 | Global
11 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
12 | Debug|Any CPU = Debug|Any CPU
13 | Release|Any CPU = Release|Any CPU
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {63A010D8-F50C-4818-BCE6-3520131FF9EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17 | {63A010D8-F50C-4818-BCE6-3520131FF9EB}.Debug|Any CPU.Build.0 = Debug|Any CPU
18 | {63A010D8-F50C-4818-BCE6-3520131FF9EB}.Release|Any CPU.ActiveCfg = Release|Any CPU
19 | {63A010D8-F50C-4818-BCE6-3520131FF9EB}.Release|Any CPU.Build.0 = Release|Any CPU
20 | {6D3FC11B-A08A-475F-856F-DD45B0B08D16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 | {6D3FC11B-A08A-475F-856F-DD45B0B08D16}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 | {6D3FC11B-A08A-475F-856F-DD45B0B08D16}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 | {6D3FC11B-A08A-475F-856F-DD45B0B08D16}.Release|Any CPU.Build.0 = Release|Any CPU
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | GlobalSection(ExtensibilityGlobals) = postSolution
29 | SolutionGuid = {A5BEE0BF-7B2F-45E2-AC3A-EDF3F31DF5F2}
30 | EndGlobalSection
31 | EndGlobal
32 |
--------------------------------------------------------------------------------
/Shared/Choice.cs:
--------------------------------------------------------------------------------
1 | namespace Shared
2 | {
3 | public class Choice
4 | {
5 | public int Order { get; set; }
6 | public string Description { get; set; }
7 |
8 | public override bool Equals(object obj)
9 | {
10 | if(ReferenceEquals(null, obj)) return false;
11 | if (ReferenceEquals(this, obj)) return true;
12 | if(obj.GetType() != this.GetType()) return false;
13 |
14 | var other = (Choice)obj;
15 | return Order == other.Order && Description.Equals(other.Description);
16 | }
17 |
18 | public override int GetHashCode()
19 | {
20 | int hash = 17;
21 | //check null
22 | hash = hash * 23 + Order.GetHashCode();
23 | hash = hash * 23 + Description.GetHashCode();
24 | return hash;
25 | }
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/Shared/Question.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Linq;
3 |
4 | namespace Shared
5 | {
6 | public class Question
7 | {
8 | public string Title { get; set; }
9 | public List Choices { get; set; } = new();
10 | public int CorrectAnswer { get; set; }
11 |
12 | public override bool Equals(object obj)
13 | {
14 | if (ReferenceEquals(null, obj)) return false;
15 | if (ReferenceEquals(this, obj)) return true;
16 | if (obj.GetType() != this.GetType()) return false;
17 |
18 | Question other = (Question) obj;
19 |
20 | return Title.Equals(other.Title)
21 | && CorrectAnswer == other.CorrectAnswer
22 | && Choices.SequenceEqual(other.Choices);
23 | }
24 |
25 | public override int GetHashCode()
26 | {
27 | int hash = 17;
28 | //check null
29 | hash = hash * 23 + Title.GetHashCode();
30 | hash = hash * 23 + CorrectAnswer.GetHashCode();
31 | hash = hash * 23 + Choices.GetHashCode();
32 | return hash;
33 | }
34 | public override string ToString()
35 | {
36 | var choices = "";
37 |
38 | foreach (var item in Choices)
39 | {
40 | choices += $"\n\t{item.Order}) {item.Description}";
41 | }
42 |
43 | return $"{Title}" +
44 | $"{choices}";
45 |
46 |
47 | }
48 | }
49 | }
50 |
--------------------------------------------------------------------------------
/Shared/QuestionBank.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | namespace Shared
6 |
7 | {
8 | public static class QuestionBank
9 | {
10 | private static Random random = new Random();
11 |
12 | public static IEnumerable Randomize(int count)
13 | {
14 | if (All.Count < count) return All;
15 | return AllShuffled.Take(count);
16 | }
17 |
18 | public static Question PickOne()
19 | {
20 | return All[random.Next(0, All.Count)];
21 | }
22 |
23 | public static void ToQuiz(this IEnumerable questions)
24 | {
25 | foreach (var question in questions)
26 | {
27 | Console.WriteLine(question);
28 | Console.WriteLine();
29 |
30 | }
31 | }
32 |
33 | public static List GetQuestionRange(IEnumerable range)
34 | {
35 | return All.Where((x, i) => range.Contains(i)).ToList();
36 | }
37 |
38 | public static List All => new List() {
39 | // Question #1
40 | new Question {
41 | Title = "Q #1: In the streaming stored audio/video category of audio/video services",
42 | Choices = new List < Choice > {
43 | new Choice {
44 | Order = 1,
45 | Description = "Files are compressed and stored on the server"
46 | },
47 | new Choice {
48 | Order = 2,
49 | Description = "A user listens to a broadcast audio and video through the internet"
50 | },
51 | new Choice {
52 | Order = 3,
53 | Description = "People use the Internet to interactively communicate with one another"
54 | },
55 | new Choice {
56 | Order = 4,
57 | Description = "None of the above"
58 | }
59 | },
60 | CorrectAnswer = 1
61 | },
62 | // Question #2
63 | new Question {
64 | Title = "Q #2: In the streaming live audio/video category of audio/video services",
65 | Choices = new List < Choice > {
66 | new Choice {
67 | Order = 1,
68 | Description = "Files are compressed and stored on the server"
69 | },
70 | new Choice {
71 | Order = 2,
72 | Description = "A user listens to a broadcast audio and video through the internet"
73 | },
74 | new Choice {
75 | Order = 3,
76 | Description = "People use the Internet to interactively communicate with one another"
77 | },
78 | new Choice {
79 | Order = 4,
80 | Description = "None of the above"
81 | }
82 | },
83 | CorrectAnswer = 1
84 | },
85 | // Question #3
86 | new Question {
87 | Title = "Q #3: In the interactive audio/video category of audio/video services",
88 | Choices = new List < Choice > {
89 | new Choice {
90 | Order = 1,
91 | Description = "Files are compressed and stored on the server"
92 | },
93 | new Choice {
94 | Order = 2,
95 | Description = "A user listens to a broadcast audio and video through the internet"
96 | },
97 | new Choice {
98 | Order = 3,
99 | Description = "People use the Internet to interactively communicate with one another"
100 | },
101 | new Choice {
102 | Order = 4,
103 | Description = "None of the above"
104 | }
105 | },
106 | CorrectAnswer = 1
107 | },
108 | // Question #4
109 | new Question {
110 | Title = "Q #4: Streaming stored audio/video is sometimes referred to as on-demand audio/video",
111 | Choices = new List < Choice > {
112 | new Choice {
113 | Order = 1,
114 | Description = "True"
115 | },
116 | new Choice {
117 | Order = 2,
118 | Description = "False"
119 | }
120 | },
121 | CorrectAnswer = 1
122 | },
123 | // Question #5
124 | new Question {
125 | Title = "Q #5: An example of streaming stored audio/video is Internet radio",
126 | Choices = new List < Choice > {
127 | new Choice {
128 | Order = 1,
129 | Description = "True"
130 | },
131 | new Choice {
132 | Order = 2,
133 | Description = "False"
134 | }
135 | },
136 | CorrectAnswer = 1
137 | },
138 | // Question #6
139 | new Question {
140 | Title = "Q #6: Streaming live audio/video refers to on-demand requests for compressed audio/video",
141 | Choices = new List < Choice > {
142 | new Choice {
143 | Order = 1,
144 | Description = "True"
145 | },
146 | new Choice {
147 | Order = 2,
148 | Description = "False"
149 | }
150 | },
151 | CorrectAnswer = 1
152 | },
153 | // Question #7
154 | new Question {
155 | Title = "Q #7: An example of interactive audio/video is Internet teleconferencing",
156 | Choices = new List < Choice > {
157 | new Choice {
158 | Order = 1,
159 | Description = "True"
160 | },
161 | new Choice {
162 | Order = 2,
163 | Description = "False"
164 | }
165 | },
166 | CorrectAnswer = 1
167 | },
168 | // Question #8
169 | new Question {
170 | Title = "Q #8: A raw piece of information, whether audio or video, must be compressed and then digitized",
171 | Choices = new List < Choice > {
172 | new Choice {
173 | Order = 1,
174 | Description = "True"
175 | },
176 | new Choice {
177 | Order = 2,
178 | Description = "False"
179 | }
180 | },
181 | CorrectAnswer = 1
182 | },
183 | // Question #9
184 | new Question {
185 | Title = "Q #9: A raw piece of information, whether audio or video, must be digitized and then compressed",
186 | Choices = new List < Choice > {
187 | new Choice {
188 | Order = 1,
189 | Description = "True"
190 | },
191 | new Choice {
192 | Order = 2,
193 | Description = "False"
194 | }
195 | },
196 | CorrectAnswer = 1
197 | },
198 | // Question #10
199 | new Question {
200 | Title = "Q #10: Digitization refers to",
201 | Choices = new List < Choice > {
202 | new Choice {
203 | Order = 1,
204 | Description = "Conversion to a stream of numbers, and preferably these numbers should be integers for efficiency"
205 | },
206 | new Choice {
207 | Order = 2,
208 | Description = "The process of coding that will effectively reduce the total number of bits needed to represent certain information"
209 | },
210 | new Choice {
211 | Order = 3,
212 | Description = "The process of converting information into an analog format"
213 | },
214 | new Choice {
215 | Order = 4,
216 | Description = "Conversion to a stream of numbers, and preferably these numbers should be decimals for efficiency"
217 | }
218 | },
219 | CorrectAnswer = 1
220 | },
221 | // Question #11
222 | new Question {
223 | Title = "Q #11: Compression refers to",
224 | Choices = new List < Choice > {
225 | new Choice {
226 | Order = 1,
227 | Description = "Conversion to a stream of numbers, and preferably these numbers should be integers for efficiency"
228 | },
229 | new Choice {
230 | Order = 2,
231 | Description = "The process of coding that will effectively reduce the total number of bits needed to represent certain information"
232 | },
233 | new Choice {
234 | Order = 3,
235 | Description = "The process of converting information into an analog format"
236 | },
237 | new Choice {
238 | Order = 4,
239 | Description = "Conversion to a stream of numbers, and preferably these numbers should be decimals for efficiency"
240 | }
241 | },
242 | CorrectAnswer = 1
243 | },
244 | // Question #12
245 | new Question {
246 | Title = "Q #12: Analog frequencies represents the sound frequency as a function of time",
247 | Choices = new List < Choice > {
248 | new Choice {
249 | Order = 1,
250 | Description = "True"
251 | },
252 | new Choice {
253 | Order = 2,
254 | Description = "False"
255 | }
256 | },
257 | CorrectAnswer = 1
258 | },
259 | // Question #13
260 | new Question {
261 | Title = "Q #13: Analog frequencies represents the sound amplitude as a function of time",
262 | Choices = new List < Choice > {
263 | new Choice {
264 | Order = 1,
265 | Description = "True"
266 | },
267 | new Choice {
268 | Order = 2,
269 | Description = "False"
270 | }
271 | },
272 | CorrectAnswer = 1
273 | },
274 | // Question #14
275 | new Question {
276 | Title = "Q #14: To digitize an analog signal, the signal must be sampled in the dimension of time, as well as the dimension of amplitude",
277 | Choices = new List < Choice > {
278 | new Choice {
279 | Order = 1,
280 | Description = "True"
281 | },
282 | new Choice {
283 | Order = 2,
284 | Description = "False"
285 | }
286 | },
287 | CorrectAnswer = 1
288 | },
289 | // Question #15
290 | new Question {
291 | Title = "Q #15: To digitize an analog signal, the signal must be sampled in the dimension of time, as well as the dimension of frequency",
292 | Choices = new List < Choice > {
293 | new Choice {
294 | Order = 1,
295 | Description = "True"
296 | },
297 | new Choice {
298 | Order = 2,
299 | Description = "False"
300 | }
301 | },
302 | CorrectAnswer = 1
303 | },
304 | // Question #16
305 | new Question {
306 | Title = "Q #16: Quantization refers to",
307 | Choices = new List < Choice > {
308 | new Choice {
309 | Order = 1,
310 | Description = "Sampling in the voltage dimension"
311 | },
312 | new Choice {
313 | Order = 2,
314 | Description = "Sampling in the frequency dimension"
315 | },
316 | new Choice {
317 | Order = 3,
318 | Description = "Sampling in the time dimension"
319 | },
320 | new Choice {
321 | Order = 4,
322 | Description = "Sampling in the bitrate dimension"
323 | }
324 | },
325 | CorrectAnswer = 1
326 | },
327 | // Question #17
328 | new Question {
329 | Title = "Q #17: Sampling referes to the process of sampling the time dimension",
330 | Choices = new List < Choice > {
331 | new Choice {
332 | Order = 1,
333 | Description = "True"
334 | },
335 | new Choice {
336 | Order = 2,
337 | Description = "False"
338 | }
339 | },
340 | CorrectAnswer = 1
341 | },
342 | // Question #18
343 | new Question {
344 | Title = "Q #18: Sampling referes to the process of sampling the amplitude dimension",
345 | Choices = new List < Choice > {
346 | new Choice {
347 | Order = 1,
348 | Description = "True"
349 | },
350 | new Choice {
351 | Order = 2,
352 | Description = "False"
353 | }
354 | },
355 | CorrectAnswer = 1
356 | },
357 | // Question #19
358 | new Question {
359 | Title = "Q #19: Nyquist thereom states",
360 | Choices = new List < Choice > {
361 | new Choice {
362 | Order = 1,
363 | Description = "If the highest frequency of the signal is f, we need to sample the signal 2f times per second"
364 | },
365 | new Choice {
366 | Order = 2,
367 | Description = "If the highest frequency of the signal is f, we need to sample the signal f times per second"
368 | },
369 | new Choice {
370 | Order = 3,
371 | Description = "If the highest frequency of the signal is f, we need to sample the signal 3f times per second"
372 | },
373 | new Choice {
374 | Order = 4,
375 | Description = "If the highest frequency of the signal is f, we need to sample the signal 4f times per second"
376 | }
377 | },
378 | CorrectAnswer = 1
379 | },
380 | // Question #20
381 | new Question {
382 | Title = "Q #20: The process of converting from analog audio to compressed binary form sampling quantization, and encoding is known as:",
383 | Choices = new List < Choice > {
384 | new Choice {
385 | Order = 1,
386 | Description = "Pulse code modulation"
387 | },
388 | new Choice {
389 | Order = 2,
390 | Description = "Polar quantization"
391 | },
392 | new Choice {
393 | Order = 3,
394 | Description = "Pulse code quantization"
395 | },
396 | new Choice {
397 | Order = 4,
398 | Description = "Polar code modulation"
399 | }
400 | },
401 | CorrectAnswer = 1
402 | },
403 | // Question #21
404 | new Question {
405 | Title = "Q #21: A video consists of a sequence of frames",
406 | Choices = new List < Choice > {
407 | new Choice {
408 | Order = 1,
409 | Description = "True"
410 | },
411 | new Choice {
412 | Order = 2,
413 | Description = "False"
414 | }
415 | },
416 | CorrectAnswer = 1
417 | },
418 | // Question #22
419 | new Question {
420 | Title = "Q #22: The standard number of frames per second of a video is 25 frames per second",
421 | Choices = new List < Choice > {
422 | new Choice {
423 | Order = 1,
424 | Description = "True"
425 | },
426 | new Choice {
427 | Order = 2,
428 | Description = "False"
429 | }
430 | },
431 | CorrectAnswer = 1
432 | },
433 | // Question #23
434 | new Question {
435 | Title = "Q #23: In North America, a common number of frames per second _________ frames per second",
436 | Choices = new List < Choice > {
437 | new Choice {
438 | Order = 1,
439 | Description = "20"
440 | },
441 | new Choice {
442 | Order = 2,
443 | Description = "35"
444 | },
445 | new Choice {
446 | Order = 3,
447 | Description = "25"
448 | },
449 | new Choice {
450 | Order = 4,
451 | Description = "30"
452 | }
453 | },
454 | CorrectAnswer = 1
455 | },
456 | // Question #24
457 | new Question {
458 | Title = "Q #24: To avoid a condition called flickering, a frame needs to be refreshed",
459 | Choices = new List < Choice > {
460 | new Choice {
461 | Order = 1,
462 | Description = "True"
463 | },
464 | new Choice {
465 | Order = 2,
466 | Description = "False"
467 | }
468 | },
469 | CorrectAnswer = 1
470 | },
471 | // Question #25
472 | new Question {
473 | Title = "Q #25: Pixels are also known as picture elements",
474 | Choices = new List < Choice > {
475 | new Choice {
476 | Order = 1,
477 | Description = "True"
478 | },
479 | new Choice {
480 | Order = 2,
481 | Description = "False"
482 | }
483 | },
484 | CorrectAnswer = 1
485 | },
486 | // Question #26
487 | new Question {
488 | Title = "Q #26: For colour TV, each pixel represents 8 bits",
489 | Choices = new List < Choice > {
490 | new Choice {
491 | Order = 1,
492 | Description = "True"
493 | },
494 | new Choice {
495 | Order = 2,
496 | Description = "False"
497 | }
498 | },
499 | CorrectAnswer = 1
500 | },
501 | // Question #27
502 | new Question {
503 | Title = "Q #27: For black and white TV, each pixel represents 8 bits",
504 | Choices = new List < Choice > {
505 | new Choice {
506 | Order = 1,
507 | Description = "True"
508 | },
509 | new Choice {
510 | Order = 2,
511 | Description = "False"
512 | }
513 | },
514 | CorrectAnswer = 1
515 | },
516 | // Question #28
517 | new Question {
518 | Title = "Q #28: For colour TV, each pixel designates 8 bits for each primary colour (red, blue, yellow)",
519 | Choices = new List < Choice > {
520 | new Choice {
521 | Order = 1,
522 | Description = "True"
523 | },
524 | new Choice {
525 | Order = 2,
526 | Description = "False"
527 | }
528 | },
529 | CorrectAnswer = 1
530 | },
531 | // Question #29
532 | new Question {
533 | Title = "Q #29: A video's dimensions are 1920x1080 pixels (in colour), and is played at 25 frames per second (with refreshing). This means we need a ___________ Mbps bitrate",
534 | Choices = new List < Choice > {
535 | new Choice {
536 | Order = 1,
537 | Description = "944"
538 | },
539 | new Choice {
540 | Order = 2,
541 | Description = "2488"
542 | },
543 | new Choice {
544 | Order = 3,
545 | Description = "1024"
546 | },
547 | new Choice {
548 | Order = 4,
549 | Description = "2048"
550 | }
551 | },
552 | CorrectAnswer = 1
553 | },
554 | // Question #30
555 | new Question {
556 | Title = "Q #30: In ______________ encoding, the differences between the samples are encoded instead of encoding all the sampled values",
557 | Choices = new List < Choice > {
558 | new Choice {
559 | Order = 1,
560 | Description = "Predictive"
561 | },
562 | new Choice {
563 | Order = 2,
564 | Description = "Perceptual"
565 | },
566 | new Choice {
567 | Order = 3,
568 | Description = "Perpetual"
569 | },
570 | new Choice {
571 | Order = 4,
572 | Description = "Compressed"
573 | }
574 | },
575 | CorrectAnswer = 1
576 | },
577 | // Question #31
578 | new Question {
579 | Title = "Q #31: Predictive encoding is often used for creating CD-quality audio",
580 | Choices = new List < Choice > {
581 | new Choice {
582 | Order = 1,
583 | Description = "True"
584 | },
585 | new Choice {
586 | Order = 2,
587 | Description = "False"
588 | }
589 | },
590 | CorrectAnswer = 1
591 | },
592 | // Question #32
593 | new Question {
594 | Title = "Q #32: Predictive encoding is often used for speech",
595 | Choices = new List < Choice > {
596 | new Choice {
597 | Order = 1,
598 | Description = "True"
599 | },
600 | new Choice {
601 | Order = 2,
602 | Description = "False"
603 | }
604 | },
605 | CorrectAnswer = 1
606 | },
607 | // Question #33
608 | new Question {
609 | Title = "Q #33: The idea of _____________ encoding is based on the limitations of our auditory system",
610 | Choices = new List < Choice > {
611 | new Choice {
612 | Order = 1,
613 | Description = "Predictive"
614 | },
615 | new Choice {
616 | Order = 2,
617 | Description = "Perceptual"
618 | },
619 | new Choice {
620 | Order = 3,
621 | Description = "Perpetual"
622 | },
623 | new Choice {
624 | Order = 4,
625 | Description = "Compressed"
626 | }
627 | },
628 | CorrectAnswer = 1
629 | },
630 | // Question #34
631 | new Question {
632 | Title = "Q #34: Perceptual encoding is often used for creating CD-quality audio",
633 | Choices = new List < Choice > {
634 | new Choice {
635 | Order = 1,
636 | Description = "True"
637 | },
638 | new Choice {
639 | Order = 2,
640 | Description = "False"
641 | }
642 | },
643 | CorrectAnswer = 1
644 | },
645 | // Question #35
646 | new Question {
647 | Title = "Q #35: Perceptual encoding is often used for speech",
648 | Choices = new List < Choice > {
649 | new Choice {
650 | Order = 1,
651 | Description = "True"
652 | },
653 | new Choice {
654 | Order = 2,
655 | Description = "False"
656 | }
657 | },
658 | CorrectAnswer = 1
659 | },
660 | // Question #36
661 | new Question {
662 | Title = "Q #36: MP3 uses predictive encoding",
663 | Choices = new List < Choice > {
664 | new Choice {
665 | Order = 1,
666 | Description = "True"
667 | },
668 | new Choice {
669 | Order = 2,
670 | Description = "False"
671 | }
672 | },
673 | CorrectAnswer = 1
674 | },
675 | // Question #37
676 | new Question {
677 | Title = "Q #37: JPEG is a standard which is used to compress images",
678 | Choices = new List < Choice > {
679 | new Choice {
680 | Order = 1,
681 | Description = "True"
682 | },
683 | new Choice {
684 | Order = 2,
685 | Description = "False"
686 | }
687 | },
688 | CorrectAnswer = 1
689 | },
690 | // Question #38
691 | new Question {
692 | Title = "Q #38: MPEG is a standard which is used to compress audio",
693 | Choices = new List < Choice > {
694 | new Choice {
695 | Order = 1,
696 | Description = "True"
697 | },
698 | new Choice {
699 | Order = 2,
700 | Description = "False"
701 | }
702 | },
703 | CorrectAnswer = 1
704 | },
705 | // Question #39
706 | new Question {
707 | Title = "Q #39: JPEG works by",
708 | Choices = new List < Choice > {
709 | new Choice {
710 | Order = 1,
711 | Description = "Changing the picture into a linear set of numbers so that redundancies can be found and removed"
712 | },
713 | new Choice {
714 | Order = 2,
715 | Description = "Partitioning the picture into I-frames, P-frames, and B-frames"
716 | },
717 | new Choice {
718 | Order = 3,
719 | Description = "Changing the colour of pixels that are similar to the colour of other pixels so they are the same"
720 | },
721 | new Choice {
722 | Order = 4,
723 | Description = "Changing the size of the picture so that it is smaller"
724 | }
725 | },
726 | CorrectAnswer = 1
727 | },
728 | // Question #40
729 | new Question {
730 | Title = "Q #40: The steps for JPEG compression are (in order from first to last)",
731 | Choices = new List < Choice > {
732 | new Choice {
733 | Order = 1,
734 | Description = "DCT, Quantization, Data Compression"
735 | },
736 | new Choice {
737 | Order = 2,
738 | Description = "Quantization, DCT, Data Compression"
739 | },
740 | new Choice {
741 | Order = 3,
742 | Description = "DCT, Data Compression, Quantization"
743 | },
744 | new Choice {
745 | Order = 4,
746 | Description = "Data Compression, Quantization, DCT"
747 | }
748 | },
749 | CorrectAnswer = 1
750 | },
751 | // Question #41
752 | new Question {
753 | Title = "Q #41: Discrete cosine transformation changes a block of 64 values so that the relative relationships between pixels are kept but the redundancies are revealed ",
754 | Choices = new List < Choice > {
755 | new Choice {
756 | Order = 1,
757 | Description = "True"
758 | },
759 | new Choice {
760 | Order = 2,
761 | Description = "False"
762 | }
763 | },
764 | CorrectAnswer = 1
765 | },
766 | // Question #42
767 | new Question {
768 | Title = "Q #42: DCT is irreversable ",
769 | Choices = new List < Choice > {
770 | new Choice {
771 | Order = 1,
772 | Description = "True"
773 | },
774 | new Choice {
775 | Order = 2,
776 | Description = "False"
777 | }
778 | },
779 | CorrectAnswer = 1
780 | },
781 | // Question #43
782 | new Question {
783 | Title = "Q #43: In DCT, the value T(0, 0) in the transformation table is called the AC value",
784 | Choices = new List < Choice > {
785 | new Choice {
786 | Order = 1,
787 | Description = "True"
788 | },
789 | new Choice {
790 | Order = 2,
791 | Description = "False"
792 | }
793 | },
794 | CorrectAnswer = 1
795 | },
796 | // Question #44
797 | new Question {
798 | Title = "Q #44: In DCT, the value T(0, 0) in the transformation table is called the DC value",
799 | Choices = new List < Choice > {
800 | new Choice {
801 | Order = 1,
802 | Description = "True"
803 | },
804 | new Choice {
805 | Order = 2,
806 | Description = "False"
807 | }
808 | },
809 | CorrectAnswer = 1
810 | },
811 | // Question #45
812 | new Question {
813 | Title = "Q #45: In DCT, the value T(m, n), exluding the value T(0, 0) in the transformation table, is called the AC value",
814 | Choices = new List < Choice > {
815 | new Choice {
816 | Order = 1,
817 | Description = "True"
818 | },
819 | new Choice {
820 | Order = 2,
821 | Description = "False"
822 | }
823 | },
824 | CorrectAnswer = 1
825 | },
826 | // Question #46
827 | new Question {
828 | Title = "Q #46: In DCT, the DC values are the changes in the colours of the pixels",
829 | Choices = new List < Choice > {
830 | new Choice {
831 | Order = 1,
832 | Description = "True"
833 | },
834 | new Choice {
835 | Order = 2,
836 | Description = "False"
837 | }
838 | },
839 | CorrectAnswer = 1
840 | },
841 | // Question #47
842 | new Question {
843 | Title = "Q #47: In DCT, the DC value is the average value (multiplied by a constant) of the pixels",
844 | Choices = new List < Choice > {
845 | new Choice {
846 | Order = 1,
847 | Description = "True"
848 | },
849 | new Choice {
850 | Order = 2,
851 | Description = "False"
852 | }
853 | },
854 | CorrectAnswer = 1
855 | },
856 | // Question #48
857 | new Question {
858 | Title = "Q #48: JPEG compression is called \"lossy\" because of the",
859 | Choices = new List < Choice > {
860 | new Choice {
861 | Order = 1,
862 | Description = "DCT phase"
863 | },
864 | new Choice {
865 | Order = 2,
866 | Description = "Quantization phase"
867 | },
868 | new Choice {
869 | Order = 3,
870 | Description = "Compression phase"
871 | },
872 | new Choice {
873 | Order = 4,
874 | Description = "JPEG is not \"lossy\""
875 | }
876 | },
877 | CorrectAnswer = 1
878 | },
879 | // Question #49
880 | new Question {
881 | Title = "Q #49: For JPEG compression, the compression phase is read",
882 | Choices = new List < Choice > {
883 | new Choice {
884 | Order = 1,
885 | Description = "In a zigzag fashion"
886 | },
887 | new Choice {
888 | Order = 2,
889 | Description = "Row by row"
890 | },
891 | new Choice {
892 | Order = 3,
893 | Description = "Column by column"
894 | }
895 | },
896 | CorrectAnswer = 1
897 | },
898 | // Question #50
899 | new Question {
900 | Title = "Q #50: Compressing video means spatially compressing each frame and temporally compressing a set of frames",
901 | Choices = new List < Choice > {
902 | new Choice {
903 | Order = 1,
904 | Description = "True"
905 | },
906 | new Choice {
907 | Order = 2,
908 | Description = "False"
909 | }
910 | },
911 | CorrectAnswer = 1
912 | },
913 | // Question #51
914 | new Question {
915 | Title = "Q #51: Spatial compression in MPEG is done with JPEG (or a modification of it)",
916 | Choices = new List < Choice > {
917 | new Choice {
918 | Order = 1,
919 | Description = "True"
920 | },
921 | new Choice {
922 | Order = 2,
923 | Description = "False"
924 | }
925 | },
926 | CorrectAnswer = 1
927 | },
928 | // Question #52
929 | new Question {
930 | Title = "Q #52: Spatial compression in MPEG is done with PNG",
931 | Choices = new List < Choice > {
932 | new Choice {
933 | Order = 1,
934 | Description = "True"
935 | },
936 | new Choice {
937 | Order = 2,
938 | Description = "False"
939 | }
940 | },
941 | CorrectAnswer = 1
942 | },
943 | // Question #53
944 | new Question {
945 | Title = "Q #53: The 3 categories that MPEG divides its frames into are",
946 | Choices = new List < Choice > {
947 | new Choice {
948 | Order = 1,
949 | Description = "I-frames, P-frames, and B-frames"
950 | },
951 | new Choice {
952 | Order = 2,
953 | Description = "A-frames, B-frames, and C-frames"
954 | },
955 | new Choice {
956 | Order = 3,
957 | Description = "B-frames, P-frames, and R-frames"
958 | },
959 | new Choice {
960 | Order = 4,
961 | Description = "T-frames, I-frames, and B-frames"
962 | }
963 | },
964 | CorrectAnswer = 1
965 | },
966 | // Question #54
967 | new Question {
968 | Title = "Q #54: ___________ is an independent frame that is not related to any other frame",
969 | Choices = new List < Choice > {
970 | new Choice {
971 | Order = 1,
972 | Description = "I-frames"
973 | },
974 | new Choice {
975 | Order = 2,
976 | Description = "P-frames"
977 | },
978 | new Choice {
979 | Order = 3,
980 | Description = "B-frames"
981 | }
982 | },
983 | CorrectAnswer = 1
984 | },
985 | // Question #55
986 | new Question {
987 | Title = "Q #55: ___________ is predicted frame that is related to the preceding frame",
988 | Choices = new List < Choice > {
989 | new Choice {
990 | Order = 1,
991 | Description = "I-frames"
992 | },
993 | new Choice {
994 | Order = 2,
995 | Description = "P-frames"
996 | },
997 | new Choice {
998 | Order = 3,
999 | Description = "B-frames"
1000 | }
1001 | },
1002 | CorrectAnswer = 1
1003 | },
1004 | // Question #56
1005 | new Question {
1006 | Title = "Q #56: ___________ is a bidirectional frame that is related to the preceding and following frame",
1007 | Choices = new List < Choice > {
1008 | new Choice {
1009 | Order = 1,
1010 | Description = "I-frames"
1011 | },
1012 | new Choice {
1013 | Order = 2,
1014 | Description = "P-frames"
1015 | },
1016 | new Choice {
1017 | Order = 3,
1018 | Description = "B-frames"
1019 | }
1020 | },
1021 | CorrectAnswer = 1
1022 | },
1023 | // Question #57
1024 | new Question {
1025 | Title = "Q #57: A B-frame can be related to another B-frame",
1026 | Choices = new List < Choice > {
1027 | new Choice {
1028 | Order = 1,
1029 | Description = "True"
1030 | },
1031 | new Choice {
1032 | Order = 2,
1033 | Description = "False"
1034 | }
1035 | },
1036 | CorrectAnswer = 1
1037 | },
1038 | // Question #58
1039 | new Question {
1040 | Title = "Q #58: A P-frame can be related to an I-frame",
1041 | Choices = new List < Choice > {
1042 | new Choice {
1043 | Order = 1,
1044 | Description = "True"
1045 | },
1046 | new Choice {
1047 | Order = 2,
1048 | Description = "False"
1049 | }
1050 | },
1051 | CorrectAnswer = 1
1052 | },
1053 | // Question #59
1054 | new Question {
1055 | Title = "Q #59: When using only a web server to download an audio/video file, the file can be played before the downloading has finished",
1056 | Choices = new List < Choice > {
1057 | new Choice {
1058 | Order = 1,
1059 | Description = "True"
1060 | },
1061 | new Choice {
1062 | Order = 2,
1063 | Description = "False"
1064 | }
1065 | },
1066 | CorrectAnswer = 1
1067 | },
1068 | // Question #60
1069 | new Question {
1070 | Title = "Q #60: When using a web server with a metafile to download an audio/video file, the media player is directly connected to the Web server for downloading the file",
1071 | Choices = new List < Choice > {
1072 | new Choice {
1073 | Order = 1,
1074 | Description = "True"
1075 | },
1076 | new Choice {
1077 | Order = 2,
1078 | Description = "False"
1079 | }
1080 | },
1081 | CorrectAnswer = 1
1082 | },
1083 | // Question #61
1084 | new Question {
1085 | Title = "Q #61: When using a web server with a metafile to download an audio/video file, the Web server only stores the actual audio/video file",
1086 | Choices = new List < Choice > {
1087 | new Choice {
1088 | Order = 1,
1089 | Description = "True"
1090 | },
1091 | new Choice {
1092 | Order = 2,
1093 | Description = "False"
1094 | }
1095 | },
1096 | CorrectAnswer = 1
1097 | },
1098 | // Question #62
1099 | new Question {
1100 | Title = "Q #62: A problem when using a web server with a metafile to download an audio/video file is that the browser and media player both use HTTP. ",
1101 | Choices = new List < Choice > {
1102 | new Choice {
1103 | Order = 1,
1104 | Description = "True"
1105 | },
1106 | new Choice {
1107 | Order = 2,
1108 | Description = "False"
1109 | }
1110 | },
1111 | CorrectAnswer = 1
1112 | },
1113 | // Question #63
1114 | new Question {
1115 | Title = "Q #63: When using a web server with a media server to download an audio/video file, the media player uses the URL in the metafile to access the media server to download the file",
1116 | Choices = new List < Choice > {
1117 | new Choice {
1118 | Order = 1,
1119 | Description = "True"
1120 | },
1121 | new Choice {
1122 | Order = 2,
1123 | Description = "False"
1124 | }
1125 | },
1126 | CorrectAnswer = 1
1127 | },
1128 | // Question #64
1129 | new Question {
1130 | Title = "Q #64: The protocol used to download a file from a web server to your browser should utilize TCP, in case a damaged file needs to be retransmitted",
1131 | Choices = new List < Choice > {
1132 | new Choice {
1133 | Order = 1,
1134 | Description = "True"
1135 | },
1136 | new Choice {
1137 | Order = 2,
1138 | Description = "False"
1139 | }
1140 | },
1141 | CorrectAnswer = 1
1142 | },
1143 | // Question #65
1144 | new Question {
1145 | Title = "Q #65: Real-Time Streaming Protocol is an in-band control protocol",
1146 | Choices = new List < Choice > {
1147 | new Choice {
1148 | Order = 1,
1149 | Description = "True"
1150 | },
1151 | new Choice {
1152 | Order = 2,
1153 | Description = "False"
1154 | }
1155 | },
1156 | CorrectAnswer = 1
1157 | },
1158 | // Question #66
1159 | new Question {
1160 | Title = "Q #66: Real-Time Streaming Protocol is an out-of-band control protocol",
1161 | Choices = new List < Choice > {
1162 | new Choice {
1163 | Order = 1,
1164 | Description = "True"
1165 | },
1166 | new Choice {
1167 | Order = 2,
1168 | Description = "False"
1169 | }
1170 | },
1171 | CorrectAnswer = 1
1172 | },
1173 | // Question #67
1174 | new Question {
1175 | Title = "Q #67: Real-Time Streaming Protocol is used to",
1176 | Choices = new List < Choice > {
1177 | new Choice {
1178 | Order = 1,
1179 | Description = "Control the playing of audio/video"
1180 | },
1181 | new Choice {
1182 | Order = 2,
1183 | Description = "Display the video in a video player"
1184 | },
1185 | new Choice {
1186 | Order = 3,
1187 | Description = "Compress the video so that it can be efficiently downloaded from a web server"
1188 | },
1189 | new Choice {
1190 | Order = 4,
1191 | Description = "Allow users to interact with another user through the Internet"
1192 | }
1193 | },
1194 | CorrectAnswer = 1
1195 | },
1196 | // Question #68
1197 | new Question {
1198 | Title = "Q #68: Real-Time Streaming Protocol defines a compression scheme for audio and video",
1199 | Choices = new List < Choice > {
1200 | new Choice {
1201 | Order = 1,
1202 | Description = "True"
1203 | },
1204 | new Choice {
1205 | Order = 2,
1206 | Description = "False"
1207 | }
1208 | },
1209 | CorrectAnswer = 1
1210 | },
1211 | // Question #69
1212 | new Question {
1213 | Title = "Q #69: Real-Time Streaming Protocol does not define how audio and video are encapsulated in packets for transmission over a network",
1214 | Choices = new List < Choice > {
1215 | new Choice {
1216 | Order = 1,
1217 | Description = "True"
1218 | },
1219 | new Choice {
1220 | Order = 2,
1221 | Description = "False"
1222 | }
1223 | },
1224 | CorrectAnswer = 1
1225 | },
1226 | // Question #70
1227 | new Question {
1228 | Title = "Q #70: Real-Time Streaming Protocol can only be transported using UDP",
1229 | Choices = new List < Choice > {
1230 | new Choice {
1231 | Order = 1,
1232 | Description = "True"
1233 | },
1234 | new Choice {
1235 | Order = 2,
1236 | Description = "False"
1237 | }
1238 | },
1239 | CorrectAnswer = 1
1240 | },
1241 | // Question #71
1242 | new Question {
1243 | Title = "Q #71: Real-Time Streaming Protocol does not restrict how the media player buffers the audio/video",
1244 | Choices = new List < Choice > {
1245 | new Choice {
1246 | Order = 1,
1247 | Description = "True"
1248 | },
1249 | new Choice {
1250 | Order = 2,
1251 | Description = "False"
1252 | }
1253 | },
1254 | CorrectAnswer = 1
1255 | },
1256 | // Question #72
1257 | new Question {
1258 | Title = "Q #72: The media stream used when streaming a video from a web server is considered in-band",
1259 | Choices = new List < Choice > {
1260 | new Choice {
1261 | Order = 1,
1262 | Description = "True"
1263 | },
1264 | new Choice {
1265 | Order = 2,
1266 | Description = "False"
1267 | }
1268 | },
1269 | CorrectAnswer = 1
1270 | },
1271 | // Question #73
1272 | new Question {
1273 | Title = "Q #73: Streaming ________ audio/video is multicast",
1274 | Choices = new List < Choice > {
1275 | new Choice {
1276 | Order = 1,
1277 | Description = "Stored"
1278 | },
1279 | new Choice {
1280 | Order = 2,
1281 | Description = "Live"
1282 | }
1283 | },
1284 | CorrectAnswer = 1
1285 | },
1286 | // Question #74
1287 | new Question {
1288 | Title = "Q #74: Streaming ________ audio/video is unicast",
1289 | Choices = new List < Choice > {
1290 | new Choice {
1291 | Order = 1,
1292 | Description = "Stored"
1293 | },
1294 | new Choice {
1295 | Order = 2,
1296 | Description = "Live"
1297 | }
1298 | },
1299 | CorrectAnswer = 1
1300 | },
1301 | // Question #75
1302 | new Question {
1303 | Title = "Q #75: When using real-time interactive audio/video, the time relationship between the packets is preserved",
1304 | Choices = new List < Choice > {
1305 | new Choice {
1306 | Order = 1,
1307 | Description = "True"
1308 | },
1309 | new Choice {
1310 | Order = 2,
1311 | Description = "False"
1312 | }
1313 | },
1314 | CorrectAnswer = 1
1315 | },
1316 | // Question #76
1317 | new Question {
1318 | Title = "Q #76: Jitter is the variation of packet delay",
1319 | Choices = new List < Choice > {
1320 | new Choice {
1321 | Order = 1,
1322 | Description = "True"
1323 | },
1324 | new Choice {
1325 | Order = 2,
1326 | Description = "False"
1327 | }
1328 | },
1329 | CorrectAnswer = 1
1330 | },
1331 | // Question #77
1332 | new Question {
1333 | Title = "Q #77: Real-time traffic in interactive audio/video does not require a playback buffer",
1334 | Choices = new List < Choice > {
1335 | new Choice {
1336 | Order = 1,
1337 | Description = "True"
1338 | },
1339 | new Choice {
1340 | Order = 2,
1341 | Description = "False"
1342 | }
1343 | },
1344 | CorrectAnswer = 1
1345 | },
1346 | // Question #78
1347 | new Question {
1348 | Title = "Q #78: Client-side _______________________ compensate for delay jitter",
1349 | Choices = new List < Choice > {
1350 | new Choice {
1351 | Order = 1,
1352 | Description = "Buffering"
1353 | },
1354 | new Choice {
1355 | Order = 2,
1356 | Description = "Playback delay"
1357 | },
1358 | new Choice {
1359 | Order = 3,
1360 | Description = "All of the above"
1361 | },
1362 | new Choice {
1363 | Order = 4,
1364 | Description = "None of the above"
1365 | }
1366 | },
1367 | CorrectAnswer = 1
1368 | },
1369 | // Question #79
1370 | new Question {
1371 | Title = "Q #79: RTP provides which of the following features for real-time interactive audio/video",
1372 | Choices = new List < Choice > {
1373 | new Choice {
1374 | Order = 1,
1375 | Description = "Mixing, multicasting, ordering"
1376 | },
1377 | new Choice {
1378 | Order = 2,
1379 | Description = "Ordering, unicasting, mixing"
1380 | },
1381 | new Choice {
1382 | Order = 3,
1383 | Description = "Timing, multicasting, retransmission"
1384 | },
1385 | new Choice {
1386 | Order = 4,
1387 | Description = "Multicasting, unicasting, ordering"
1388 | }
1389 | },
1390 | CorrectAnswer = 1
1391 | },
1392 | // Question #80
1393 | new Question {
1394 | Title = "Q #80: TCP is used for real-time interactive multimedia",
1395 | Choices = new List < Choice > {
1396 | new Choice {
1397 | Order = 1,
1398 | Description = "True"
1399 | },
1400 | new Choice {
1401 | Order = 2,
1402 | Description = "False"
1403 | }
1404 | },
1405 | CorrectAnswer = 1
1406 | },
1407 | // Question #81
1408 | new Question {
1409 | Title = "Q #81: What protocol is used for real-time interactive multimedia",
1410 | Choices = new List < Choice > {
1411 | new Choice {
1412 | Order = 1,
1413 | Description = "RTP"
1414 | },
1415 | new Choice {
1416 | Order = 2,
1417 | Description = "UDP"
1418 | },
1419 | new Choice {
1420 | Order = 3,
1421 | Description = "TCP"
1422 | },
1423 | new Choice {
1424 | Order = 4,
1425 | Description = "RTP and UDP"
1426 | }
1427 | },
1428 | CorrectAnswer = 1
1429 | },
1430 | // Question #82
1431 | new Question {
1432 | Title = "Q #82: RTP does not have a delivery mechanism",
1433 | Choices = new List < Choice > {
1434 | new Choice {
1435 | Order = 1,
1436 | Description = "True"
1437 | },
1438 | new Choice {
1439 | Order = 2,
1440 | Description = "False"
1441 | }
1442 | },
1443 | CorrectAnswer = 1
1444 | },
1445 | // Question #83
1446 | new Question {
1447 | Title = "Q #83: RTP runs beneath UDP",
1448 | Choices = new List < Choice > {
1449 | new Choice {
1450 | Order = 1,
1451 | Description = "True"
1452 | },
1453 | new Choice {
1454 | Order = 2,
1455 | Description = "False"
1456 | }
1457 | },
1458 | CorrectAnswer = 1
1459 | },
1460 | // Question #84
1461 | new Question {
1462 | Title = "Q #84: RTP packet headers can have a maximum of 31 contributors because the 5-bit field allows the numbers 0-31",
1463 | Choices = new List < Choice > {
1464 | new Choice {
1465 | Order = 1,
1466 | Description = "True"
1467 | },
1468 | new Choice {
1469 | Order = 2,
1470 | Description = "False"
1471 | }
1472 | },
1473 | CorrectAnswer = 1
1474 | },
1475 | // Question #85
1476 | new Question {
1477 | Title = "Q #85: The sender of a audio/video stream can change the encoding on the fly",
1478 | Choices = new List < Choice > {
1479 | new Choice {
1480 | Order = 1,
1481 | Description = "True"
1482 | },
1483 | new Choice {
1484 | Order = 2,
1485 | Description = "False"
1486 | }
1487 | },
1488 | CorrectAnswer = 1
1489 | },
1490 | // Question #86
1491 | new Question {
1492 | Title = "Q #86: The initial sequence number of an RTP packet is 0, and is then incremented by 1 for each subsequent packet",
1493 | Choices = new List < Choice > {
1494 | new Choice {
1495 | Order = 1,
1496 | Description = "True"
1497 | },
1498 | new Choice {
1499 | Order = 2,
1500 | Description = "False"
1501 | }
1502 | },
1503 | CorrectAnswer = 1
1504 | },
1505 | // Question #87
1506 | new Question {
1507 | Title = "Q #87: RTP packets add a SSRC field, which",
1508 | Choices = new List < Choice > {
1509 | new Choice {
1510 | Order = 1,
1511 | Description = "Defines the source(s)"
1512 | },
1513 | new Choice {
1514 | Order = 2,
1515 | Description = "Defines the receiver(s)"
1516 | },
1517 | new Choice {
1518 | Order = 3,
1519 | Description = "Defines the packet quality"
1520 | },
1521 | new Choice {
1522 | Order = 4,
1523 | Description = "Defines the packet quantity"
1524 | }
1525 | },
1526 | CorrectAnswer = 1
1527 | },
1528 | // Question #88
1529 | new Question {
1530 | Title = "Q #88: RTCP works in conjunction with",
1531 | Choices = new List < Choice > {
1532 | new Choice {
1533 | Order = 1,
1534 | Description = "RTP"
1535 | },
1536 | new Choice {
1537 | Order = 2,
1538 | Description = "UDP"
1539 | },
1540 | new Choice {
1541 | Order = 3,
1542 | Description = "TCP"
1543 | },
1544 | new Choice {
1545 | Order = 4,
1546 | Description = "RTSP"
1547 | }
1548 | },
1549 | CorrectAnswer = 1
1550 | },
1551 | // Question #89
1552 | new Question {
1553 | Title = "Q #89: RTCP is used when",
1554 | Choices = new List < Choice > {
1555 | new Choice {
1556 | Order = 1,
1557 | Description = "The networking application multicasts audio/video to multiple receivers from one or more senders"
1558 | },
1559 | new Choice {
1560 | Order = 2,
1561 | Description = "The sender wants the receiver to have control the playback of the audio/video"
1562 | },
1563 | new Choice {
1564 | Order = 3,
1565 | Description = "The application controls who the audio/video is sent to"
1566 | },
1567 | new Choice {
1568 | Order = 4,
1569 | Description = "The network congestion prevents users from playing the streamed multimedia without buffering"
1570 | }
1571 | },
1572 | CorrectAnswer = 1
1573 | },
1574 | // Question #90
1575 | new Question {
1576 | Title = "Q #90: RTP and RTSP packets are distinguished from each other through the use of distinct port numbers",
1577 | Choices = new List < Choice > {
1578 | new Choice {
1579 | Order = 1,
1580 | Description = "True"
1581 | },
1582 | new Choice {
1583 | Order = 2,
1584 | Description = "False"
1585 | }
1586 | },
1587 | CorrectAnswer = 1
1588 | },
1589 | // Question #91
1590 | new Question {
1591 | Title = "Q #91: RTP and RTCP packets are distinguished from each other through the use of distinct port numbers",
1592 | Choices = new List < Choice > {
1593 | new Choice {
1594 | Order = 1,
1595 | Description = "True"
1596 | },
1597 | new Choice {
1598 | Order = 2,
1599 | Description = "False"
1600 | }
1601 | },
1602 | CorrectAnswer = 1
1603 | },
1604 | // Question #92
1605 | new Question {
1606 | Title = "Q #92: RTCP packets encapsulate chunks of audio or video",
1607 | Choices = new List < Choice > {
1608 | new Choice {
1609 | Order = 1,
1610 | Description = "True"
1611 | },
1612 | new Choice {
1613 | Order = 2,
1614 | Description = "False"
1615 | }
1616 | },
1617 | CorrectAnswer = 1
1618 | },
1619 | // Question #93
1620 | new Question {
1621 | Title = "Q #93: RTCP packets contain sender and/or receiver reports",
1622 | Choices = new List < Choice > {
1623 | new Choice {
1624 | Order = 1,
1625 | Description = "True"
1626 | },
1627 | new Choice {
1628 | Order = 2,
1629 | Description = "False"
1630 | }
1631 | },
1632 | CorrectAnswer = 1
1633 | },
1634 | // Question #94
1635 | new Question {
1636 | Title = "Q #94: RTCP __________________ are sent periodically by the active senders in a conference to report transmission and reception statistics for all RTP packets sent during the interval",
1637 | Choices = new List < Choice > {
1638 | new Choice {
1639 | Order = 1,
1640 | Description = "Sender report packets"
1641 | },
1642 | new Choice {
1643 | Order = 2,
1644 | Description = "Receiver reception packets"
1645 | },
1646 | new Choice {
1647 | Order = 3,
1648 | Description = "Source description packets"
1649 | },
1650 | new Choice {
1651 | Order = 4,
1652 | Description = "Bye messages"
1653 | }
1654 | },
1655 | CorrectAnswer = 1
1656 | },
1657 | // Question #95
1658 | new Question {
1659 | Title = "Q #95: RTCP __________________ are for passive participants, those that do not send RTP packets. The report informs the sender and other receivers about the quality of service.",
1660 | Choices = new List < Choice > {
1661 | new Choice {
1662 | Order = 1,
1663 | Description = "Sender report packets"
1664 | },
1665 | new Choice {
1666 | Order = 2,
1667 | Description = "Receiver reception packets"
1668 | },
1669 | new Choice {
1670 | Order = 3,
1671 | Description = "Source description packets"
1672 | },
1673 | new Choice {
1674 | Order = 4,
1675 | Description = "Bye messages"
1676 | }
1677 | },
1678 | CorrectAnswer = 1
1679 | },
1680 | // Question #96
1681 | new Question {
1682 | Title = "Q #96: RTCP __________________ can include the email address of the sender, the sender's name, and the application that generates the RTP stream",
1683 | Choices = new List < Choice > {
1684 | new Choice {
1685 | Order = 1,
1686 | Description = "Sender report packets"
1687 | },
1688 | new Choice {
1689 | Order = 2,
1690 | Description = "Receiver reception packets"
1691 | },
1692 | new Choice {
1693 | Order = 3,
1694 | Description = "Source description packets"
1695 | },
1696 | new Choice {
1697 | Order = 4,
1698 | Description = "Bye messages"
1699 | }
1700 | },
1701 | CorrectAnswer = 1
1702 | },
1703 | // Question #97
1704 | new Question {
1705 | Title = "Q #97: RTCP __________________ are for an application that wants to use new applications not defined in the standard. It allows the definition of a new message type.",
1706 | Choices = new List < Choice > {
1707 | new Choice {
1708 | Order = 1,
1709 | Description = "Sender report packets"
1710 | },
1711 | new Choice {
1712 | Order = 2,
1713 | Description = "Receiver reception packets"
1714 | },
1715 | new Choice {
1716 | Order = 3,
1717 | Description = "Source description packets"
1718 | },
1719 | new Choice {
1720 | Order = 4,
1721 | Description = "Bye messages"
1722 | }
1723 | },
1724 | CorrectAnswer = 1
1725 | },
1726 | // Question #98
1727 | new Question {
1728 | Title = "Q #98: RTCP __________________ are messages that shut down a stream",
1729 | Choices = new List < Choice > {
1730 | new Choice {
1731 | Order = 1,
1732 | Description = "Sender report packets"
1733 | },
1734 | new Choice {
1735 | Order = 2,
1736 | Description = "Receiver reception packets"
1737 | },
1738 | new Choice {
1739 | Order = 3,
1740 | Description = "Source description packets"
1741 | },
1742 | new Choice {
1743 | Order = 4,
1744 | Description = "Bye messages"
1745 | }
1746 | },
1747 | CorrectAnswer = 1
1748 | },
1749 | // Question #99
1750 | new Question {
1751 | Title = "Q #99: RTP port numbers must be",
1752 | Choices = new List < Choice > {
1753 | new Choice {
1754 | Order = 1,
1755 | Description = "An even number"
1756 | },
1757 | new Choice {
1758 | Order = 2,
1759 | Description = "An odd number"
1760 | },
1761 | new Choice {
1762 | Order = 3,
1763 | Description = "A prime number"
1764 | }
1765 | },
1766 | CorrectAnswer = 1
1767 | },
1768 | // Question #100
1769 | new Question {
1770 | Title = "Q #100: RTCP port numbers must be",
1771 | Choices = new List < Choice > {
1772 | new Choice {
1773 | Order = 1,
1774 | Description = "An even number"
1775 | },
1776 | new Choice {
1777 | Order = 2,
1778 | Description = "An odd number"
1779 | },
1780 | new Choice {
1781 | Order = 3,
1782 | Description = "A prime number"
1783 | }
1784 | },
1785 | CorrectAnswer = 1
1786 | },
1787 | // Question #101
1788 | new Question {
1789 | Title = "Q #101: RTP port numbers must immediately follow a RTCP port number",
1790 | Choices = new List < Choice > {
1791 | new Choice {
1792 | Order = 1,
1793 | Description = "True"
1794 | },
1795 | new Choice {
1796 | Order = 2,
1797 | Description = "False"
1798 | }
1799 | },
1800 | CorrectAnswer = 1
1801 | },
1802 | // Question #102
1803 | new Question {
1804 | Title = "Q #102: VoIP allows communication between two parties over a ___________ network",
1805 | Choices = new List < Choice > {
1806 | new Choice {
1807 | Order = 1,
1808 | Description = "Packet-switched"
1809 | },
1810 | new Choice {
1811 | Order = 2,
1812 | Description = "Circuit-switched"
1813 | }
1814 | },
1815 | CorrectAnswer = 1
1816 | },
1817 | // Question #103
1818 | new Question {
1819 | Title = "Q #103: What is session initiation protocol (SIP)?",
1820 | Choices = new List < Choice > {
1821 | new Choice {
1822 | Order = 1,
1823 | Description = "It is a standard that allows telephones on the public telephone network to talk to computers connected to the internet"
1824 | },
1825 | new Choice {
1826 | Order = 2,
1827 | Description = "It is an application layer protocol that establishes, manages, and terminates a multimedia session (call)"
1828 | },
1829 | new Choice {
1830 | Order = 3,
1831 | Description = "It is a method for implementing virtual private networks"
1832 | },
1833 | new Choice {
1834 | Order = 4,
1835 | Description = "It lets a server and client have multiple conversations over a single TCP connection"
1836 | }
1837 | },
1838 | CorrectAnswer = 1
1839 | },
1840 | // Question #104
1841 | new Question {
1842 | Title = "Q #104: SIP is a text-based protocol",
1843 | Choices = new List < Choice > {
1844 | new Choice {
1845 | Order = 1,
1846 | Description = "True"
1847 | },
1848 | new Choice {
1849 | Order = 2,
1850 | Description = "False"
1851 | }
1852 | },
1853 | CorrectAnswer = 1
1854 | },
1855 | // Question #105
1856 | new Question {
1857 | Title = "Q #105: SIP defines the following messages",
1858 | Choices = new List < Choice > {
1859 | new Choice {
1860 | Order = 1,
1861 | Description = "INVITE, ACK, BYE, OPTIONS, CANCEL, REGISTER"
1862 | },
1863 | new Choice {
1864 | Order = 2,
1865 | Description = "PING, RECEIVE, END, MESSAGE, CREATE, BYE"
1866 | },
1867 | new Choice {
1868 | Order = 3,
1869 | Description = "CREATE, RESTORE, ACK, RECEIVE, CANCEL, INVITE"
1870 | },
1871 | new Choice {
1872 | Order = 4,
1873 | Description = "HELO, ACK, WAIT, OPTIONS, BYE, CANCEL, LOGIN"
1874 | }
1875 | },
1876 | CorrectAnswer = 1
1877 | },
1878 | // Question #106
1879 | new Question {
1880 | Title = "Q #106: Which of the following is a valid SIP address?",
1881 | Choices = new List < Choice > {
1882 | new Choice {
1883 | Order = 1,
1884 | Description = "Sip:tom@201.23.45.78"
1885 | },
1886 | new Choice {
1887 | Order = 2,
1888 | Description = "Sip@tom:fhda.edu"
1889 | },
1890 | new Choice {
1891 | Order = 3,
1892 | Description = "201.23.45.78@sip:tom"
1893 | },
1894 | new Choice {
1895 | Order = 4,
1896 | Description = "Fhda.edu:sip@tom"
1897 | }
1898 | },
1899 | CorrectAnswer = 1
1900 | },
1901 | // Question #107
1902 | new Question {
1903 | Title = "Q #107: Establishing a session in SIP requires a",
1904 | Choices = new List < Choice > {
1905 | new Choice {
1906 | Order = 1,
1907 | Description = "2 way handshake"
1908 | },
1909 | new Choice {
1910 | Order = 2,
1911 | Description = "3 way handshake"
1912 | },
1913 | new Choice {
1914 | Order = 3,
1915 | Description = "4 way handshake"
1916 | },
1917 | new Choice {
1918 | Order = 4,
1919 | Description = "5 way handshake"
1920 | }
1921 | },
1922 | CorrectAnswer = 1
1923 | },
1924 | // Question #108
1925 | new Question {
1926 | Title = "Q #108: A SIP session is terminated with the CANCEL message sent by either party",
1927 | Choices = new List < Choice > {
1928 | new Choice {
1929 | Order = 1,
1930 | Description = "True"
1931 | },
1932 | new Choice {
1933 | Order = 2,
1934 | Description = "False"
1935 | }
1936 | },
1937 | CorrectAnswer = 1
1938 | },
1939 | // Question #109
1940 | new Question {
1941 | Title = "Q #109: What is H.323?",
1942 | Choices = new List < Choice > {
1943 | new Choice {
1944 | Order = 1,
1945 | Description = "It is a standard that allows telephones on the public telephone network to talk to computers connected to the internet"
1946 | },
1947 | new Choice {
1948 | Order = 2,
1949 | Description = "It is an application layer protocol that establishes, manages, and terminates a multimedia session (call)."
1950 | },
1951 | new Choice {
1952 | Order = 3,
1953 | Description = "It defines a set of quality-of-service enhancements for wireless LAN applications through modifications to the Media Access Control (MAC) layer"
1954 | },
1955 | new Choice {
1956 | Order = 4,
1957 | Description = "It is designed to compensate for the differences between traditional packet-less communications over analog lines and packet-based transmissions which are the basis for IP communications"
1958 | }
1959 | },
1960 | CorrectAnswer = 1
1961 | },
1962 | // Question #110
1963 | new Question {
1964 | Title = "Q #110: What is a gateway?",
1965 | Choices = new List < Choice > {
1966 | new Choice {
1967 | Order = 1,
1968 | Description = "It connects the Internet to the telephone network"
1969 | },
1970 | new Choice {
1971 | Order = 2,
1972 | Description = "It is a running instance of an application capable of accepting requests from the client and giving responses accordingly"
1973 | },
1974 | new Choice {
1975 | Order = 3,
1976 | Description = "It is an endpoint of an inter-process communication flow across a computer network"
1977 | }
1978 | },
1979 | CorrectAnswer = 1
1980 | },
1981 | // Question #111
1982 | new Question {
1983 | Title = "Q #111: Which of the following are characteristic types attributed to flow",
1984 | Choices = new List < Choice > {
1985 | new Choice {
1986 | Order = 1,
1987 | Description = "Reliability"
1988 | },
1989 | new Choice {
1990 | Order = 2,
1991 | Description = "Delay"
1992 | },
1993 | new Choice {
1994 | Order = 3,
1995 | Description = "Jitter"
1996 | },
1997 | new Choice {
1998 | Order = 4,
1999 | Description = "Bandwidth"
2000 | }
2001 | },
2002 | CorrectAnswer = 1
2003 | },
2004 | // Question #112
2005 | new Question {
2006 | Title = "Q #112: Network loss happens when the packet arrives too late for playback at the receiver",
2007 | Choices = new List < Choice > {
2008 | new Choice {
2009 | Order = 1,
2010 | Description = "True"
2011 | },
2012 | new Choice {
2013 | Order = 2,
2014 | Description = "False"
2015 | }
2016 | },
2017 | CorrectAnswer = 1
2018 | },
2019 | // Question #113
2020 | new Question {
2021 | Title = "Q #113: End-to-End Delay loss happens when the packet arrives too late for playback at the receiver",
2022 | Choices = new List < Choice > {
2023 | new Choice {
2024 | Order = 1,
2025 | Description = "True"
2026 | },
2027 | new Choice {
2028 | Order = 2,
2029 | Description = "False"
2030 | }
2031 | },
2032 | CorrectAnswer = 1
2033 | },
2034 | // Question #114
2035 | new Question {
2036 | Title = "Q #114: Multimedia networking applications are typically highly sensitive to delay",
2037 | Choices = new List < Choice > {
2038 | new Choice {
2039 | Order = 1,
2040 | Description = "True"
2041 | },
2042 | new Choice {
2043 | Order = 2,
2044 | Description = "False"
2045 | }
2046 | },
2047 | CorrectAnswer = 1
2048 | },
2049 | // Question #115
2050 | new Question {
2051 | Title = "Q #115: _____________ is/are needed for routers to distingush between different classes",
2052 | Choices = new List < Choice > {
2053 | new Choice {
2054 | Order = 1,
2055 | Description = "Packet marking"
2056 | },
2057 | new Choice {
2058 | Order = 2,
2059 | Description = "Timestamps"
2060 | },
2061 | new Choice {
2062 | Order = 3,
2063 | Description = "Network marking"
2064 | },
2065 | new Choice {
2066 | Order = 4,
2067 | Description = "Packet naming"
2068 | }
2069 | },
2070 | CorrectAnswer = 1
2071 | },
2072 | // Question #116
2073 | new Question {
2074 | Title = "Q #116: _____________ is a technique used for controlling errors in data transmission over unreliable or noisy communication channels",
2075 | Choices = new List < Choice > {
2076 | new Choice {
2077 | Order = 1,
2078 | Description = "Interleaving"
2079 | },
2080 | new Choice {
2081 | Order = 2,
2082 | Description = "Forward-error correction"
2083 | },
2084 | new Choice {
2085 | Order = 3,
2086 | Description = "Network smoothing"
2087 | },
2088 | new Choice {
2089 | Order = 4,
2090 | Description = "Packet rescue"
2091 | }
2092 | },
2093 | CorrectAnswer = 1
2094 | },
2095 | // Question #117
2096 | new Question {
2097 | Title = "Q #117: A tradeoff with interleaving is that when we increase the value of n, there is less bandwidth waste and a higher probability that 2 or more chunks will be lost",
2098 | Choices = new List < Choice > {
2099 | new Choice {
2100 | Order = 1,
2101 | Description = "True"
2102 | },
2103 | new Choice {
2104 | Order = 2,
2105 | Description = "False"
2106 | }
2107 | },
2108 | CorrectAnswer = 1
2109 | },
2110 | // Question #118
2111 | new Question {
2112 | Title = "Q #118: One technique for forward-error correction is for every group of N chunks create redundant chunk by exclusive ORing N original chunks",
2113 | Choices = new List < Choice > {
2114 | new Choice {
2115 | Order = 1,
2116 | Description = "True"
2117 | },
2118 | new Choice {
2119 | Order = 2,
2120 | Description = "False"
2121 | }
2122 | },
2123 | CorrectAnswer = 1
2124 | },
2125 | // Question #119
2126 | new Question {
2127 | Title = "Q #119: Interleaving is a technique where the idea is to send a lower quality audio stream as the redundant information with the nominal stream",
2128 | Choices = new List < Choice > {
2129 | new Choice {
2130 | Order = 1,
2131 | Description = "True"
2132 | },
2133 | new Choice {
2134 | Order = 2,
2135 | Description = "False"
2136 | }
2137 | },
2138 | CorrectAnswer = 1
2139 | },
2140 | // Question #120
2141 | new Question {
2142 | Title = "Q #120: Interleaving is a technique where the sender re-sequences units of audio data before transmission, so that originally adjacent units are separated by a certain distance in the transmitted stream",
2143 | Choices = new List < Choice > {
2144 | new Choice {
2145 | Order = 1,
2146 | Description = "True"
2147 | },
2148 | new Choice {
2149 | Order = 2,
2150 | Description = "False"
2151 | }
2152 | },
2153 | CorrectAnswer = 1
2154 | },
2155 | // Question #121
2156 | new Question {
2157 | Title = "Q #121: An advantage for interleaving is that it decreases latency",
2158 | Choices = new List < Choice > {
2159 | new Choice {
2160 | Order = 1,
2161 | Description = "True"
2162 | },
2163 | new Choice {
2164 | Order = 2,
2165 | Description = "False"
2166 | }
2167 | },
2168 | CorrectAnswer = 1
2169 | },
2170 | // Question #122
2171 | new Question {
2172 | Title = "Q #122: ______________ is where packets wait in a buffer (queue) until the node (router or switch) is ready to process them.",
2173 | Choices = new List < Choice > {
2174 | new Choice {
2175 | Order = 1,
2176 | Description = "FIFO queuing"
2177 | },
2178 | new Choice {
2179 | Order = 2,
2180 | Description = "Priority queuing"
2181 | },
2182 | new Choice {
2183 | Order = 3,
2184 | Description = "Weighted fair queuing"
2185 | }
2186 | },
2187 | CorrectAnswer = 1
2188 | },
2189 | // Question #123
2190 | new Question {
2191 | Title = "Q #123: ______________ is where packets are first assigned to a priority class. Each priority class has its own queue. The packets in the highest-priority queue are processed first. Packets in the lowest-priority queue are processed last",
2192 | Choices = new List < Choice > {
2193 | new Choice {
2194 | Order = 1,
2195 | Description = "FIFO queuing"
2196 | },
2197 | new Choice {
2198 | Order = 2,
2199 | Description = "Priority queuing"
2200 | },
2201 | new Choice {
2202 | Order = 3,
2203 | Description = "Weighted fair queuing"
2204 | }
2205 | },
2206 | CorrectAnswer = 1
2207 | },
2208 | // Question #124
2209 | new Question {
2210 | Title = "Q #124: ______________ is where packets are assigned to different classes and admitted to different queues. The system processes packets in each queue in a round-robin fashion with the number of packets selected from each queue based on the corresponding weight.",
2211 | Choices = new List < Choice > {
2212 | new Choice {
2213 | Order = 1,
2214 | Description = "FIFO queuing"
2215 | },
2216 | new Choice {
2217 | Order = 2,
2218 | Description = "Priority queuing"
2219 | },
2220 | new Choice {
2221 | Order = 3,
2222 | Description = "Weighted fair queuing"
2223 | }
2224 | },
2225 | CorrectAnswer = 1
2226 | },
2227 | // Question #125
2228 | new Question {
2229 | Title = "Q #125: With priority queuing, the system does not stop serving a queue until it is empty",
2230 | Choices = new List < Choice > {
2231 | new Choice {
2232 | Order = 1,
2233 | Description = "True"
2234 | },
2235 | new Choice {
2236 | Order = 2,
2237 | Description = "False"
2238 | }
2239 | },
2240 | CorrectAnswer = 1
2241 | },
2242 | // Question #126
2243 | new Question {
2244 | Title = "Q #126: What is traffic shaping?",
2245 | Choices = new List < Choice > {
2246 | new Choice {
2247 | Order = 1,
2248 | Description = "A mechanism to control the amount and the rate of the traffic sent to the network"
2249 | },
2250 | new Choice {
2251 | Order = 2,
2252 | Description = "A way for the system to reduce the packet flow by preventing packets from entering specified subnets"
2253 | },
2254 | new Choice {
2255 | Order = 3,
2256 | Description = "A feature where a network creates fake packets to fill router buffers to prevent new packets from arriving"
2257 | },
2258 | new Choice {
2259 | Order = 4,
2260 | Description = "A mechanism where packets are scheduled to flow through a network at specified times"
2261 | }
2262 | },
2263 | CorrectAnswer = 1
2264 | },
2265 | // Question #127
2266 | new Question {
2267 | Title = "Q #127: What is a \"leaky bucket\"",
2268 | Choices = new List < Choice > {
2269 | new Choice {
2270 | Order = 1,
2271 | Description = "It shapes bursty traffic into fixed-rate traffic by averaging the data rate"
2272 | },
2273 | new Choice {
2274 | Order = 2,
2275 | Description = "A mechanism that slowly eliminates packets from the network that have been looping continuously between routers"
2276 | },
2277 | new Choice {
2278 | Order = 3,
2279 | Description = "A tool for a web server to allow only 1 client at a time to download a audio/video file"
2280 | },
2281 | new Choice {
2282 | Order = 4,
2283 | Description = "A method where a packet is split up into individual bits, and sent across a network 1 bit at a time"
2284 | }
2285 | },
2286 | CorrectAnswer = 1
2287 | },
2288 | // Question #128
2289 | new Question {
2290 | Title = "Q #128: A leaky bucket may drop the packets if the bucket is full.",
2291 | Choices = new List < Choice > {
2292 | new Choice {
2293 | Order = 1,
2294 | Description = "True"
2295 | },
2296 | new Choice {
2297 | Order = 2,
2298 | Description = "False"
2299 | }
2300 | },
2301 | CorrectAnswer = 1
2302 | },
2303 | // Question #129
2304 | new Question {
2305 | Title = "Q #129: The token bucket algorithm allows idle hosts to accumulate credit for the future in the form of tokens",
2306 | Choices = new List < Choice > {
2307 | new Choice {
2308 | Order = 1,
2309 | Description = "True"
2310 | },
2311 | new Choice {
2312 | Order = 2,
2313 | Description = "False"
2314 | }
2315 | },
2316 | CorrectAnswer = 1
2317 | },
2318 | // Question #130
2319 | new Question {
2320 | Title = "Q #130: The ____________ allows bursty traffic at a regulated maximum rate",
2321 | Choices = new List < Choice > {
2322 | new Choice {
2323 | Order = 1,
2324 | Description = "Token bucket"
2325 | },
2326 | new Choice {
2327 | Order = 2,
2328 | Description = "Leaky bucket"
2329 | },
2330 | new Choice {
2331 | Order = 3,
2332 | Description = "Half bucket"
2333 | },
2334 | new Choice {
2335 | Order = 4,
2336 | Description = "Maximum bucket"
2337 | }
2338 | },
2339 | CorrectAnswer = 1
2340 | },
2341 | // Question #131
2342 | new Question {
2343 | Title = "Q #131: What is a computer that can act as both a server and/or client?",
2344 | Choices = new List < Choice > {
2345 | new Choice {
2346 | Order = 1,
2347 | Description = "Peer"
2348 | },
2349 | new Choice {
2350 | Order = 2,
2351 | Description = "Router"
2352 | },
2353 | new Choice {
2354 | Order = 3,
2355 | Description = "Seeder"
2356 | },
2357 | new Choice {
2358 | Order = 4,
2359 | Description = "Dedicated server"
2360 | }
2361 | },
2362 | CorrectAnswer = 1
2363 | },
2364 | // Question #132
2365 | new Question {
2366 | Title = "Q #132: A P2P system should consist of at least two or more peers",
2367 | Choices = new List < Choice > {
2368 | new Choice {
2369 | Order = 1,
2370 | Description = "True"
2371 | },
2372 | new Choice {
2373 | Order = 2,
2374 | Description = "False"
2375 | }
2376 | },
2377 | CorrectAnswer = 1
2378 | },
2379 | // Question #133
2380 | new Question {
2381 | Title = "Q #133: Peers should be able to exchange resources directly between themselves",
2382 | Choices = new List < Choice > {
2383 | new Choice {
2384 | Order = 1,
2385 | Description = "True"
2386 | },
2387 | new Choice {
2388 | Order = 2,
2389 | Description = "False"
2390 | }
2391 | },
2392 | CorrectAnswer = 1
2393 | },
2394 | // Question #134
2395 | new Question {
2396 | Title = "Q #134: P2P systems cannot utilize dedicated servers",
2397 | Choices = new List < Choice > {
2398 | new Choice {
2399 | Order = 1,
2400 | Description = "True"
2401 | },
2402 | new Choice {
2403 | Order = 2,
2404 | Description = "False"
2405 | }
2406 | },
2407 | CorrectAnswer = 1
2408 | },
2409 | // Question #135
2410 | new Question {
2411 | Title = "Q #135: A \"pure\" P2P system is",
2412 | Choices = new List < Choice > {
2413 | new Choice {
2414 | Order = 1,
2415 | Description = "A P2P system without dedicated servers"
2416 | },
2417 | new Choice {
2418 | Order = 2,
2419 | Description = "A P2P system that prevents leechers from using too much bandwidth"
2420 | },
2421 | new Choice {
2422 | Order = 3,
2423 | Description = "A P2P system with dedicated servers"
2424 | },
2425 | new Choice {
2426 | Order = 4,
2427 | Description = "A P2P system that uses a dedicated web server, along with a media server to stream audio/video"
2428 | }
2429 | },
2430 | CorrectAnswer = 1
2431 | },
2432 | // Question #136
2433 | new Question {
2434 | Title = "Q #136: Which of the following is not a benefit of P2P systems?",
2435 | Choices = new List < Choice > {
2436 | new Choice {
2437 | Order = 1,
2438 | Description = "Workload is spread to all peers"
2439 | },
2440 | new Choice {
2441 | Order = 2,
2442 | Description = "Maximize system utilization"
2443 | },
2444 | new Choice {
2445 | Order = 3,
2446 | Description = "No central point of failure"
2447 | },
2448 | new Choice {
2449 | Order = 4,
2450 | Description = "Scalability"
2451 | }
2452 | },
2453 | CorrectAnswer = 1
2454 | },
2455 | // Question #137
2456 | new Question {
2457 | Title = "Q #137: It is easier to enforce standards in P2P systems compared to client-server systems",
2458 | Choices = new List < Choice > {
2459 | new Choice {
2460 | Order = 1,
2461 | Description = "True"
2462 | },
2463 | new Choice {
2464 | Order = 2,
2465 | Description = "False"
2466 | }
2467 | },
2468 | CorrectAnswer = 1
2469 | },
2470 | // Question #138
2471 | new Question {
2472 | Title = "Q #138: Which of the following is not a P2P topology?",
2473 | Choices = new List < Choice > {
2474 | new Choice {
2475 | Order = 1,
2476 | Description = "Centralized"
2477 | },
2478 | new Choice {
2479 | Order = 2,
2480 | Description = "Ring"
2481 | },
2482 | new Choice {
2483 | Order = 3,
2484 | Description = "Hierarchical"
2485 | },
2486 | new Choice {
2487 | Order = 4,
2488 | Description = "Decentralized"
2489 | }
2490 | },
2491 | CorrectAnswer = 1
2492 | },
2493 | // Question #139
2494 | new Question {
2495 | Title = "Q #139: Which of the following is the most popular P2P topology?",
2496 | Choices = new List < Choice > {
2497 | new Choice {
2498 | Order = 1,
2499 | Description = "Centralized"
2500 | },
2501 | new Choice {
2502 | Order = 2,
2503 | Description = "Ring"
2504 | },
2505 | new Choice {
2506 | Order = 3,
2507 | Description = "Hierarchical"
2508 | },
2509 | new Choice {
2510 | Order = 4,
2511 | Description = "Decentralized"
2512 | }
2513 | },
2514 | CorrectAnswer = 1
2515 | },
2516 | // Question #140
2517 | new Question {
2518 | Title = "Q #140: Which P2P topology has a one centralized server with many connected clients?",
2519 | Choices = new List < Choice > {
2520 | new Choice {
2521 | Order = 1,
2522 | Description = "Centralized"
2523 | },
2524 | new Choice {
2525 | Order = 2,
2526 | Description = "Ring"
2527 | },
2528 | new Choice {
2529 | Order = 3,
2530 | Description = "Hierarchical"
2531 | },
2532 | new Choice {
2533 | Order = 4,
2534 | Description = "Decentralized"
2535 | }
2536 | },
2537 | CorrectAnswer = 1
2538 | },
2539 | // Question #141
2540 | new Question {
2541 | Title = "Q #141: A single centralized server is usually able to handle high clients load",
2542 | Choices = new List < Choice > {
2543 | new Choice {
2544 | Order = 1,
2545 | Description = "True"
2546 | },
2547 | new Choice {
2548 | Order = 2,
2549 | Description = "False"
2550 | }
2551 | },
2552 | CorrectAnswer = 1
2553 | },
2554 | // Question #142
2555 | new Question {
2556 | Title = "Q #142: Which P2P topology uses a cluster of machines arranged in a ring to act as distributed servers?",
2557 | Choices = new List < Choice > {
2558 | new Choice {
2559 | Order = 1,
2560 | Description = "Centralized"
2561 | },
2562 | new Choice {
2563 | Order = 2,
2564 | Description = "Ring"
2565 | },
2566 | new Choice {
2567 | Order = 3,
2568 | Description = "Hierarchical"
2569 | },
2570 | new Choice {
2571 | Order = 4,
2572 | Description = "Decentralized"
2573 | }
2574 | },
2575 | CorrectAnswer = 1
2576 | },
2577 | // Question #143
2578 | new Question {
2579 | Title = "Q #143: Ring systems are generally built on the assumption that the machines are all nearby on the network",
2580 | Choices = new List < Choice > {
2581 | new Choice {
2582 | Order = 1,
2583 | Description = "True"
2584 | },
2585 | new Choice {
2586 | Order = 2,
2587 | Description = "False"
2588 | }
2589 | },
2590 | CorrectAnswer = 1
2591 | },
2592 | // Question #144
2593 | new Question {
2594 | Title = "Q #144: Which P2P topology has a similar structure to the Domain Name Service (DNS)?",
2595 | Choices = new List < Choice > {
2596 | new Choice {
2597 | Order = 1,
2598 | Description = "Centralized"
2599 | },
2600 | new Choice {
2601 | Order = 2,
2602 | Description = "Ring"
2603 | },
2604 | new Choice {
2605 | Order = 3,
2606 | Description = "Hierarchical"
2607 | },
2608 | new Choice {
2609 | Order = 4,
2610 | Description = "Decentralized"
2611 | }
2612 | },
2613 | CorrectAnswer = 1
2614 | },
2615 | // Question #145
2616 | new Question {
2617 | Title = "Q #145: Which P2P topology has a similar structure to the Network Time Protocol (NTP)?",
2618 | Choices = new List < Choice > {
2619 | new Choice {
2620 | Order = 1,
2621 | Description = "Centralized"
2622 | },
2623 | new Choice {
2624 | Order = 2,
2625 | Description = "Ring"
2626 | },
2627 | new Choice {
2628 | Order = 3,
2629 | Description = "Hierarchical"
2630 | },
2631 | new Choice {
2632 | Order = 4,
2633 | Description = "Decentralized"
2634 | }
2635 | },
2636 | CorrectAnswer = 1
2637 | },
2638 | // Question #146
2639 | new Question {
2640 | Title = "Q #146: Which P2P topology allows all peers to communicate symmetrically, and have equal roles?",
2641 | Choices = new List < Choice > {
2642 | new Choice {
2643 | Order = 1,
2644 | Description = "Centralized"
2645 | },
2646 | new Choice {
2647 | Order = 2,
2648 | Description = "Ring"
2649 | },
2650 | new Choice {
2651 | Order = 3,
2652 | Description = "Hierarchical"
2653 | },
2654 | new Choice {
2655 | Order = 4,
2656 | Description = "Decentralized"
2657 | }
2658 | },
2659 | CorrectAnswer = 1
2660 | },
2661 | // Question #147
2662 | new Question {
2663 | Title = "Q #147: Gnutella is an example of which P2P topology?",
2664 | Choices = new List < Choice > {
2665 | new Choice {
2666 | Order = 1,
2667 | Description = "Centralized"
2668 | },
2669 | new Choice {
2670 | Order = 2,
2671 | Description = "Ring"
2672 | },
2673 | new Choice {
2674 | Order = 3,
2675 | Description = "Hierarchical"
2676 | },
2677 | new Choice {
2678 | Order = 4,
2679 | Description = "Decentralized"
2680 | }
2681 | },
2682 | CorrectAnswer = 1
2683 | },
2684 | // Question #148
2685 | new Question {
2686 | Title = "Q #148: Which of the following is a combination of several P2P topologies into one system?",
2687 | Choices = new List < Choice > {
2688 | new Choice {
2689 | Order = 1,
2690 | Description = "Centralized"
2691 | },
2692 | new Choice {
2693 | Order = 2,
2694 | Description = "Ring"
2695 | },
2696 | new Choice {
2697 | Order = 3,
2698 | Description = "Hierarchical"
2699 | },
2700 | new Choice {
2701 | Order = 4,
2702 | Description = "Decentralized"
2703 | }
2704 | },
2705 | CorrectAnswer = 1
2706 | },
2707 | // Question #149
2708 | new Question {
2709 | Title = "Q #149: Which hybrid topology has a ring of servers acting as the main server, with many connected clients?",
2710 | Choices = new List < Choice > {
2711 | new Choice {
2712 | Order = 1,
2713 | Description = "Centralized + Ring"
2714 | },
2715 | new Choice {
2716 | Order = 2,
2717 | Description = "Centralized + Hierarchical"
2718 | },
2719 | new Choice {
2720 | Order = 3,
2721 | Description = "Decentralized + Ring"
2722 | },
2723 | new Choice {
2724 | Order = 4,
2725 | Description = "Centralized + Decentralized"
2726 | }
2727 | },
2728 | CorrectAnswer = 1
2729 | },
2730 | // Question #150
2731 | new Question {
2732 | Title = "Q #150: Which hybrid topology has a set of supernodes, each with their own set of connected peers?",
2733 | Choices = new List < Choice > {
2734 | new Choice {
2735 | Order = 1,
2736 | Description = "Centralized + Ring"
2737 | },
2738 | new Choice {
2739 | Order = 2,
2740 | Description = "Centralized + Hierarchical"
2741 | },
2742 | new Choice {
2743 | Order = 3,
2744 | Description = "Decentralized + Ring"
2745 | },
2746 | new Choice {
2747 | Order = 4,
2748 | Description = "Centralized + Decentralized"
2749 | }
2750 | },
2751 | CorrectAnswer = 1
2752 | },
2753 | // Question #151
2754 | new Question {
2755 | Title = "Q #151: Which of the following is not an attribute of a centralized P2P topology?",
2756 | Choices = new List < Choice > {
2757 | new Choice {
2758 | Order = 1,
2759 | Description = "Managable"
2760 | },
2761 | new Choice {
2762 | Order = 2,
2763 | Description = "Coherent"
2764 | },
2765 | new Choice {
2766 | Order = 3,
2767 | Description = "Secure"
2768 | },
2769 | new Choice {
2770 | Order = 4,
2771 | Description = "Extensible"
2772 | }
2773 | },
2774 | CorrectAnswer = 1
2775 | },
2776 | // Question #152
2777 | new Question {
2778 | Title = "Q #152: Which of the following is an attribute of a centralized P2P topology?",
2779 | Choices = new List < Choice > {
2780 | new Choice {
2781 | Order = 1,
2782 | Description = "Extensible"
2783 | },
2784 | new Choice {
2785 | Order = 2,
2786 | Description = "Fault Tolerant"
2787 | },
2788 | new Choice {
2789 | Order = 3,
2790 | Description = "Lawsuit-proof"
2791 | },
2792 | new Choice {
2793 | Order = 4,
2794 | Description = "Coherent"
2795 | }
2796 | },
2797 | CorrectAnswer = 1
2798 | },
2799 | // Question #153
2800 | new Question {
2801 | Title = "Q #153: Which of the following is not an attribute of a ring P2P topology?",
2802 | Choices = new List < Choice > {
2803 | new Choice {
2804 | Order = 1,
2805 | Description = "Managable"
2806 | },
2807 | new Choice {
2808 | Order = 2,
2809 | Description = "Coherent"
2810 | },
2811 | new Choice {
2812 | Order = 3,
2813 | Description = "Secure"
2814 | },
2815 | new Choice {
2816 | Order = 4,
2817 | Description = "Fault Tolerant"
2818 | }
2819 | },
2820 | CorrectAnswer = 1
2821 | },
2822 | // Question #154
2823 | new Question {
2824 | Title = "Q #154: Which of the following is an attribute of a ring P2P topology?",
2825 | Choices = new List < Choice > {
2826 | new Choice {
2827 | Order = 1,
2828 | Description = "Extensible"
2829 | },
2830 | new Choice {
2831 | Order = 2,
2832 | Description = "Fault Tolerant"
2833 | },
2834 | new Choice {
2835 | Order = 3,
2836 | Description = "Scalable"
2837 | }
2838 | },
2839 | CorrectAnswer = 1
2840 | },
2841 | // Question #155
2842 | new Question {
2843 | Title = "Q #155: Which of the following is not an attribute of a decentralized P2P topology?",
2844 | Choices = new List < Choice > {
2845 | new Choice {
2846 | Order = 1,
2847 | Description = "Extensible"
2848 | },
2849 | new Choice {
2850 | Order = 2,
2851 | Description = "Lawsuit-proof"
2852 | },
2853 | new Choice {
2854 | Order = 3,
2855 | Description = "Managable"
2856 | },
2857 | new Choice {
2858 | Order = 4,
2859 | Description = "Fault Tolerant"
2860 | }
2861 | },
2862 | CorrectAnswer = 1
2863 | },
2864 | // Question #156
2865 | new Question {
2866 | Title = "Q #156: Which of the following is an attribute of a decentralized P2P topology?",
2867 | Choices = new List < Choice > {
2868 | new Choice {
2869 | Order = 1,
2870 | Description = "Managable"
2871 | },
2872 | new Choice {
2873 | Order = 2,
2874 | Description = "Coherent"
2875 | },
2876 | new Choice {
2877 | Order = 3,
2878 | Description = "Secure"
2879 | },
2880 | new Choice {
2881 | Order = 4,
2882 | Description = "Extensible"
2883 | }
2884 | },
2885 | CorrectAnswer = 1
2886 | },
2887 | // Question #157
2888 | new Question {
2889 | Title = "Q #157: Which of the following is not an attribute of a centralized + ring hybrid P2P topology?",
2890 | Choices = new List < Choice > {
2891 | new Choice {
2892 | Order = 1,
2893 | Description = "Managable"
2894 | },
2895 | new Choice {
2896 | Order = 2,
2897 | Description = "Coherent"
2898 | },
2899 | new Choice {
2900 | Order = 3,
2901 | Description = "Secure"
2902 | },
2903 | new Choice {
2904 | Order = 4,
2905 | Description = "Fault Tolerant"
2906 | }
2907 | },
2908 | CorrectAnswer = 1
2909 | },
2910 | // Question #158
2911 | new Question {
2912 | Title = "Q #158: Which of the following is an attribute of a centralized + ring hybrid P2P topology?",
2913 | Choices = new List < Choice > {
2914 | new Choice {
2915 | Order = 1,
2916 | Description = "Extensible"
2917 | },
2918 | new Choice {
2919 | Order = 2,
2920 | Description = "Fault Tolerant"
2921 | },
2922 | new Choice {
2923 | Order = 3,
2924 | Description = "Lawsuit-proof"
2925 | }
2926 | },
2927 | CorrectAnswer = 1
2928 | },
2929 | // Question #159
2930 | new Question {
2931 | Title = "Q #159: The centralized + ring hybrid P2P topology is a common architecture for web applications",
2932 | Choices = new List < Choice > {
2933 | new Choice {
2934 | Order = 1,
2935 | Description = "True"
2936 | },
2937 | new Choice {
2938 | Order = 2,
2939 | Description = "False"
2940 | }
2941 | },
2942 | CorrectAnswer = 1
2943 | },
2944 | // Question #160
2945 | new Question {
2946 | Title = "Q #160: Which of the following is not an attribute of a centralized + decentralized hybrid P2P topology?",
2947 | Choices = new List < Choice > {
2948 | new Choice {
2949 | Order = 1,
2950 | Description = "Managable"
2951 | },
2952 | new Choice {
2953 | Order = 2,
2954 | Description = "Lawsuit-proof"
2955 | },
2956 | new Choice {
2957 | Order = 3,
2958 | Description = "Fault Tolerant"
2959 | }
2960 | },
2961 | CorrectAnswer = 1
2962 | },
2963 | // Question #161
2964 | new Question {
2965 | Title = "Q #161: Which of the following is an attribute of a centralized + decentralized hybrid P2P topology?",
2966 | Choices = new List < Choice > {
2967 | new Choice {
2968 | Order = 1,
2969 | Description = "Managable"
2970 | },
2971 | new Choice {
2972 | Order = 2,
2973 | Description = "Secure"
2974 | },
2975 | new Choice {
2976 | Order = 3,
2977 | Description = "Lawsuit-proof"
2978 | }
2979 | },
2980 | CorrectAnswer = 1
2981 | },
2982 | // Question #162
2983 | new Question {
2984 | Title = "Q #162: Which of the following is the best topology for P2P networks?",
2985 | Choices = new List < Choice > {
2986 | new Choice {
2987 | Order = 1,
2988 | Description = "Centralized"
2989 | },
2990 | new Choice {
2991 | Order = 2,
2992 | Description = "Ring"
2993 | },
2994 | new Choice {
2995 | Order = 3,
2996 | Description = "Hierarchical"
2997 | },
2998 | new Choice {
2999 | Order = 4,
3000 | Description = "Decentralized"
3001 | }
3002 | },
3003 | CorrectAnswer = 1
3004 | },
3005 | // Question #163
3006 | new Question {
3007 | Title = "Q #163: After Napster, new file-sharing P2P systems bypass the legal problems by not holding a central directory",
3008 | Choices = new List < Choice > {
3009 | new Choice {
3010 | Order = 1,
3011 | Description = "True"
3012 | },
3013 | new Choice {
3014 | Order = 2,
3015 | Description = "False"
3016 | }
3017 | },
3018 | CorrectAnswer = 1
3019 | },
3020 | // Question #164
3021 | new Question {
3022 | Title = "Q #164: Which of the following is not a Gnutella protocol message?",
3023 | Choices = new List < Choice > {
3024 | new Choice {
3025 | Order = 1,
3026 | Description = "PING"
3027 | },
3028 | new Choice {
3029 | Order = 2,
3030 | Description = "PONG"
3031 | },
3032 | new Choice {
3033 | Order = 3,
3034 | Description = "QUERY"
3035 | },
3036 | new Choice {
3037 | Order = 4,
3038 | Description = "RESPONSE"
3039 | }
3040 | },
3041 | CorrectAnswer = 1
3042 | },
3043 | // Question #165
3044 | new Question {
3045 | Title = "Q #165: Which of the following is a P2P protocol which allows peers to download a file from a group of other peers",
3046 | Choices = new List < Choice > {
3047 | new Choice {
3048 | Order = 1,
3049 | Description = "BitTorrent"
3050 | },
3051 | new Choice {
3052 | Order = 2,
3053 | Description = "Gnutella"
3054 | },
3055 | new Choice {
3056 | Order = 3,
3057 | Description = "Napster"
3058 | },
3059 | new Choice {
3060 | Order = 4,
3061 | Description = "Limewire"
3062 | }
3063 | },
3064 | CorrectAnswer = 1
3065 | },
3066 | // Question #166
3067 | new Question {
3068 | Title = "Q #166: A torrent is a set of all peers that take part in downloading a file using the BitTorrent protocol",
3069 | Choices = new List < Choice > {
3070 | new Choice {
3071 | Order = 1,
3072 | Description = "True"
3073 | },
3074 | new Choice {
3075 | Order = 2,
3076 | Description = "False"
3077 | }
3078 | },
3079 | CorrectAnswer = 1
3080 | },
3081 | // Question #167
3082 | new Question {
3083 | Title = "Q #167: The set of all peers that takes part in a torrent is refered to as a(n) _________________",
3084 | Choices = new List < Choice > {
3085 | new Choice {
3086 | Order = 1,
3087 | Description = "Swarm"
3088 | },
3089 | new Choice {
3090 | Order = 2,
3091 | Description = "Seed"
3092 | },
3093 | new Choice {
3094 | Order = 3,
3095 | Description = "Leech"
3096 | },
3097 | new Choice {
3098 | Order = 4,
3099 | Description = "Tracker"
3100 | }
3101 | },
3102 | CorrectAnswer = 1
3103 | },
3104 | // Question #168
3105 | new Question {
3106 | Title = "Q #168: A peer in a swarm that has the complete content file is called a(n) _________________",
3107 | Choices = new List < Choice > {
3108 | new Choice {
3109 | Order = 1,
3110 | Description = "Swarm"
3111 | },
3112 | new Choice {
3113 | Order = 2,
3114 | Description = "Seed"
3115 | },
3116 | new Choice {
3117 | Order = 3,
3118 | Description = "Leech"
3119 | },
3120 | new Choice {
3121 | Order = 4,
3122 | Description = "Tracker"
3123 | }
3124 | },
3125 | CorrectAnswer = 1
3126 | },
3127 | // Question #169
3128 | new Question {
3129 | Title = "Q #169: A peer that has only part of the file and wants to download the rest is called a(n) _________________",
3130 | Choices = new List < Choice > {
3131 | new Choice {
3132 | Order = 1,
3133 | Description = "Swarm"
3134 | },
3135 | new Choice {
3136 | Order = 2,
3137 | Description = "Seed"
3138 | },
3139 | new Choice {
3140 | Order = 3,
3141 | Description = "Leech"
3142 | },
3143 | new Choice {
3144 | Order = 4,
3145 | Description = "Tracker"
3146 | }
3147 | },
3148 | CorrectAnswer = 1
3149 | },
3150 | // Question #170
3151 | new Question {
3152 | Title = "Q #170: A swarm is a combination of seeds and trackers",
3153 | Choices = new List < Choice > {
3154 | new Choice {
3155 | Order = 1,
3156 | Description = "True"
3157 | },
3158 | new Choice {
3159 | Order = 2,
3160 | Description = "False"
3161 | }
3162 | },
3163 | CorrectAnswer = 1
3164 | },
3165 | // Question #171
3166 | new Question {
3167 | Title = "Q #171: In BitTorrent, the __________ group is the list of peers that the current peer has concurrently connected to; it continuously uploads and downloads pieces from this group.",
3168 | Choices = new List < Choice > {
3169 | new Choice {
3170 | Order = 1,
3171 | Description = "Unchoked"
3172 | },
3173 | new Choice {
3174 | Order = 2,
3175 | Description = "Choked"
3176 | }
3177 | },
3178 | CorrectAnswer = 1
3179 | },
3180 | // Question #172
3181 | new Question {
3182 | Title = "Q #172: In BitTorrent, the __________ group is the list of neighbours that the peer is not currently connected to but may connect to in the future",
3183 | Choices = new List < Choice > {
3184 | new Choice {
3185 | Order = 1,
3186 | Description = "Unchoked"
3187 | },
3188 | new Choice {
3189 | Order = 2,
3190 | Description = "Choked"
3191 | }
3192 | },
3193 | CorrectAnswer = 1
3194 | },
3195 | // Question #173
3196 | new Question {
3197 | Title = "Q #173: In BitTorrent, optimistic choking is when the system promotes a single interested peer every 30 seconds, regardless of its uploading rate, from the choked group and flags it as unchoked",
3198 | Choices = new List < Choice > {
3199 | new Choice {
3200 | Order = 1,
3201 | Description = "True"
3202 | },
3203 | new Choice {
3204 | Order = 2,
3205 | Description = "False"
3206 | }
3207 | },
3208 | CorrectAnswer = 1
3209 | },
3210 | // Question #174
3211 | new Question {
3212 | Title = "Q #174: In BitTorrent, the strategy \"common-last\" is when a peer tries to first download the pieces with the fewest repeated copies amoung the neighbours",
3213 | Choices = new List < Choice > {
3214 | new Choice {
3215 | Order = 1,
3216 | Description = "True"
3217 | },
3218 | new Choice {
3219 | Order = 2,
3220 | Description = "False"
3221 | }
3222 | },
3223 | CorrectAnswer = 1
3224 | },
3225 | // Question #175
3226 | new Question {
3227 | Title = "Q #175: Which of the following is not a common feature of P2P applications",
3228 | Choices = new List < Choice > {
3229 | new Choice {
3230 | Order = 1,
3231 | Description = "Protocols are constructed at the application layer"
3232 | },
3233 | new Choice {
3234 | Order = 2,
3235 | Description = "Peers have a unique identifier"
3236 | },
3237 | new Choice {
3238 | Order = 3,
3239 | Description = "P2P protocols support some type of message-routing capability"
3240 | },
3241 | new Choice {
3242 | Order = 4,
3243 | Description = "Applications mask the IP address of peers so they cannot be tracked"
3244 | }
3245 | },
3246 | CorrectAnswer = 1
3247 | },
3248 | // Question #176
3249 | new Question {
3250 | Title = "Q #176: A(n) ______________________ is the collection of peer connections in a P2P network",
3251 | Choices = new List < Choice > {
3252 | new Choice {
3253 | Order = 1,
3254 | Description = "Overlay"
3255 | },
3256 | new Choice {
3257 | Order = 2,
3258 | Description = "Swarm"
3259 | },
3260 | new Choice {
3261 | Order = 3,
3262 | Description = "Tracker"
3263 | },
3264 | new Choice {
3265 | Order = 4,
3266 | Description = "Torrent"
3267 | }
3268 | },
3269 | CorrectAnswer = 1
3270 | },
3271 | // Question #177
3272 | new Question {
3273 | Title = "Q #177: Which of the following is not an attribute of unstructured networks?",
3274 | Choices = new List < Choice > {
3275 | new Choice {
3276 | Order = 1,
3277 | Description = "The nodes are linked randomly"
3278 | },
3279 | new Choice {
3280 | Order = 2,
3281 | Description = "Searching is inefficient"
3282 | },
3283 | new Choice {
3284 | Order = 3,
3285 | Description = "Queries may not be resolved"
3286 | },
3287 | new Choice {
3288 | Order = 4,
3289 | Description = "Uses predefined set of rules to link nodes"
3290 | }
3291 | },
3292 | CorrectAnswer = 1
3293 | },
3294 | // Question #178
3295 | new Question {
3296 | Title = "Q #178: A structured P2P network uses a predefined set of rules to link nodes so that a query can be effectively and efficiently resolved",
3297 | Choices = new List < Choice > {
3298 | new Choice {
3299 | Order = 1,
3300 | Description = "True"
3301 | },
3302 | new Choice {
3303 | Order = 2,
3304 | Description = "False"
3305 | }
3306 | },
3307 | CorrectAnswer = 1
3308 | },
3309 | // Question #179
3310 | new Question {
3311 | Title = "Q #179: A common technique used in unstructured P2P networks is the distributed hash table (DHT)",
3312 | Choices = new List < Choice > {
3313 | new Choice {
3314 | Order = 1,
3315 | Description = "True"
3316 | },
3317 | new Choice {
3318 | Order = 2,
3319 | Description = "False"
3320 | }
3321 | },
3322 | CorrectAnswer = 1
3323 | },
3324 | // Question #180
3325 | new Question {
3326 | Title = "Q #180: The address space of a distributed hash table ranges from",
3327 | Choices = new List < Choice > {
3328 | new Choice {
3329 | Order = 1,
3330 | Description = "0 to 2^m - 1"
3331 | },
3332 | new Choice {
3333 | Order = 2,
3334 | Description = "1 to 2^m - 1"
3335 | },
3336 | new Choice {
3337 | Order = 3,
3338 | Description = "0 to 2^m"
3339 | },
3340 | new Choice {
3341 | Order = 4,
3342 | Description = "1 to 2^m"
3343 | }
3344 | },
3345 | CorrectAnswer = 1
3346 | },
3347 | // Question #181
3348 | new Question {
3349 | Title = "Q #181: A distributed hash table distributes data items among a set of nodes according to some predefined rules",
3350 | Choices = new List < Choice > {
3351 | new Choice {
3352 | Order = 1,
3353 | Description = "True"
3354 | },
3355 | new Choice {
3356 | Order = 2,
3357 | Description = "False"
3358 | }
3359 | },
3360 | CorrectAnswer = 1
3361 | },
3362 | // Question #182
3363 | new Question {
3364 | Title = "Q #182: The addresses in a distributed hash table are distributed in a counter-clockwise direction",
3365 | Choices = new List < Choice > {
3366 | new Choice {
3367 | Order = 1,
3368 | Description = "True"
3369 | },
3370 | new Choice {
3371 | Order = 2,
3372 | Description = "False"
3373 | }
3374 | },
3375 | CorrectAnswer = 1
3376 | },
3377 | // Question #183
3378 | new Question {
3379 | Title = "Q #183: Most DHT implementations use a value of m equal to",
3380 | Choices = new List < Choice > {
3381 | new Choice {
3382 | Order = 1,
3383 | Description = "256"
3384 | },
3385 | new Choice {
3386 | Order = 2,
3387 | Description = "128"
3388 | },
3389 | new Choice {
3390 | Order = 3,
3391 | Description = "160"
3392 | },
3393 | new Choice {
3394 | Order = 4,
3395 | Description = "150"
3396 | }
3397 | },
3398 | CorrectAnswer = 1
3399 | },
3400 | // Question #184
3401 | new Question {
3402 | Title = "Q #184: The _______________ method of storing objects in the DHT address space stores the node whose ID is \"closest\" to the key in the ring",
3403 | Choices = new List < Choice > {
3404 | new Choice {
3405 | Order = 1,
3406 | Description = "Direct"
3407 | },
3408 | new Choice {
3409 | Order = 2,
3410 | Description = "Indirect"
3411 | }
3412 | },
3413 | CorrectAnswer = 1
3414 | },
3415 | // Question #185
3416 | new Question {
3417 | Title = "Q #185: The _______________ method of storing objects in the DHT address space stores the physical object and the reference to the object in different locations (peers).",
3418 | Choices = new List < Choice > {
3419 | new Choice {
3420 | Order = 1,
3421 | Description = "Direct"
3422 | },
3423 | new Choice {
3424 | Order = 2,
3425 | Description = "Indirect"
3426 | }
3427 | },
3428 | CorrectAnswer = 1
3429 | },
3430 | // Question #186
3431 | new Question {
3432 | Title = "Q #186: _______________ overlays in a P2P network organize nodes into a random graph, and then use floods/random walks to discover data stored by overlay nodes",
3433 | Choices = new List < Choice > {
3434 | new Choice {
3435 | Order = 1,
3436 | Description = "Unstructured"
3437 | },
3438 | new Choice {
3439 | Order = 2,
3440 | Description = "Structured"
3441 | }
3442 | },
3443 | CorrectAnswer = 1
3444 | },
3445 | // Question #187
3446 | new Question {
3447 | Title = "Q #187: Which unstructured overlay algorithm prevents messages from circulating endlessly by attaching message identifiers/TTL values (and does not alter the TTL if the query fails)",
3448 | Choices = new List < Choice > {
3449 | new Choice {
3450 | Order = 1,
3451 | Description = "Flooding"
3452 | },
3453 | new Choice {
3454 | Order = 2,
3455 | Description = "Expanding ring"
3456 | },
3457 | new Choice {
3458 | Order = 3,
3459 | Description = "Random walk"
3460 | },
3461 | new Choice {
3462 | Order = 4,
3463 | Description = "Pastry"
3464 | }
3465 | },
3466 | CorrectAnswer = 1
3467 | },
3468 | // Question #188
3469 | new Question {
3470 | Title = "Q #188: Which unstructured overlay algorithm increases the TTL value by a small amount if the query fails?",
3471 | Choices = new List < Choice > {
3472 | new Choice {
3473 | Order = 1,
3474 | Description = "Flooding"
3475 | },
3476 | new Choice {
3477 | Order = 2,
3478 | Description = "Expanding ring"
3479 | },
3480 | new Choice {
3481 | Order = 3,
3482 | Description = "Dijkstra"
3483 | },
3484 | new Choice {
3485 | Order = 4,
3486 | Description = "Pastry"
3487 | }
3488 | },
3489 | CorrectAnswer = 1
3490 | },
3491 | // Question #189
3492 | new Question {
3493 | Title = "Q #189: Which unstructured overlay algorithm randomly traverses nodes, and decrements a TTL at each hop?",
3494 | Choices = new List < Choice > {
3495 | new Choice {
3496 | Order = 1,
3497 | Description = "Flooding"
3498 | },
3499 | new Choice {
3500 | Order = 2,
3501 | Description = "Expanding ring"
3502 | },
3503 | new Choice {
3504 | Order = 3,
3505 | Description = "Dijkstra"
3506 | },
3507 | new Choice {
3508 | Order = 4,
3509 | Description = "Pastry"
3510 | }
3511 | },
3512 | CorrectAnswer = 1
3513 | },
3514 | // Question #190
3515 | new Question {
3516 | Title = "Q #190: Random walk queries in an unstructured overlay must be carried out sequentially",
3517 | Choices = new List < Choice > {
3518 | new Choice {
3519 | Order = 1,
3520 | Description = "True"
3521 | },
3522 | new Choice {
3523 | Order = 2,
3524 | Description = "False"
3525 | }
3526 | },
3527 | CorrectAnswer = 1
3528 | },
3529 | // Question #191
3530 | new Question {
3531 | Title = "Q #191: _______________ overlays in a P2P network combines a specific geometrical structure with appropriate routing and maintenance mechanisms",
3532 | Choices = new List < Choice > {
3533 | new Choice {
3534 | Order = 1,
3535 | Description = "Unstructured"
3536 | },
3537 | new Choice {
3538 | Order = 2,
3539 | Description = "Structured"
3540 | }
3541 | },
3542 | CorrectAnswer = 1
3543 | },
3544 | // Question #192
3545 | new Question {
3546 | Title = "Q #192: Which of the following is not a structured overlay protocol?",
3547 | Choices = new List < Choice > {
3548 | new Choice {
3549 | Order = 1,
3550 | Description = "Kademlia"
3551 | },
3552 | new Choice {
3553 | Order = 2,
3554 | Description = "Chord"
3555 | },
3556 | new Choice {
3557 | Order = 3,
3558 | Description = "Pastry"
3559 | },
3560 | new Choice {
3561 | Order = 4,
3562 | Description = "Finger"
3563 | }
3564 | },
3565 | CorrectAnswer = 1
3566 | },
3567 | // Question #193
3568 | new Question {
3569 | Title = "Q #193: What is a Distributed Object Location and Routing (DOLR) system?",
3570 | Choices = new List < Choice > {
3571 | new Choice {
3572 | Order = 1,
3573 | Description = "A P2P system that uses key-based routing"
3574 | },
3575 | new Choice {
3576 | Order = 2,
3577 | Description = "A distributed naming system for resources connected to the internet"
3578 | },
3579 | new Choice {
3580 | Order = 3,
3581 | Description = "A method of routing resources from a centralized server to a client"
3582 | },
3583 | new Choice {
3584 | Order = 4,
3585 | Description = "A client-server system which distributes files evenly across the server"
3586 | }
3587 | },
3588 | CorrectAnswer = 1
3589 | },
3590 | // Question #194
3591 | new Question {
3592 | Title = "Q #194: For the Chord protocol, the closest peer with N >= k hosts the value (k, v), where k is the hash of the data name, and v is the information about the peer that has the actual object",
3593 | Choices = new List < Choice > {
3594 | new Choice {
3595 | Order = 1,
3596 | Description = "True"
3597 | },
3598 | new Choice {
3599 | Order = 2,
3600 | Description = "False"
3601 | }
3602 | },
3603 | CorrectAnswer = 1
3604 | },
3605 | // Question #195
3606 | new Question {
3607 | Title = "Q #195: The Pastry protocol utilizes a finger table to resolve a query/lookup",
3608 | Choices = new List < Choice > {
3609 | new Choice {
3610 | Order = 1,
3611 | Description = "True"
3612 | },
3613 | new Choice {
3614 | Order = 2,
3615 | Description = "False"
3616 | }
3617 | },
3618 | CorrectAnswer = 1
3619 | },
3620 | // Question #196
3621 | new Question {
3622 | Title = "Q #196: In a finger table for the Chord protocol, each node needs to know about m successor nodes and one predecessor node",
3623 | Choices = new List < Choice > {
3624 | new Choice {
3625 | Order = 1,
3626 | Description = "True"
3627 | },
3628 | new Choice {
3629 | Order = 2,
3630 | Description = "False"
3631 | }
3632 | },
3633 | CorrectAnswer = 1
3634 | },
3635 | // Question #197
3636 | new Question {
3637 | Title = "Q #197: What is the successor of a target key in a finger table? (N=current node, i=record number starting at 1)",
3638 | Choices = new List < Choice > {
3639 | new Choice {
3640 | Order = 1,
3641 | Description = "Successor(N + 2^(i - 1))"
3642 | },
3643 | new Choice {
3644 | Order = 2,
3645 | Description = "Successor(N + 2^(i + 1))"
3646 | },
3647 | new Choice {
3648 | Order = 3,
3649 | Description = "Successor(N - 2^(i - 1))"
3650 | },
3651 | new Choice {
3652 | Order = 4,
3653 | Description = "Successor(N - 2^(i + 1))"
3654 | }
3655 | },
3656 | CorrectAnswer = 1
3657 | },
3658 | // Question #198
3659 | new Question {
3660 | Title = "Q #198: In a finger table, a node is responsible for all keys less than the current node, but greater than the preceeding node (i.e. N > K > N - 1)",
3661 | Choices = new List < Choice > {
3662 | new Choice {
3663 | Order = 1,
3664 | Description = "True"
3665 | },
3666 | new Choice {
3667 | Order = 2,
3668 | Description = "False"
3669 | }
3670 | },
3671 | CorrectAnswer = 1
3672 | },
3673 | // Question #199
3674 | new Question {
3675 | Title = "Q #199: Which Chord operation is used to find where an object is located among the available peers in the ring?",
3676 | Choices = new List < Choice > {
3677 | new Choice {
3678 | Order = 1,
3679 | Description = "Lookup"
3680 | },
3681 | new Choice {
3682 | Order = 2,
3683 | Description = "Stabilize"
3684 | },
3685 | new Choice {
3686 | Order = 3,
3687 | Description = "Fix_Finger"
3688 | },
3689 | new Choice {
3690 | Order = 4,
3691 | Description = "Join"
3692 | }
3693 | },
3694 | CorrectAnswer = 1
3695 | },
3696 | // Question #200
3697 | new Question {
3698 | Title = "Q #200: Which Chord operation is used to validate its information about its successor, and let the success validate its information about its predecessor?",
3699 | Choices = new List < Choice > {
3700 | new Choice {
3701 | Order = 1,
3702 | Description = "Lookup"
3703 | },
3704 | new Choice {
3705 | Order = 2,
3706 | Description = "Stabilize"
3707 | },
3708 | new Choice {
3709 | Order = 3,
3710 | Description = "Fix_Finger"
3711 | },
3712 | new Choice {
3713 | Order = 4,
3714 | Description = "Join"
3715 | }
3716 | },
3717 | CorrectAnswer = 1
3718 | },
3719 | // Question #201
3720 | new Question {
3721 | Title = "Q #201: Which Chord operation is used to update a finger table?",
3722 | Choices = new List < Choice > {
3723 | new Choice {
3724 | Order = 1,
3725 | Description = "Lookup"
3726 | },
3727 | new Choice {
3728 | Order = 2,
3729 | Description = "Stabilize"
3730 | },
3731 | new Choice {
3732 | Order = 3,
3733 | Description = "Fix_Finger"
3734 | },
3735 | new Choice {
3736 | Order = 4,
3737 | Description = "Join"
3738 | }
3739 | },
3740 | CorrectAnswer = 1
3741 | },
3742 | // Question #202
3743 | new Question {
3744 | Title = "Q #202: In the Chord protocol, when a node leaves, the data/references must be duplicated on other nodes",
3745 | Choices = new List < Choice > {
3746 | new Choice {
3747 | Order = 1,
3748 | Description = "True"
3749 | },
3750 | new Choice {
3751 | Order = 2,
3752 | Description = "False"
3753 | }
3754 | },
3755 | CorrectAnswer = 1
3756 | },
3757 | // Question #203
3758 | new Question {
3759 | Title = "Q #203: What is a common value for m in the Pastry protocol?",
3760 | Choices = new List < Choice > {
3761 | new Choice {
3762 | Order = 1,
3763 | Description = "256"
3764 | },
3765 | new Choice {
3766 | Order = 2,
3767 | Description = "128"
3768 | },
3769 | new Choice {
3770 | Order = 3,
3771 | Description = "160"
3772 | },
3773 | new Choice {
3774 | Order = 4,
3775 | Description = "150"
3776 | }
3777 | },
3778 | CorrectAnswer = 1
3779 | },
3780 | // Question #204
3781 | new Question {
3782 | Title = "Q #204: In the Pastry protocol, a key is stored in the node whose identifier is numerically closest to the key",
3783 | Choices = new List < Choice > {
3784 | new Choice {
3785 | Order = 1,
3786 | Description = "True"
3787 | },
3788 | new Choice {
3789 | Order = 2,
3790 | Description = "False"
3791 | }
3792 | },
3793 | CorrectAnswer = 1
3794 | },
3795 | // Question #205
3796 | new Question {
3797 | Title = "Q #205: In the Pastry protocol, the number of rows in the routing table is equal to",
3798 | Choices = new List < Choice > {
3799 | new Choice {
3800 | Order = 1,
3801 | Description = "M / b"
3802 | },
3803 | new Choice {
3804 | Order = 2,
3805 | Description = "M * b"
3806 | },
3807 | new Choice {
3808 | Order = 3,
3809 | Description = "B / m"
3810 | },
3811 | new Choice {
3812 | Order = 4,
3813 | Description = "2^b"
3814 | }
3815 | },
3816 | CorrectAnswer = 1
3817 | },
3818 | // Question #206
3819 | new Question {
3820 | Title = "Q #206: In the Pastry protocol, the number of columns in the routing table is equal to",
3821 | Choices = new List < Choice > {
3822 | new Choice {
3823 | Order = 1,
3824 | Description = "M / b"
3825 | },
3826 | new Choice {
3827 | Order = 2,
3828 | Description = "M * b"
3829 | },
3830 | new Choice {
3831 | Order = 3,
3832 | Description = "B / m"
3833 | },
3834 | new Choice {
3835 | Order = 4,
3836 | Description = "2^b"
3837 | }
3838 | },
3839 | CorrectAnswer = 1
3840 | },
3841 | // Question #207
3842 | new Question {
3843 | Title = "Q #207: In the Pastry protocol, a cell in the routing table can contain multiple values",
3844 | Choices = new List < Choice > {
3845 | new Choice {
3846 | Order = 1,
3847 | Description = "True"
3848 | },
3849 | new Choice {
3850 | Order = 2,
3851 | Description = "False"
3852 | }
3853 | },
3854 | CorrectAnswer = 1
3855 | },
3856 | // Question #208
3857 | new Question {
3858 | Title = "Q #208: In the Pastry protocol, the leaf set is a list of IDs that are numerically larger than the current node ID",
3859 | Choices = new List < Choice > {
3860 | new Choice {
3861 | Order = 1,
3862 | Description = "True"
3863 | },
3864 | new Choice {
3865 | Order = 2,
3866 | Description = "False"
3867 | }
3868 | },
3869 | CorrectAnswer = 1
3870 | },
3871 | // Question #209
3872 | new Question {
3873 | Title = "Q #209: In the Pastry protocol, the leaf set contains _________ identifiers",
3874 | Choices = new List < Choice > {
3875 | new Choice {
3876 | Order = 1,
3877 | Description = "M / b"
3878 | },
3879 | new Choice {
3880 | Order = 2,
3881 | Description = "M * b"
3882 | },
3883 | new Choice {
3884 | Order = 3,
3885 | Description = "B / m"
3886 | },
3887 | new Choice {
3888 | Order = 4,
3889 | Description = "2^b"
3890 | }
3891 | },
3892 | CorrectAnswer = 1
3893 | },
3894 | // Question #210
3895 | new Question {
3896 | Title = "Q #210: Which of the following structured overlay protocols routes messages based on the distance between the nodes?",
3897 | Choices = new List < Choice > {
3898 | new Choice {
3899 | Order = 1,
3900 | Description = "Kademlia"
3901 | },
3902 | new Choice {
3903 | Order = 2,
3904 | Description = "Chord"
3905 | },
3906 | new Choice {
3907 | Order = 3,
3908 | Description = "Pastry"
3909 | }
3910 | },
3911 | CorrectAnswer = 1
3912 | },
3913 | // Question #211
3914 | new Question {
3915 | Title = "Q #211: In the Kademlia protocol, the distance between nodes is determined by bitwise",
3916 | Choices = new List < Choice > {
3917 | new Choice {
3918 | Order = 1,
3919 | Description = "XOR"
3920 | },
3921 | new Choice {
3922 | Order = 2,
3923 | Description = "XAND"
3924 | },
3925 | new Choice {
3926 | Order = 3,
3927 | Description = "OR"
3928 | },
3929 | new Choice {
3930 | Order = 4,
3931 | Description = "AND"
3932 | }
3933 | },
3934 | CorrectAnswer = 1
3935 | },
3936 | // Question #212
3937 | new Question {
3938 | Title = "Q #212: In the Kademlia protocol, if m=5, how many subtrees does a node divide the binary tree into?",
3939 | Choices = new List < Choice > {
3940 | new Choice {
3941 | Order = 1,
3942 | Description = "5"
3943 | },
3944 | new Choice {
3945 | Order = 2,
3946 | Description = "32"
3947 | },
3948 | new Choice {
3949 | Order = 3,
3950 | Description = "64"
3951 | },
3952 | new Choice {
3953 | Order = 4,
3954 | Description = "25"
3955 | }
3956 | },
3957 | CorrectAnswer = 1
3958 | },
3959 | // Question #213
3960 | new Question {
3961 | Title = "Q #213: The Kademlia protocol, requires that each row in the routing table keeps at least up to __________ nodes from the corresponding subtree",
3962 | Choices = new List < Choice > {
3963 | new Choice {
3964 | Order = 1,
3965 | Description = "5"
3966 | },
3967 | new Choice {
3968 | Order = 2,
3969 | Description = "10"
3970 | },
3971 | new Choice {
3972 | Order = 3,
3973 | Description = "15"
3974 | },
3975 | new Choice {
3976 | Order = 4,
3977 | Description = "20"
3978 | }
3979 | },
3980 | CorrectAnswer = 1
3981 | },
3982 | // Question #214
3983 | new Question {
3984 | Title = "Q #214: In Kademlia, each row is referred to as a",
3985 | Choices = new List < Choice > {
3986 | new Choice {
3987 | Order = 1,
3988 | Description = "K-bucket"
3989 | },
3990 | new Choice {
3991 | Order = 2,
3992 | Description = "N-bucket"
3993 | },
3994 | new Choice {
3995 | Order = 3,
3996 | Description = "Subrecord"
3997 | },
3998 | new Choice {
3999 | Order = 4,
4000 | Description = "Finger"
4001 | }
4002 | },
4003 | CorrectAnswer = 1
4004 | },
4005 | // Question #215
4006 | new Question {
4007 | Title = "Q #215: _____________ refers to what Alice does with the message and the key to obtain a ciphertext",
4008 | Choices = new List < Choice > {
4009 | new Choice {
4010 | Order = 1,
4011 | Description = "Key generation"
4012 | },
4013 | new Choice {
4014 | Order = 2,
4015 | Description = "Encryption"
4016 | },
4017 | new Choice {
4018 | Order = 3,
4019 | Description = "Decryption"
4020 | },
4021 | new Choice {
4022 | Order = 4,
4023 | Description = "Signing"
4024 | }
4025 | },
4026 | CorrectAnswer = 1
4027 | },
4028 | // Question #216
4029 | new Question {
4030 | Title = "Q #216: _____________ refers to what Bob does with the ciphertext and the key to obtain the plaintext",
4031 | Choices = new List < Choice > {
4032 | new Choice {
4033 | Order = 1,
4034 | Description = "Key generation"
4035 | },
4036 | new Choice {
4037 | Order = 2,
4038 | Description = "Encryption"
4039 | },
4040 | new Choice {
4041 | Order = 3,
4042 | Description = "Decryption"
4043 | },
4044 | new Choice {
4045 | Order = 4,
4046 | Description = "Signing"
4047 | }
4048 | },
4049 | CorrectAnswer = 1
4050 | },
4051 | // Question #217
4052 | new Question {
4053 | Title = "Q #217: _____________ refers to what Alice and Bob do to create the shared secret key",
4054 | Choices = new List < Choice > {
4055 | new Choice {
4056 | Order = 1,
4057 | Description = "Key generation"
4058 | },
4059 | new Choice {
4060 | Order = 2,
4061 | Description = "Encryption"
4062 | },
4063 | new Choice {
4064 | Order = 3,
4065 | Description = "Decryption"
4066 | },
4067 | new Choice {
4068 | Order = 4,
4069 | Description = "Signing"
4070 | }
4071 | },
4072 | CorrectAnswer = 1
4073 | },
4074 | // Question #218
4075 | new Question {
4076 | Title = "Q #218: What is cryptology?",
4077 | Choices = new List < Choice > {
4078 | new Choice {
4079 | Order = 1,
4080 | Description = "The art and science of making and breaking \"secret codes\""
4081 | },
4082 | new Choice {
4083 | Order = 2,
4084 | Description = "Making \"secret codes\""
4085 | },
4086 | new Choice {
4087 | Order = 3,
4088 | Description = "Breaking \"secret codes\""
4089 | },
4090 | new Choice {
4091 | Order = 4,
4092 | Description = "All of the above"
4093 | }
4094 | },
4095 | CorrectAnswer = 1
4096 | },
4097 | // Question #219
4098 | new Question {
4099 | Title = "Q #219: What is cryptography?",
4100 | Choices = new List < Choice > {
4101 | new Choice {
4102 | Order = 1,
4103 | Description = "The art and science of making and breaking \"secret codes\""
4104 | },
4105 | new Choice {
4106 | Order = 2,
4107 | Description = "Making \"secret codes\""
4108 | },
4109 | new Choice {
4110 | Order = 3,
4111 | Description = "Breaking \"secret codes\""
4112 | },
4113 | new Choice {
4114 | Order = 4,
4115 | Description = "All of the above"
4116 | }
4117 | },
4118 | CorrectAnswer = 1
4119 | },
4120 | // Question #220
4121 | new Question {
4122 | Title = "Q #220: What is cryptoanalysis?",
4123 | Choices = new List < Choice > {
4124 | new Choice {
4125 | Order = 1,
4126 | Description = "The art and science of making and breaking \"secret codes\""
4127 | },
4128 | new Choice {
4129 | Order = 2,
4130 | Description = "Making \"secret codes\""
4131 | },
4132 | new Choice {
4133 | Order = 3,
4134 | Description = "Breaking \"secret codes\""
4135 | },
4136 | new Choice {
4137 | Order = 4,
4138 | Description = "All of the above"
4139 | }
4140 | },
4141 | CorrectAnswer = 1
4142 | },
4143 | // Question #221
4144 | new Question {
4145 | Title = "Q #221: What is crypto?",
4146 | Choices = new List < Choice > {
4147 | new Choice {
4148 | Order = 1,
4149 | Description = "The art and science of making and breaking \"secret codes\""
4150 | },
4151 | new Choice {
4152 | Order = 2,
4153 | Description = "Making \"secret codes\""
4154 | },
4155 | new Choice {
4156 | Order = 3,
4157 | Description = "Breaking \"secret codes\""
4158 | },
4159 | new Choice {
4160 | Order = 4,
4161 | Description = "All of the above"
4162 | }
4163 | },
4164 | CorrectAnswer = 1
4165 | },
4166 | // Question #222
4167 | new Question {
4168 | Title = "Q #222: A symmetric key cryptosystem uses ____________ to encrypt as to decrypt",
4169 | Choices = new List < Choice > {
4170 | new Choice {
4171 | Order = 1,
4172 | Description = "The same key"
4173 | },
4174 | new Choice {
4175 | Order = 2,
4176 | Description = "A public key and a private key"
4177 | },
4178 | new Choice {
4179 | Order = 3,
4180 | Description = "No keys"
4181 | }
4182 | },
4183 | CorrectAnswer = 1
4184 | },
4185 | // Question #223
4186 | new Question {
4187 | Title = "Q #223: A public key cryptosystem uses ____________ to encrypt as to decrypt",
4188 | Choices = new List < Choice > {
4189 | new Choice {
4190 | Order = 1,
4191 | Description = "The same key"
4192 | },
4193 | new Choice {
4194 | Order = 2,
4195 | Description = "A public key and a private key"
4196 | },
4197 | new Choice {
4198 | Order = 3,
4199 | Description = "No keys"
4200 | }
4201 | },
4202 | CorrectAnswer = 1
4203 | },
4204 | // Question #224
4205 | new Question {
4206 | Title = "Q #224: A public key cryptosystem uses a private key to encrypt and a public key to decrypt",
4207 | Choices = new List < Choice > {
4208 | new Choice {
4209 | Order = 1,
4210 | Description = "True"
4211 | },
4212 | new Choice {
4213 | Order = 2,
4214 | Description = "False"
4215 | }
4216 | },
4217 | CorrectAnswer = 1
4218 | },
4219 | // Question #225
4220 | new Question {
4221 | Title = "Q #225: Polynomial time is considered infeasible",
4222 | Choices = new List < Choice > {
4223 | new Choice {
4224 | Order = 1,
4225 | Description = "True"
4226 | },
4227 | new Choice {
4228 | Order = 2,
4229 | Description = "False"
4230 | }
4231 | },
4232 | CorrectAnswer = 1
4233 | },
4234 | // Question #226
4235 | new Question {
4236 | Title = "Q #226: What is Kerckhoff's Principle?",
4237 | Choices = new List < Choice > {
4238 | new Choice {
4239 | Order = 1,
4240 | Description = "Crypto algorithms are not a secret"
4241 | },
4242 | new Choice {
4243 | Order = 2,
4244 | Description = "The algebraic sum of currents in a network of conductors meeting at a point is zero"
4245 | },
4246 | new Choice {
4247 | Order = 3,
4248 | Description = "Public key encryption is more secure than symmetric key encryption"
4249 | },
4250 | new Choice {
4251 | Order = 4,
4252 | Description = "The cryptosystem should depend on the secrecy of the algorithm"
4253 | }
4254 | },
4255 | CorrectAnswer = 1
4256 | },
4257 | // Question #227
4258 | new Question {
4259 | Title = "Q #227: In Ouda's Key Crypto notation, P refers to",
4260 | Choices = new List < Choice > {
4261 | new Choice {
4262 | Order = 1,
4263 | Description = "Plaintext block"
4264 | },
4265 | new Choice {
4266 | Order = 2,
4267 | Description = "Cipertext block"
4268 | },
4269 | new Choice {
4270 | Order = 3,
4271 | Description = "Signature"
4272 | },
4273 | new Choice {
4274 | Order = 4,
4275 | Description = "Public key"
4276 | }
4277 | },
4278 | CorrectAnswer = 1
4279 | },
4280 | // Question #228
4281 | new Question {
4282 | Title = "Q #228: In Ouda's Key Crypto notation, C refers to",
4283 | Choices = new List < Choice > {
4284 | new Choice {
4285 | Order = 1,
4286 | Description = "Plaintext block"
4287 | },
4288 | new Choice {
4289 | Order = 2,
4290 | Description = "Cipertext block"
4291 | },
4292 | new Choice {
4293 | Order = 3,
4294 | Description = "Signature"
4295 | },
4296 | new Choice {
4297 | Order = 4,
4298 | Description = "Public key"
4299 | }
4300 | },
4301 | CorrectAnswer = 1
4302 | },
4303 | // Question #229
4304 | new Question {
4305 | Title = "Q #229: In cryptography, C = D(P, K)",
4306 | Choices = new List < Choice > {
4307 | new Choice {
4308 | Order = 1,
4309 | Description = "True"
4310 | },
4311 | new Choice {
4312 | Order = 2,
4313 | Description = "False"
4314 | }
4315 | },
4316 | CorrectAnswer = 1
4317 | },
4318 | // Question #230
4319 | new Question {
4320 | Title = "Q #230: In cryptography, P = D(E(P, K), K)",
4321 | Choices = new List < Choice > {
4322 | new Choice {
4323 | Order = 1,
4324 | Description = "True"
4325 | },
4326 | new Choice {
4327 | Order = 2,
4328 | Description = "False"
4329 | }
4330 | },
4331 | CorrectAnswer = 1
4332 | },
4333 | // Question #231
4334 | new Question {
4335 | Title = "Q #231: In Ouda's Key Crypto notation, [M]_Alice refers to",
4336 | Choices = new List < Choice > {
4337 | new Choice {
4338 | Order = 1,
4339 | Description = "Signing a message with Alice's private key"
4340 | },
4341 | new Choice {
4342 | Order = 2,
4343 | Description = "Signing a message with Alice's public key"
4344 | },
4345 | new Choice {
4346 | Order = 3,
4347 | Description = "Encrypting a message with Alice's private key"
4348 | },
4349 | new Choice {
4350 | Order = 4,
4351 | Description = "Encrypting a message with Alice's public key"
4352 | }
4353 | },
4354 | CorrectAnswer = 1
4355 | },
4356 | // Question #232
4357 | new Question {
4358 | Title = "Q #232: In Ouda's Key Crypto notation, {M}_Alice refers to",
4359 | Choices = new List < Choice > {
4360 | new Choice {
4361 | Order = 1,
4362 | Description = "Signing a message with Alice's private key"
4363 | },
4364 | new Choice {
4365 | Order = 2,
4366 | Description = "Signing a message with Alice's public key"
4367 | },
4368 | new Choice {
4369 | Order = 3,
4370 | Description = "Encrypting a message with Alice's private key"
4371 | },
4372 | new Choice {
4373 | Order = 4,
4374 | Description = "Encrypting a message with Alice's public key"
4375 | }
4376 | },
4377 | CorrectAnswer = 1
4378 | },
4379 | // Question #233
4380 | new Question {
4381 | Title = "Q #233: In cryptography, {[M]_Alice}_Alice = M",
4382 | Choices = new List < Choice > {
4383 | new Choice {
4384 | Order = 1,
4385 | Description = "True"
4386 | },
4387 | new Choice {
4388 | Order = 2,
4389 | Description = "False"
4390 | }
4391 | },
4392 | CorrectAnswer = 1
4393 | },
4394 | // Question #234
4395 | new Question {
4396 | Title = "Q #234: In cryptography, {[M]_Bob}_Alice = M",
4397 | Choices = new List < Choice > {
4398 | new Choice {
4399 | Order = 1,
4400 | Description = "True"
4401 | },
4402 | new Choice {
4403 | Order = 2,
4404 | Description = "False"
4405 | }
4406 | },
4407 | CorrectAnswer = 1
4408 | },
4409 | // Question #235
4410 | new Question {
4411 | Title = "Q #235: A cryptographic nonce is an arbitrary number that can be used multiple times",
4412 | Choices = new List < Choice > {
4413 | new Choice {
4414 | Order = 1,
4415 | Description = "True"
4416 | },
4417 | new Choice {
4418 | Order = 2,
4419 | Description = "False"
4420 | }
4421 | },
4422 | CorrectAnswer = 1
4423 | },
4424 | // Question #236
4425 | new Question {
4426 | Title = "Q #236: Timestamps in cryptography must account for clock skew",
4427 | Choices = new List < Choice > {
4428 | new Choice {
4429 | Order = 1,
4430 | Description = "True"
4431 | },
4432 | new Choice {
4433 | Order = 2,
4434 | Description = "False"
4435 | }
4436 | },
4437 | CorrectAnswer = 1
4438 | },
4439 | // Question #237
4440 | new Question {
4441 | Title = "Q #237: For entity authentication with a public key signature, which key pair is not needed?",
4442 | Choices = new List < Choice > {
4443 | new Choice {
4444 | Order = 1,
4445 | Description = "Encryption/decryption key pair"
4446 | },
4447 | new Choice {
4448 | Order = 2,
4449 | Description = "Signing/verifying key pair"
4450 | },
4451 | new Choice {
4452 | Order = 3,
4453 | Description = "Key exchange key pair"
4454 | },
4455 | new Choice {
4456 | Order = 4,
4457 | Description = "Session key pair"
4458 | }
4459 | },
4460 | CorrectAnswer = 1
4461 | },
4462 | // Question #238
4463 | new Question {
4464 | Title = "Q #238: One session key is used per session when it is required",
4465 | Choices = new List < Choice > {
4466 | new Choice {
4467 | Order = 1,
4468 | Description = "True"
4469 | },
4470 | new Choice {
4471 | Order = 2,
4472 | Description = "False"
4473 | }
4474 | },
4475 | CorrectAnswer = 1
4476 | },
4477 | // Question #239
4478 | new Question {
4479 | Title = "Q #239: What is perfect forward secrecy?",
4480 | Choices = new List < Choice > {
4481 | new Choice {
4482 | Order = 1,
4483 | Description = "A type of encryption where a compromise of a private key can't be used to decrypt past communications"
4484 | },
4485 | new Choice {
4486 | Order = 2,
4487 | Description = "An encryption method where each bit or character of the plaintext is encrypted by combining it with the corresponding bit or character from the pad using modular addition"
4488 | },
4489 | new Choice {
4490 | Order = 3,
4491 | Description = "A type of encryption where one of the encryption keys are private and the other is public"
4492 | },
4493 | new Choice {
4494 | Order = 4,
4495 | Description = "A technique used to secure both the public and private keys when communicating insecurely"
4496 | }
4497 | },
4498 | CorrectAnswer = 1
4499 | },
4500 | // Question #240
4501 | new Question {
4502 | Title = "Q #240: How can Alice and Bob ensure perfect forward secrecy?",
4503 | Choices = new List < Choice > {
4504 | new Choice {
4505 | Order = 1,
4506 | Description = "Encrypt with the session key"
4507 | },
4508 | new Choice {
4509 | Order = 2,
4510 | Description = "Encrypt with the public key"
4511 | },
4512 | new Choice {
4513 | Order = 3,
4514 | Description = "Encrypt with the private key"
4515 | },
4516 | new Choice {
4517 | Order = 4,
4518 | Description = "Encrypt with the one time pad"
4519 | }
4520 | },
4521 | CorrectAnswer = 1
4522 | },
4523 | // Question #241
4524 | new Question {
4525 | Title = "Q #241: What is Diffie-Hellman?",
4526 | Choices = new List < Choice > {
4527 | new Choice {
4528 | Order = 1,
4529 | Description = "A specific method of securely exchanging cryptographic keys over a public channel"
4530 | },
4531 | new Choice {
4532 | Order = 2,
4533 | Description = "A method of factoring an RSA key"
4534 | },
4535 | new Choice {
4536 | Order = 3,
4537 | Description = "An authenticated protocol for key agreement"
4538 | },
4539 | new Choice {
4540 | Order = 4,
4541 | Description = "An augmented password-authenticated key agreement"
4542 | }
4543 | },
4544 | CorrectAnswer = 1
4545 | },
4546 | // Question #242
4547 | new Question {
4548 | Title = "Q #242: What is a man in the middle attack?",
4549 | Choices = new List < Choice > {
4550 | new Choice {
4551 | Order = 1,
4552 | Description = "An attack where the attacker secretly relays and possibly alters the communication between two parties who believe they are directly communicating with each other"
4553 | },
4554 | new Choice {
4555 | Order = 2,
4556 | Description = "An attack where the attacker uses expired session keys to decrypt messages"
4557 | },
4558 | new Choice {
4559 | Order = 3,
4560 | Description = "An attack in which each possibility is tried until success is obtained"
4561 | },
4562 | new Choice {
4563 | Order = 4,
4564 | Description = "A known plaintext attack against double encryption with two separated keys where the attacker encrypts a plaintext with a key and \"decrypts\" the original ciphertext with another key and hopes to get the same value."
4565 | }
4566 | },
4567 | CorrectAnswer = 1
4568 | },
4569 | // Question #243
4570 | new Question {
4571 | Title = "Q #243: The socket layer lives between the",
4572 | Choices = new List < Choice > {
4573 | new Choice {
4574 | Order = 1,
4575 | Description = "Application and transport layers"
4576 | },
4577 | new Choice {
4578 | Order = 2,
4579 | Description = "Transport and network layers"
4580 | },
4581 | new Choice {
4582 | Order = 3,
4583 | Description = "Network and link layers"
4584 | },
4585 | new Choice {
4586 | Order = 4,
4587 | Description = "Application and network layers"
4588 | }
4589 | },
4590 | CorrectAnswer = 1
4591 | },
4592 | // Question #244
4593 | new Question {
4594 | Title = "Q #244: ___________ is a standard security technology for establishing an encrypted link between a server and a client",
4595 | Choices = new List < Choice > {
4596 | new Choice {
4597 | Order = 1,
4598 | Description = "SSL"
4599 | },
4600 | new Choice {
4601 | Order = 2,
4602 | Description = "RSA"
4603 | },
4604 | new Choice {
4605 | Order = 3,
4606 | Description = "SHA-2"
4607 | },
4608 | new Choice {
4609 | Order = 4,
4610 | Description = "TCP"
4611 | }
4612 | },
4613 | CorrectAnswer = 1
4614 | },
4615 | // Question #245
4616 | new Question {
4617 | Title = "Q #245: A ___________ is a small data file that digitally binds a cryptographic key to an organization's details. It allows secure connections from a web server to a browser",
4618 | Choices = new List < Choice > {
4619 | new Choice {
4620 | Order = 1,
4621 | Description = "SSL certificate"
4622 | },
4623 | new Choice {
4624 | Order = 2,
4625 | Description = "Private key"
4626 | },
4627 | new Choice {
4628 | Order = 3,
4629 | Description = "Public key"
4630 | },
4631 | new Choice {
4632 | Order = 4,
4633 | Description = "RSA certificate"
4634 | }
4635 | },
4636 | CorrectAnswer = 1
4637 | },
4638 | new Question {
4639 | Title = "Q #245: What is PAN",
4640 | Choices = new List < Choice > {
4641 | new Choice {
4642 | Order = 1,
4643 | Description = "Let devices connect and communicate over the range of a person. E.g. connecting Bluetooth devices"
4644 | },
4645 | new Choice {
4646 | Order = 2,
4647 | Description = "It is a privately owned network that operates within and nearby a single building like a home, office, or factory"
4648 | },
4649 | new Choice {
4650 | Order = 3,
4651 | Description = "It is a privately owned network that operates within and nearby a single building like a home, office, or factory"
4652 | },
4653 | new Choice {
4654 | Order = 4,
4655 | Description = "It is a privately owned network that operates within and nearby a single building like a home, office, or factory"
4656 | }
4657 | },
4658 | CorrectAnswer = 1
4659 | }
4660 | };
4661 |
4662 | private static List AllShuffled => All.OrderBy(x => random.Next()).ToList();
4663 | }
4664 | }
--------------------------------------------------------------------------------
/Shared/Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net5.0
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------