POS/408T Week 5  
                   
                Everything listed for Week 5 is included in purchase!!   
                  
                Week 5 Labs Assignment (with Answers)! A+ Work! 
                
                  - LAB: Using  the while loop for printing Fionacci series
 
                  - LAB: Creating  multiple arguments in a function
 
                  - LAB: Using  the nested for loop for printing a pattern
 
                  - LAB: Using  the do-while loop
 
                  - LAB: Using  the if-else statement within the while loop
 
                 
Pre-Assessment  
  NOTE: Questions are probably not in the same order, Please check below to make sure your questions are on the quiz.
  - Which of the following control  events occurs continually as the mouse travels over the control? 
 
  - What are the features of dependency  properties?
 
  - Which of the following properties  allows a user to edit the text in the TextBox when this is set to true? 
 
  - Which of the following specifies the  space to leave blank around the edges of controls? 
 
  - Which of the following statements is  true about a ComboBox?
 
  - What kind of information is  transferred to the WPF when a class implements the INotifyPropertyChanged interface?
 
  - Which of the following panels  enables flexible positioning of child controls?
 
  - Which of the following binding  components specifies the object on which binding is used?
 
  - Why is PCL taken into consideration? 
 
  - Which layout control holds a single  child that will be sized to completely fill this control? This task contains  the radio buttons and checkboxes for options. The shortcut keys to perform this  task are A to H and alt+1 to alt+9.
 
 
WK5 Flashcards 
  Study  the flashcards to ensure you understand this week's lesson. Note: Use the Glossary  of terms to review terms and definitions  
  
WK5 uCertify (NEW) Final Exam 
  - Which of the following capabilities are designed  using XAML?
 
  - Which of the following statements are true of a  namespace in C# .NET?
 
  - Which of the following lines of code will be  placed on Line 1 to print the required output?
 
  - Which of the following lines of code is required  to compile the given code successfully?
 
  - Which common layout panel enables flexible  positioning of child controls?
 
  - In which of the following situations can a code  enter in the break mode?
 
  - What will be the value of ob2.a after line 1 in  the following lines of code?
 
  - What do you understand by managed codes?
 
  - Which of the following expressions is the odd  one out?
 
  - Consider the given C# program. Which of the  following code snippets are appropriate to complete the given code for  producing the required output?
 
  - What will be the output of the following C#  program?
 
  - In which of the following situations can a hidden  member access the base class member from the derived class?
 
  - What will be the output of the following C#  program?
 
  - Which of the following statements are true  regarding the following code snippet?
 
  - Which of the following is an ideal framework for  building RESTful HTTP services that support a broad variety of clients?
 
  - WPF provides a far more flexible and powerful  way to create desktop applications by replacing which of the following?
 
  - Why are assemblies useful while deploying  applications?
 
  - If members are accessible only from code that is  part of either the class or a derived class, then which accessibility level  should be used?
 
  - What will be the output of the following code?
 
  - What is the output of the following C# program?
 
  - What will be the output of the following C#  program?
 
  - Which of the following are the bitwise operators  in C#?
 
  - Considering the following code snippet, which of  the following statements are correct?
 
  - Which of the following statements is true  regarding the given C# program?
 
  - What is the role of a solution in Visual Studio?
 
  - What are the correct ways to initialize the  variables x and y to a value 5 each?
 
  - What will be the output of the following C#  program?
 
  - In which of the following situations can a code  enter in the break mode?
 
  - What will be the output of the following C#  program?
 
  - Which Visual Studio tool will you use to find  and use all available objects of a project and view their properties, methods,  and events?
 
 
WK5 uCertify (Additional Questions) 
  - Consider the given C# program (“Mango”, “Apple”, “Cherry”).  Which of the following code snippets are appropriate to complete the given code  for producing the required output?
 
  -     Which of the following Code snippets are appropriate to  complete the given code for producing the require output?
 
  -     In which of the following situations can a code enter in the  break mode?
 
  -     What will be the output of the following C# program?
 
  -     What will be the output of the following C# program?
 
  -     Consider the following C# program. Which of the following  lines of code will be placed on Line 1 to print the required output?
 
  -     What will be the output of the following C# program?
 
 
