NYC Stock Worker Exam ACTUAL VERIFIED EXAM
COMPLETE QUESTIONS AND CORRECT ANSWERS
LATEST UPDATE THIS YEAR.pdf||NEWEST EXAM!!!
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?
a. String
b. Float
c. Char
d. Decimal - Answer-a. String
Need a string to store characters.
,2|Page
In which order do the typical phases of the Software
Development Life Cycle occur? - Answer-Requirements
gathering, design, development, and testing
Which service can host an ASP.NET application? -
Answer-Internet Information Services
By using the Internet Information Services (IIS) manager,
you can create a local Web site for hosting an ASP.NET
Web application.
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?
a. in both the client-side code and the server-side code
b. in the client-side code only
,3|Page
c. in the Web.config file
d. in the server-side code only - Answer-a. in both the
client-side code and the server-side code
From version 2.0 on, ASP.NET recognized the JavaScript
capabilities of these browsers, so client-side validation is
now available to all modern browsers, including Opera,
Firefox, and others. Support is even better now in
ASP.NET 4.0. That said, its important not to forget that
JavaScript can be disabled in any browser, so client-side
validation cannot be relied uponwe must always validate
any submitted data on the server.
You are creating an application for a help desk center.
Calls must be handled in the same
order in which they were received. Which data structure
should you use?
a. Binary tree
b. Stack
, 4|Page
c. Hashtable
d. Queue - Answer-d. Queue
A queue keeps the order of items in which they are
entered.
Which programming language is characterized as client-
side, dynamic and weakly typed? - Answer-JavaScript
JavaScript is characterized as a dynamic, weakly typed,
prototype-based language with first-class functions. It is
primarily used in the form of client-side JavaScript for the
development of dynamic websites.
How should you configure an application to consume a
web service?
a. Add the web service to the development computer.
b. Add a reference to the web service in the application.
c.Add a reference to the application in the web service.