Software Development Fundamentals
Question No: 91 – (Topic 1)
You have a website that includes a form for usemame and password.
You need to ensure that users enter their username and password. The validation must work in all browsers.
Where should you put the validation control?
in both the client-side code and the server-side code
in the client-side code only
in the Web.config file
in the server-side code only
Question No: 92 – (Topic 1)
This question requires that you evaluate the underlined text to determine if it is correct. A data dictionary that describes the structure of a database is called metadata.
Select the correct answer if the underlined text does not make the statement correct. Select quot;No change is neededquot; if the underlined text makes the statement correct.
No change is needed
a database management system (DBMS)
Question No: 93 – (Topic 1)
You plan to create an application for your company. The application will run automated routines and write the results to a text-based log file. Little or no user interaction is required.
Security requirements on the host computers prevent you from running applications on startup, and users must be able to see the status easily on the screen. The host computers also have limited memory and monitors that display only two colors. These computers will have no network connectivity.
Which type of application should you use for this environment?
Windows Store app
Explanation: Building Console Applications
Applications in the .NET Framework can use the System.Console class to read characters from and write characters to the console. Data from the console is read from the standard input stream, data to the console is written to the standard output stream, and error data to the console is written to the standard error output stream.
Question No: 94 – (Topic 1)
You are developing an application that tracks tennis matches. A match is represented by
the following class:
A match is created by using the following code:
How many times is the Location property on the newly created Match class assigned?
Question No: 95 DRAG DROP – (Topic 1)
You are developing an application that displays a list of race results. The race results are stored in the following class:
You need to implement the Add Race method.
Match the code segment to its location. (To answer, drag the appropriate code segment from the column on the left to its location on the right, Each code segment may be used once, more than once, or not at all. Each correct match is worth one point.)
Question No: 96 – (Topic 1)
The purpose of a constructor in a class is to:
Initialize an object of that class.
Release the resources that the class holds.
Create a value type.
Inherit from the base class.
Explanation: Each value type has an implicit default constructor that initializes the default value of that type.
Question No: 97 – (Topic 1)
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?
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.
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 No: 98 – (Topic 1)
You are developing a webpage that enables students to manage races.
The webpage will display two lists: past races and upcoming races. The page also contains a sidebar with contact information and a panel with social media settings that can be edited. Race results can be shared on social media.
How many components will be on the webpage?
Question No: 99 – (Topic 1)
The following functions are defined:
What does the console display after the following line? Printer(2);
Question No: 100 – (Topic 1)
You are creating a variable for an application.
You need to store data that has the following characteristics in this variable:
->Consists of numbers and characters
->Includes numbers that have decimal points
Which data type should you use?
Explanation: Need a string to store characters.
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|