Download Microsoft.98-361.PremiumDumps.2020-10-05.164q.vcex

Download Exam

File Info

Exam Software Development Fundamentals
Number 98-361
File Name Microsoft.98-361.PremiumDumps.2020-10-05.164q.vcex
Size 4 MB
Posted Oct 05, 2020
Download Microsoft.98-361.PremiumDumps.2020-10-05.164q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

You are creating an application for computers that run Windows XP or later. This application must run after the computer starts. The user must not be aware that the application is running. 
The application performs tasks that require permissions that the logged-in user does not have. 
Which type of application allows this behavior?


  1. Windows Service application
  2. Windows Forms application
  3. DOS batch file
  4. Terminate-and-stay-resident (TSR) program
  5. Windows Store app 
Correct answer: A



Question 2

An application presents the user with a graphical interface. The interface includes buttons that the user clicks to perform tasks. Each time the user clicks a button, a method is called that corresponds to that button. 
Which term is used to describe this programming model? 


  1. Functional
  2. Service oriented 
  3. Structured
  4. Event driven
Correct answer: D



Question 3

How does a console-based application differ from a Windows Forms application?


  1. Console-based applications require the XNA Framework to run.
  2. Windows Forms applications do not provide a method for user input.
  3. Windows Forms applications can access network resources.
  4. Console-based applications do not display a graphical interface.
Correct answer: D



Question 4

Which type of Windows application presents a parent window that contains child windows?


  1. Application programming interface (API)
  2. Single-document interface (SDI)
  3. Multiple-document interface (MDI)
  4. Command-line interface (CLI)
Correct answer: C
Explanation:
A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other. 
A multiple document interface (MDI) is a graphical user interface in which multiple windows reside under a single parent window. Such systems often allow child windows to embed other windows inside them as well, creating complex nested hierarchies. This contrasts with single document interfaces (SDI) where all windows are independent of each other. 



Question 5

The purpose of a constructor in a class is to:


  1. Initialize an object of that class.
  2. Release the resources that the class holds.
  3. Create a value type.
  4. Inherit from the base class.
Correct answer: A
Explanation:
Each value type has an implicit default constructor that initializes the default value of that type.
Each value type has an implicit default constructor that initializes the default value of that type.



Question 6

A class named Manager is derived from a parent class named Employee. The Manager class includes characteristics that are unique to managers. 
Which term is used to describe this object-oriented concept?


  1. Encapsulation
  2. Data modeling
  3. Inheritance
  4. Data hiding
Correct answer: C
Explanation:
Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. Incorrect:not A: Encapsulation is sometimes referred to as the first pillar or principle of object-oriented programming.According to the principle of encapsulation, a class or struct can specify how accessible each of its members is to code outside of the class or struct. Methods and variables that are not intended to be used from outside of the class or assembly can be hidden to limit the potential for coding errors or malicious exploits.
Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors. 
Incorrect:
not A: Encapsulation is sometimes referred to as the first pillar or principle of object-oriented programming.
According to the principle of encapsulation, a class or struct can specify how accessible each of its members is to code outside of the class or struct. Methods and variables that are not intended to be used from outside of the class or assembly can be hidden to limit the potential for coding errors or malicious exploits.



Question 7

Which term is used to describe a class that inherits functionality from an existing class?


  1. Base class
  2. Inherited class
  3. Derived class
  4. Superclass
Correct answer: C
Explanation:
Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors.
Classes (but not structs) support the concept of inheritance. A class that derives from another class (the base class) automatically contains all the public, protected, and internal members of the base class except its constructors and destructors.



Question 8

Two classes named Circle and Square inherit from the Shape class. Circle and Square both inherit Area from the Shape class, but each computes Area differently. 
Which term is used to describe this object-oriented concept?


  1. polymorphism 
  2. encapsulation
  3. superclassing 
  4. overloading
Correct answer: A
Explanation:
You can use polymorphism to in two basic steps:Create a class hierarchy in which each specific shape class derives from a common base class. Use a virtual method to invoke the appropriate method on any derived class through a single call to the base class method.
You can use polymorphism to in two basic steps:
Create a class hierarchy in which each specific shape class derives from a common base class. 
Use a virtual method to invoke the appropriate method on any derived class through a single call to the base class method.



Question 9

You create an object of type ANumber. The class is defined as follows. 
    
What is the value of _number after the code is executed?


  1. Null 
  2. 0
  3. 3
  4. 7
Correct answer: C



Question 10

You need to allow a consumer of a class to modify a private data member. 
What should you do? 


  1. Assign a value directly to the data member.
  2. Provide a private function that assigns a value to the data member.
  3. Provide a public function that assigns a value to the data member.
  4. Create global variables in the class.
Correct answer: C
Explanation:
In this example (see below), the Employee class contains two private data members, name and salary. As private members, they cannot be accessed except by member methods. Public methods named GetName and Salary are added to allow controlled access to the private members. The name member is accessed by way of a public method, and the salary member is accessed by way of a public read-only property. Note: The private keyword is a member access modifier. Private access is the least permissive access level.Private members are accessible only within the body of the class or the struct in which they are declared Example:class Employee2 { private string name = "FirstName, LastName"; private double salary = 100.0; public string GetName() {   return name; } public double Salary {   get { return salary; } } } 
In this example (see below), the Employee class contains two private data members, name and salary. As private members, they cannot be accessed except by member methods. Public methods named GetName and Salary are added to allow controlled access to the private members. The name member is accessed by way of a public method, and the salary member is accessed by way of a public read-only property. 
Note: The private keyword is a member access modifier. Private access is the least permissive access level.
Private members are accessible only within the body of the class or the struct in which they are declared 
Example:
class Employee2 
private string name = "FirstName, LastName"; 
private double salary = 100.0; 
public string GetName() 
  return name; 
public double Salary 
  get { return salary; } 









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files