0% found this document useful (0 votes)
18 views5 pages

Review t2

Uploaded by

alyssajagroop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views5 pages

Review t2

Uploaded by

alyssajagroop
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

First Normal Form (1NF) are repeating groups of data not allowed within a single column

Long data types – you would use to store a variable that contains a large, positive integer

Algorithm—A set of ordered and finite steps to solve a given problem.


Array—A collection of items in which each item can be accessed by using a unique index.
Constant—A data field or local variable whose value cannot be modified.
Decision table—A compact and readable format for presenting the algorithm that involves a large
number of conditions.

You are designing a messaging system where messages must be processed in the order they are
received. Which data structure would be the most suitable to implement this system?

Queue

Given the class Rectangle below, which statement best describes how the length and width fields are
accessed?

They can be accessed using public methods or properties of the class.

Which operation would you use to examine the item at the front of a queue without removing it?

Peek

Why is QuickSort generally considered more efficient than BubbleSort for large datasets?

QuickSort uses partitioning to reduce the number of comparisons

Which SQL command would you use to add a new row of data to a database?

INSERT
When designing a Web service that needs to be compatible across different programming
environments, which technology would you prioritize to ensure interoperability?

SOAP for message formatting

How can you identify a one-to-many relationship in an entity-relationship diagram (ERD)?

By the presence of “1” and “N” labels on the relationship lines

In the ALM process, which phase involves generating system manuals and help files?

Development

arrays—A collection of items stored in a contiguous memory location and addressed using one or more
indices.
black-box testing—Mostly used to make sure a software application covers all its requirements.
BubbleSort—A sorting algorithm that uses a series of comparison and swap operations to arrange the
elements of a list in the correct order.
linked lists—A collection of nodes arranged so that each node contains a link to the next node in the
sequence.
QuickSort—A sorting algorithm that uses the partitioning and comparison operations to arrange the
elements of a list in the correct order.

If you declare a variable string name = "John"; what kind of data type is string in C#?

Reference type

What is the purpose of a constructor in a class?

To create and initialize objects of the class.

What is the primary role of HTML in web development?

To structure and display content on web pages


If a class is declared as sealed, this means the class cannot be inherited by another class.

JavaScript—A client-side scripting language that runs inside Web browsers to help create interactive
Web pages.
SOAP—The protocol for exchanging structured information in a Web service communication between
two remote computers

Which access modifier allows unrestricted access to a class member?

Public

Given the task to sum the numbers from 1 to 100, which loop structure is best suited?

for loop

In a decision table, how are the action items determined?

By finding matching conditions

What is necessary before a Windows service can be used- It must be installed in the Windows service
database

Web service—A software component that can be accessed over a network using standard network
protocols such as HTTP. Web services are described using the Web Service Description Language
(WSDL).
Web Service Description Language (WSDL)—An XML-based language for describing Web services.

Which method would be most appropriate to deploy a complex ASP.NET Web application that requires
custom actions during installation?

Deploying the application using Windows Installer


How can console-based applications interact with users?

By using text-mode console windows and command-line parameters

Project Manager is primarily responsible for ensuring that a software project stays on budget and
finishes on time

In a stack implementation, which operation will result in an error if the stack is empty- Pop

Which class in .NET would you use to work with flat files- System.IO

command-line parameters—The parameters sent to a program being called.


Console—Programs that are designed to be used via a text-only interface.
delegates—The Windows Forms event model uses .NET Framework delegates to bind events to their
respective event handlers.
events—Actions that are generated as a result of user actions and make programs interactive.
installer—A program that installs different types of applications onto a computer.
visual inheritance—Allows you to reuse existing functionality and layout for Windows Forms.
Windows service—A long-running application that runs in the background and doesn’t require any user
intervention.
Second Normal Form (2NF) requires that all non-key columns are functionally dependent on the entire
primary key?

If you were to add a method called `StopEngine()` to the `Car` class, what does this illustrate about the
relationship between classes and methods?

Methods like `StopEngine()` represent actions that objects of the `Car` class can perform.

Which component of the .NET Framework is primarily responsible for enabling the development of Web
forms and Web services in ASP.NET? - ASP.NET Worker Process (aspnet_wp.exe)

Polymorphism in object-oriented programming is the ability of a single function or method to work in


different ways based on the input or the object it is acting upon.

You might also like