Post-Assessment  
  NOTE: Questions are probably not in the same order, Please check below to make sure your questions are on the quiz.
   
  - Which of the following statements is true for  the given lines of code? If you instantiate myDerivedClass using the  MyDerivedClass myObj = new MyDerivedClass(); statement, then what will be the  sequence of events that occur?
 
  - Which of the following statements is true for  the given lines of code? 
 
  - Which of the following statements is true in  respect to the following code?
 
  - What will be the output of the following code?
 
  - Which of the following is the correct way to  declare a delegate for calling the function f() defined in the given program?
 
  - Which of the statements is correct regarding the  given C# program?
 
  - What is the output of the following C# program?
 
  - Which of the following is the correct statement  about an exception?
 
  - What will be the output of the following code?
 
  - What will be the output of the following code?
 
  - What is the use of the immediate window in  Visual Studio?
 
  - Which of the following is true regarding the  given code?
 
  - What will be the value of the Boolean variable  result if a = true and b = false for the following expression?
 
  - Which of the following control program flow  options runs to the end of the code block and resumes the break mode at the statement  that follows?
 
  - What will be the output of the following code?
 
  - Which of the following is responsible for the  execution of all applications developed using the .NET Library?
 
  - How many number constructors can be defined in a  class?
 
  - Which of the following is an application that  has the look and feel of a standard Windows application?
 
  - Consider the following code.    Which line of code will you use to  instantiate MyNestedClass from the outside MyClass?
 
  - Consider the following code. At which line  should you place the breakpoint to enter break mode just before the error is  caused on the 5,000th cycle?
 
  - Consider the following code. Which of the  following statements are true for the above code? Each correct answer  represents a complete solution. Choose all that apply.
 
  - What will be the output of the following code?
 
  - Which of the following instructions that can  interrupt application execution with a user-defined message?
 
  - Which of the following windows shows the way in  which the program reached the current location?
 
  - What will be the output of the following C#  program?
 
  - Consider the following C# program. Which of the  following return functions m() print the output as 3?
 
  - What will be the output of the following C#  program?
 
  - Which of the following is not true about exception  handling in C#?
 
  - What will be the output of the given code?
 
  - Consider the following code. What will be the  output if we remove the second partial class definition from the given code?
 
  - Which of the following contains APIs for basic  actions that most developers need a program to do?
 
  - Which of the following applications provide  services for supporting a broad variety of clients, including mobile device and  browser?
 
  - Which of the following statements are true about  partial methods?
 
  - How a developer is able to display a message on  the output window without a temporary pause at the point of debugging?
 
  - What is the error in the following C# program?
 
  - What will be the output of the following code?
 
  - Which of the following is the correct order of  the given operators in C#?
 
  - Consider the following object hierarchy.   If you instantiate MyDerivedClass using the  MyDerivedClass myObj = new MyDerivedClass(); statement, then what will be the  order of events that will occur?
 
  - Which of the following is the correct way of  implementing an interface addition by the class maths?
 
  - What is a function of the Solution Explorer  window in Visual Studio?
 
 
  
Pluralsight Skill IQ C# Assessment 
NOTE: Questions are probably not in the same order, Please check below to make sure your questions are on the quiz.
   
  
Pluralsight Quiz #1 (NEW) 
  - What best  describes the SelectMany () Language integrated Query (LINQ) extension method?
 
  - What type of key  is being used in this Language Integrated Query (LINQ) to join the data from  three tables?
 
  - Given these two  method overloads:  What will the  following code do?
 
    What does the (ServiceContract) attribute do in this interface class? 
  - What steps are  required to initialize and handle the NumberRandomized event?
 
  - What will the  value of fact2 be after the code executes?
 
  - Consider this  code public static class MyClass { // etc.    What effect does the keyword static have on the class?
 
  - Regarding  polymorphism, which statement is true?
 
  - What type of key  must you use to group by more than one key in a Language Integrated Query  (LINQ) query?
 
  - Review the  following snippet of code: A7.B7.Do (C);   In regards to the statement “null-conditional operators are  short-circuiting”, which statement is true?
 
  - Which statement best describes the following class?
 
  - Where would you normally use the C# await operator?
 
  - You have three DateTime Value: dateToCheck   beginningDate  endingDate       Assuming that beginningDate is  less than endingDate, which line of code will return a Boolean value indicating  if the dateToCheck value is within the beginningDate and endingDate range?
 
  - Which of the following is the correct syntax for  declaring and initializing an array of int?
 
  - The following snippet of code is using LINQ to return  the count of the unique values in a Dictionary<TKey, TValue>. The count  is returning the number of items in the dictionary and not the unique value  count, however var uniqueCount = dictionary.Values.Count();    What must you change to return the correct  number of unique values?
 
  - What is the difference between Action<T> and  Func<TResult>?
 
  - This Employee class implements the interface IEmployee  but there is a compiler error. What is the cause of this error?
 
 
Alternate Pluralsight Quiz #2
1. Consider the following variable declaration. 
     var quote = "If  we knew what it was we were doing, it would not be called  research-Albert  Einstein";.  Which choice  
      will correctly  split quote to produce these values?      
2. Which method is the safest way to convert an unknown string  value to a numeric  value?  
3. Considering the following snippet of code, where will the break  statement cause execution to transfer to? 
4. By using interfaces, you can include behavior from multiple  sources in a class. Why is  this capability especially  
     important in regards to  C#?  
5. Which statement best describes  the following class?  
6. Which statement describes this line of code? 
7. Both of the following classes have methods named DoMath(). Both return integer  
     values and both are within the scope of  the code you are writing, but they perform  
     very different functions. Which code  snippet correctly calls the class Math1's DoMath  
     () method? 
8. The following code is not compiling. What is the problem with this block of code? 
9. What is the correct  process to explicitly declare a variable  with the data type of string and set the value to "cat"?" 
10. What will the output to the console be after this code executes? 
  
              POS/408T Discussion Questions (and 5 Answers)! A+ Work 
              Wk 5 -  Discussion - Applying Data Structures and Sorting  
              Includes 5 Answers to this DQ! A+ Work! 
              Knowing when to apply a data structure for a given business problem is an important  skill for developers to know. 
              Research the  following .NET data structures: 
              •   List 
              •  ArrayList 
              •  LinkedList 
              Discuss examples  of business problems that could be solved using each of the data structures. 
              Knowing how to sort data in an array and knowing which sorting algorithm to use makes  implementing sorting easier. 
              Discuss different  ways to sort an array in C#. What do you see as the advantages and  disadvantages of each type of sorting algorithm? 
              Reply  to at least 2 of your classmates. Be constructive and professional in your  responses. 
  
  
  
   |