New Semester
Started
Get
50% OFF
Study Help!
--h --m --s
Claim Now
Question Answers
Textbooks
Find textbooks, questions and answers
Oops, something went wrong!
Change your search query and then try again
S
Books
FREE
Study Help
Expert Questions
Accounting
General Management
Mathematics
Finance
Organizational Behaviour
Law
Physics
Operating System
Management Leadership
Sociology
Programming
Marketing
Database
Computer Network
Economics
Textbooks Solutions
Accounting
Managerial Accounting
Management Leadership
Cost Accounting
Statistics
Business Law
Corporate Finance
Finance
Economics
Auditing
Tutors
Online Tutors
Find a Tutor
Hire a Tutor
Become a Tutor
AI Tutor
AI Study Planner
NEW
Sell Books
Search
Search
Sign In
Register
study help
computer science
systems analysis design
C# Programming From Problem Analysis To Program Design 5th Edition Barbara Doyle - Solutions
A(n)_____ is a mock-up of desired output.a. prototypeb. algorithmc. diagramd. specificatione. none of the above
The fully qualified call to the method that allows the user to input a single character is:a. Console.System.Read( )b. System.Console.Read( )c. Console.System.Write( )d. System.Console.Write( )e. System.Console.ReadLine( )
Which of the following is a keyword?a. Main( )b. Systemc. usingd. WriteLinee. all of the above
To mark the beginning and end of a block of code, C# programmers use:a. [ ]b. { }c. ( )d. begin ende. start stop
A(n) _____ groups semantically related types under a single name.a. objectb. classc. methodd. namespacee. directive
System is an example of a(n):a. objectb. classc. methodd. namespacee. directive
Which beginning symbol(s) indicates the lines that follow will be comments?a. /*b. **c. ///d. */e. //
ASP.NET creates which type of application?a. Windowsb. consolec. commandd. Webe. services
Which of the following is the name of a namespace needed for Console applications?a. usingb. Consolec. System.Consoled. Writee. System
With the object-oriented methodology, the data members are referred to as:a. attributes or characteristicsb. characteristics or behaviorsc. methods or attributesd. behaviors or methodse. attributes or behaviors
After designing your solution, you should _____ before typing any code.a. analyze the problem definitionb. check for run-time errorsc. do maintenance on the solutiond. desk check the solutione. determine what .NET class to use
Cycling back to previous phases as potential problems are uncovered is an example of:a. object-oriented programmingb. stepwise refinementc. intermediate languaged. iterative developmente. structured programming
In which phase of the software development process would probing questions be used to verify the problem definition?a. analysisb. designc. codingd. implementatione. testing
The following strategy reduces the amount of time in development and produces more efficient solutions:a. Code the solution as soon as possible.b. Design the solution before coding.c. Analyze the solution before testing and debugging.d. Build a prototype during testing.e. Use a simple, low-level
The program that translates high-level programming language into machine-readable form is a(n):a. applicationb. operating systemc. C# programd. compilere. machine language utility
All of the following are examples of high-level programming languages, except:a. C#b. Cc. Javad. C++e. Assembly
Write a program that produces a report showing the number of students who can still enroll in given classes. Test your solution by retrieving the data from a text file that you create using a text editor, such as Notepad.Some sample data follows. Include the name of the class, current enrollment,
Create a website that retrieves and displays the current department chairs from a database. The StudentDataBase.accdb Access database used with examples in this book includes a major table that stores the major id, major name, department chair, and the department phone number. Create a website that
Create a Web application that enables the user to enter first name, last name, and e-mail address. Accept those values and store them in a text file. Allow the user to input the path where the file should be stored.After retrieving the values from the user, display on the web page both the full
Create a dynamic website that functions like a calculator. Add features for addition, subtraction, multiplication, division, modulation, and so on.
Create a similar application to what you developed in Exercise 4 using the ASP.NET Empty Web Site template. Include an HTML server control that causes a message to be displayed (on a Label object) when the user clicks a button. The message should include additional details about the locale.
The computer club has decided to take a field trip to the hometown of one of the members during spring vacation. To determine the destination, each member has been charged with creating a web page to highlight the features of his or her hometown. Create a Web application using the ASP.NET Web Forms
Using Web Forms controls, create a Web application to store a user’s To Do List. Include two TextBox objects, a Button object and a ListBox object. Allow users to input their name in one TextBox and To Do tasks into the other TextBox. Use those values to populate the ListBox object. Allow users
The computer club is selling T-shirts. Create a website that allows users to enter their first and last names, phone number, and e-mail address.Allow users to select sizes (S, M, L, XL, and XXL) and quantity. Add statements that process the order by calculating the total cost. All shirts except the
Create a Web application that enables users to select from a Calendar control object the date of their next exam. Using program statements, retrieve their selection and then display the date along with an appropriate message. If they select a date in the past, display a message and allow them to
What are the hardware requirements for developing iOS using Visual Studio?
Identify and describe three types of validation controls that can be added to a Web application.
Compare and contrast HTML controls with Web Forms controls in terms of the code generated and the property values that can be set.
How do dynamic pages differ from static pages?
___________ includes a library of classes that enables developers to build user interfaces for iOS, Android, and Windows Phone with the different platforms’ apps sharing C# code.a. content pagesb. Xamarin.Formsc. Web serviced. HTML controle. none of the above
What software company did Microsoft partner with to provide crossplatform mobile development?a. Googleb. Applec. Xamarind. Monoe. Ximirin
Square brackets were used around the identifier with SQL statements to:a. enable a space to be included as part of a nameb. indicate an entry is optionalc. add multiple argumentsd. indicate keyword followse. none of the above
There are a number of events that fire up automatically and sequentially on web pages. They include:a. LoadPostBackData( )b. Page_Load( )c. Page_Pre_Init( )d. LoadViewState( )e. all of the above
Master pages also require one or more:a. content pagesb. serverc. Web serviced. HTML controle. none of the above
A file ending with the extension of .xaml is associated with which type of application?a. WebServiceb. WebClassc. Web applicationd. Mobile applicatione. all of the above
To work programmatically with the Calendar control, instantiate an object of the ___________ class.a. Calendarb. DateTimec. Dated. CalendarDatee. none of the above
The validation control used to make sure that values have been entered into a field is:a. RangeValidatorb. FieldRequiredValidatorc. CompareValidatord. RequiredFieldValidatore. Required
Which control is often used to display data from a database table?a. DataGridb. DataTablec. Tabled. DataListe. none of the above
Events associated with which of the following automatically trigger a postback to the Web server?a. ListBoxb. TextBoxc. DropDownListd. Buttone. all of the above
The default home directory for storing C# Web applications when IIS is used is:a. C:\CSharpProjectsb. C:\localhostc. C:\InetPub\wwwrootd. C:\WebAppse. none of the above
When you set property values for Web Forms controls, the program statements referencing the settings are:a. placed in the code-behind fileb. placed in the .aspx.cs filec. stored in the .aspm filed. stored in the file containing the HTML tagse. none of the above
The HTML control property used to set the text on a label is:a. Textb. Namec. InnerTextd. IDe. none of the above
ASP.NET applications are characterized by which of the following?a. Program statements written in languages such as Java are included inside the HTML file.b. A code-behind file is created.c. Only formatting HTML tags can be used with the application.d. Only static pages can be developed.e. Script
Presentational attributes, such as sizes and colors of fonts and alignment of text, can be placed in a separate file if ___________ are used.a. Cascading Style Sheetsb. Web controlsc. Master pagesd. HTML server controlse. none of the above
Web pages do not require any processing by the server when they only include which of the following?a. HTML controlsb. HTML server controlsc. Web Forms controlsd. HTML controls or HTML server controlse. HTML controls, HTML server controls, or Web Forms controls
The term used to reference converting an HTML document into a viewable format for display purposes is:a. requestb. hostc. illustrated. viewStatee. render
Interaction with users on Web applications cannot include the use of:a. MessageBoxb. Labelc. TextBoxd. ListBoxe. Button
The term Web application is synonymous with:a. Web serverb. IISc. Web Formsd. Web pagee. Website
.NET Web applications differ from Windows applications in that Web applications must take the following into consideration:a. Multiple users need to be able to access the application at the same time.b. An application must be viewable by multiple types of platforms, including Linux and Windows.c.
Using the database created in Programming Exercise 8, write a C# program that retrieves records from the customer table and displays them in a grid control. Allow the user to select an entry from the data grid and display the values selected in text boxes with appropriate labels. Display the
Using the database created in Programming Exercise 8, write a C# program to display the customer number and name in a data grid. Format the grid control so that it is professionally aesthetically appealing.Allow the user to add records to the database. If your designed solution involves the use of
Create a small database to include customer data. Include the customer numbers, customer names, and customer directional locations. Place at least eight records in the database. For the customer directional location field, use the designations of N for North, S for South, and so on.The type of
Create a Books database to include two tables: BookTable and Course-BookTable. The BookTable table should have fields for ISBN number, title, copyright date, primary author, publisher, and number of pages.The CourseBookTable table should have fields for course number and ISBN. Populate the tables
Create a small Sports database with two tables: Team and Athlete. The Team table should include fields for the type of team (e.g., basketball), coach’s name (both last and first), and the season the sport is most active(S for spring, F for Fall, or B for both). The Athlete table should include
Using the database created in Programming Exercise 2, write a C# program to display the names and type of relationship of the members of your family who live in the same hometown as you do. Do not include yourself in the query result. It may be necessary for you to go back into your database and
Using the database created in Programming Exercise 2, write a C# program to only display the names of the members of your family who are over 21 years of age. Display their name, age, and relationship to you.Provide an appropriate heading for the displayed items on the form and format the grid
Using the database created in Programming Exercise 2, modify your solution to only display the names of the members of your family in a data grid. Dock the grid so that it fills the form. Change the color of the data grid columns, increase the size of the font, choose appropriate headings for your
Create a small Family database with one table to include data about members of your family. Include data fields such as first name, last name, type of relationship, hometown, and age. Include one field that uniquely identifies each record, such as a family member number. You can be creative with
Create a small BankAccount database with one table storing account details. The Account table should have fields for account number, customer last and first names, and current balance. The type of database(SQL Server or Access) will be determined by your instructor. Populate the table with 8–10
How does a table adapter differ from a data adapter?
How can you have controls (other than the default Data Sources window controls) display data from a database table?
What happens when you drag a dataset table from the Data Sources window onto a blank form?
Write SQL statements for the following:a. Retrieve all partNumber and partDescription columns from a Parts table that has 15 different columns.b. Retrieve records from a Parts table for partNumbers 1000 through 2000. Display the partDescription only.c. Insert a new record into a Customer table.
Explain how the dataset, table adapter, and data grid objects are used to update a database.
A connection string contains:a. a using directiveb. the name of the data sourcec. the version number of database management systemd. the list of fields in the databasee. an SQL statement
Which window is used in Visual Studio to display dataset tables so they can be dragged and dropped onto the form?a. Server Explorerb. Propertiesc. DataSet Designerd. Data Sourcese. Solution Explorer
Which database wizard in Visual Studio enables you to connect to a database and automatically populate a DataSet object using a TableAdapter object?a. Data Source Configurationb. Data Sourcec. Query Builderd. DataSet Designere. TableAdapter Query Configuration
Which method is used to originally populate a data-bound control?a. Dataset Fill( ) methodb. Dataset Update( ) methodc. TableAdapter Fill( ) methodd. BindingNavigator Save( ) methode. PageLoad( ) event-handler method
To retrieve specific records from a database, you could create a new query and have it stored as a method using an object of the ______________ class.a. DataSetb. DataProviderc. TableAdapterd. Connectione. Command
To release the database so that it can be used by other applications, which method should be invoked?a. ReleaseDb( )b. Release( )c. StopAccess( )d. Close( )e. none of the above
To avoid writing additional SQL statements to update a live database, you instantiate an object of which class?a. DataAdapterb. DataReaderc. Connectiond. CommandBuildere. DataGrid
Which class is used with the DataSet class to facilitate using a disconnected database?a. DataAdapterb. DataReaderc. Commandd. OleDbConnectione. Fill
To provide access to an Access database management system, which data provider is used?a. System.Data.OleDbb. System.Data.SqlClientc. System.Data.Odbcd. System.Data.OracleCliente. Microsoft ACE.OLEDB.12.0
For read-only access to databases, which ADO.NET class is used?a. DataSetb. DataAdapterc. CommandBuilderd. Connectione. DataReader
The following namespaces (System.Data.OleDB, System.Data.SqlClient, System.Data.Odbc, System.Data.OracleClient) include classes for different:a. data providersb. file streamsc. ADO.NET applicationsd. databasese. data readers
The SQL clause that can be added to a SELECT statement to retrieve data from multiple tables is:a. BETWEENb. INNER JOINc. CROSS CONNECTIONd. WHEREe. UPDATE
Parameters for SQL Server SQL statements are written slightly different from those written for an Access database. With SQL Server, a parameter is indicated using:a. @ followed by an identifierb. @ without an identifierc. ? followed by an identifierd. ? without an identifiere. a params keyword
Which of the following is a valid SQL statement that retrieves all four columns from the customer table?a. SELECT ALL FROM customerb. SELECT * FROM customerc. SELECT customerd. SELECT,,, , FROM customere. SELECT @@@@ FROM customer
Each data provider class is grouped and accessible through its:a. namespaceb. databasec. data gridd. providere. system
The core classes available with each data provider include all of the following except:a. Connectionb. DataAdapterc. Commandd. DataSete. DataReader
Databases store information in records, fields, and:a. data providersb. gridsc. columnsd. tablese. commands
Which of the following is the class name of a grid-like structure used to display data from a database?a. ComboBoxb. ListBoxc. DataGridViewd. Gride. GridData
All of the following are examples of ADO.NET data providers except:a. OLE DBb. Oraclec. ODBCd. Sql Servere. Access
An in-memory representation of multiple rows and columns of data from the database is stored in what type of object?a. data providerb. data readerc. datagridd. datasete. data adapter
Allow the user to enter multiple sets of five numbers. Store the numbers in a binary file. For each set of values, calculate and store the average of the numbers prior to retrieving the next set of values. For example, if the user entered 27 78 120 111 67 as the first set of values, the first
Write a graphical user application that accepts employee data to include employee name, number, pay rate, and number of hours worked. Pay is to be computed as follows: Hours over 40 receive time-and-a-half pay.Store the employee name, number, and the total amount of pay (prior to deductions) in a
Write an application that retrieves both string data and numbers from a text file. Test your solution by retrieving names of students and three scores per line from a text file. Process the values by calculating the average of the scores per student. Write the name and average to a different text
Write a program that displays a graphical user interface (Windows form)that allows multiple names, e-mail addresses, and local phone numbers to be entered. Allow only numbers to be entered for the phone number.Retrieve and store the values entered by the user in a text file and then ready the GUI
Write a program that retrieves numbers stored in a text file. Test your solution by retrieving data from a file that contains 10 different rows of data with five values per line. For your test, display the largest and smallest values from each row of data. Include appropriate exception-handling
Write a program that stores 50 random numbers in a file. The random numbers should be positive with the largest value being 1000. Store five numbers per line and 10 different lines. Use the Random class to generate the values. Include appropriate exception-handling techniques in your solution. When
Write a program that enables the user to input name, address, and local phone number, including area code. Encourage the user to include dashes between the numbers (i.e. xxx-xxx-xxxx) when they type in the value. Once retrieved, store the values in a text file. For the phone, surround the phone
Place 10 to 20 integer values in a text file. Write a C# program to retrieve the values from the text file. Display the number of values processed, the average of the values, formatted with two decimal places, and the smallest and largest values. Include appropriate exception- handling techniques
Write a C# program that prints the current directory and the name and size of all files that are stored in the directory. Your display should be aesthetically pleasing. Numbers should be number aligned and formatted with a thousand separator. Provide headings over the column listings.
Describe the differences between retrieving data from a text file versus retrieving it from a binary file.
Revise the solutions for Exercises 22 and 23 to include a try block and at least two appropriate catch clauses inside the method.
For the file created in Exercise 22, write a method that retrieves the values from the text file. Display 10 characters per line on the console output screen.
For the file declared in Exercise 21, write a method that stores the numbers 10 through 49 in the text file.
Write a file declaration for a file that holds text characters and can be stored in C:\CSharpProjects\WorkDirectory. The file will be used to store data.
All of the following methods of the BinaryReader class could be used to retrieve data, except:a. ReadChar( )b. Read( )c. ReadChars( )d. ReadInt( )e. ReadString( )
Which of the following methods could be used to retrieve a decimal value from a binary file?a. ReadDec( )b. ReadDecimal( )c. ReadNumber( )d. ReadDoubleValue( )e. ReadDecimalValue( )
Showing 300 - 400
of 5433
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Last
Step by Step Answers