study_questions
Differences
This shows you the differences between two versions of the page.
study_questions [2010/01/09 00:50] – stephen | study_questions [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2072: | Line 2072: | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
- | ** C11L3Q10: What is the meaning of life? ** | + | ** <del>C11L3Q10: What is the meaning of life?</ |
/* --== Question Answer separator ==-- */ | /* --== Question Answer separator ==-- */ | ||
- | Answer: 42 | + | <del>Answer: 42</ |
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ | ||
Line 2936: | Line 2936: | ||
- Get a reference to the // | - Get a reference to the // | ||
- Call the //Compare// method on the // | - Call the //Compare// method on the // | ||
+ | |||
+ | ====== Web Exam 70-528 Study Questions ====== | ||
+ | |||
+ | ===== Chapter 1: Introducing the ASP.NET 2.0 Web Site ===== | ||
+ | |||
+ | ==== Lesson 1: Understanding The Players ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L1Q1: What are the four main HTTP methods? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Get, post, put and delete. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L1Q2: What are the five common MIME types? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Text, image, audio, video and application. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L1Q3: What is the difference between where form data is stored in a GET request and a POST request? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: In a GET request, the form data is put in the query string. In a POST request, the data is put in the message body. | ||
+ | |||
+ | ==== Lesson 2: Creating a Web Site ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L2Q1: What are the three sections of an in-line ASPX file? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Page directives, code, layout. | ||
+ | |||
+ | ==== Lesson 3: Working with Web Configuration Files ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L3Q1: What are the five levels, in order, of the ASP.NET configuration hierarchy? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Global machine, root default web, web site, web application, | ||
+ | |||
+ | ==== Lesson 4: Using ASP.NET Trace ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L4Q1: What is the virtual page that displays trace information? | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Trace.axd. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC1L4Q2: What are the two methods of configuring the trace facility? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Using the Website Administration Tool and editing the web.config file. | ||
+ | |||
+ | ===== Chapter 2: Adding and Configuring Server Controls ===== | ||
+ | |||
+ | ==== Lesson 1: Using a Server Control ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** WebC2L1Q1: How should the source of bloat in the // | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: By using the trace facility. | ||
+ | |||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q2: What must an HTML server control be located inside to operate correctly? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: A form element that has the // | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q3: What are the three methods of setting the properties of an HTML control? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Source view, design view and programmatically in code. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q4: In which event on what object should dynamically created controls be created? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The Init event on the page object. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q5: What order are events from a web page raised on the server side? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The event that caused the postback is processed last. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q6: What property on a control should be set to minimize the size of the // | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The // | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L1Q7: What are the five main page events, in the order they occur? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: // | ||
+ | |||
+ | ==== Lesson 2: Exploring Common Web Server Controls ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20117012 */ | ||
+ | |||
+ | ** WebC2L2Q1: What are two differences between the //Literal// control and the //TextBox// control? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: | ||
+ | |||
+ | * The //Literal// control does not support styles, themes, and skins. | ||
+ | * The //Literal// control does not inherit from // | ||
+ | |||
+ | ===== Chapter 3: Exploring Specialized Server Controls ===== | ||
+ | |||
+ | ==== Lesson 1: Exploring Specialized Web Server Controls ==== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110823 */ | ||
+ | |||
+ | ** WebC3L1Q1: What are the three modes of the //Literal// control? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: // | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110823 */ | ||
+ | |||
+ | ** WebC3L1Q2: What is the advantage of using the //Table//, // | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The ability to add rows and cells programmatically. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110824 */ | ||
+ | |||
+ | ** WebC3L1Q3: What web control should be used if clicking on an image is required? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: // | ||
====== IT Questions ====== | ====== IT Questions ====== | ||
Line 3004: | Line 3210: | ||
Answer: They should be put behind HTTP-POST requests because web-crawlers and search engines are not supposed to follow them. | Answer: They should be put behind HTTP-POST requests because web-crawlers and search engines are not supposed to follow them. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20110708 */ | ||
+ | |||
+ | ** ITQ8: What should be looked for in a code review? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Correctness (only). | ||
====== Fractal Questions ====== | ====== Fractal Questions ====== | ||
Line 3529: | Line 3745: | ||
Answer: Formalise any ad hoc tests into unit tests. | Answer: Formalise any ad hoc tests into unit tests. | ||
+ | |||
+ | ====== Professional ASP.NET MVC 1.0 ====== | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20100620 */ | ||
+ | |||
+ | ** MvcC1Q1: What are the six top-level directories, | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Controllers, | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20100620 */ | ||
+ | |||
+ | ** MvcC1Q2: Where does ASP.NET MVC store its routing rules? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: In the Global.asax file. | ||
====== Article 1: Design Principles and Design Patterns, Robert C. Martin ====== | ====== Article 1: Design Principles and Design Patterns, Robert C. Martin ====== | ||
Line 3889: | Line 4127: | ||
//" | //" | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P24Q2: What is afferent coupling? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The number of classes outside the package that depend on classes inside the package. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P24Q3: What is efferent coupling? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The number of classes outside the package that classes inside the package depend on. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P24Q4: What is the formula for determining the instability of a package? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Instability equals efferent coupling divided by afferent coupling plus efferent coupling. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P26Q1: What is the formula for determining the abstractness of a package? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Abstractness equals the number of abstract classes in the package divided by the total number of classes. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P26Q2: What type of packages occupy the zone of uselessness? | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Instable, abstract packages. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P26Q3: What type of packages occupy the zone of pain? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: Stable, concrete packages. | ||
+ | |||
+ | /* --== Answer Question separator ==-- */ | ||
+ | |||
+ | /* Added 20090925 */ | ||
+ | |||
+ | ** Art1P26Q4: What is the formula for determining the distance a package is from the main sequence? ** | ||
+ | |||
+ | /* --== Question Answer separator ==-- */ | ||
+ | |||
+ | Answer: The absolute value of the abstractness plus instability minus one. | ||
/* --== Answer Question separator ==-- */ | /* --== Answer Question separator ==-- */ |
study_questions.1262998201.txt.gz · Last modified: 2017/01/01 19:54 (external edit)