Question

In: Computer Science

C# 1.Visual Studio .NET’s ___________ feature displays all the members in a class a.real-time error checking...

C#

1.Visual Studio .NET’s ___________ feature displays all the members in a class

a.real-time error checking

b.Quick Info

c.outlined code

d.Intellisense

2.An algorithm specifies the actions to be executed.

True

False

3.A(n) _________ occurs when an executed statement does not directly follow the previously executed statement in the written application.

a.unordered execution

b.transfer of control

c.action state

d.jump

4.The declarations and statements that compose the method definition are called the __________.   

a.method body

b.method header

c.parameter list

d.method name

5.The word directly following the return type (in a method header) is called the ___________.

a.method body

b.parameter list

c.argument

d.method name

6.Declaring a variable in the method’s body with the same name as a parameter variable in the method header is ___________.

a.a syntax error

b.a logic error

c.a logic error

d.not an error

e.a common programming practice

7.Failing to return a value from a non-void method __________.

a.is a syntax error

b.causes the application to fail

c.causes the method to return the default value for the return-type

d.causes the method to return the value 0

8.A(n) ____________ conversion occurs when C# converts one data type to another and the programmer has not provided code to perform the conversion.

a.explicit

b.implicit

c.narrowing conversion

d.widening

9.Statements using the ___________ class are explicit conversions.

a.Explicit

b.Convert

c.ExplicitConvert

d.ConvertType

10.If a local variable in a called method shares its name with a variable with class scope, then ____________.

a.a syntax error occurs

b.the local variable is assigned the value of the class scope variable

c.the class scope variable is hidden until the called method terminates execution

d.the local variable is hidden until the called method terminates execution

11.When an argument is passed ______________, the called method can access and modify the caller’s original data directly.

a.either by value or by reference

b.by value

c.using keyword ref

12.Enumerations can contain ___________ values.

a.only unique

b.an indefinite number of

c.up to 10

d.up to 100

13.To access a member of an enumeration, follow the enumeration name with __________ the member name.

a.a dot, followed by

b.parentheses surrounding

c.parentheses surrounding

d.a comma, followed by

e.an underscore character, followed by

14.Attempting to access an element in an array by using an index outside the array’s bounds _________.

a.is a syntax error

b.is an array-time error

c.is a run-time error

d.returns the data-type’s default value

e.returns the value of the last value in the array

Solutions

Expert Solution

Solution

--

solved first half of the question, really sorry for that

please post remaining question separately, love to answer

all the best


Related Solutions

C++ PROGRAM Using the attached C++ code (Visual Studio project), 1) implement a CoffeeMakerFactory class that...
C++ PROGRAM Using the attached C++ code (Visual Studio project), 1) implement a CoffeeMakerFactory class that prompts the user to select a type of coffee she likes and 2) returns the object of what she selected to the console. #include "stdafx.h" #include <iostream> using namespace std; // Product from which the concrete products will inherit from class Coffee { protected:    char _type[15]; public:    Coffee()    {    }    char *getType()    {        return _type;   ...
Programming Language: C# CheckingAccount class You will implement the CheckingAccount Class in Visual Studio. This is...
Programming Language: C# CheckingAccount class You will implement the CheckingAccount Class in Visual Studio. This is a sub class is derived from the Account class and implements the ITransaction interface. There are two class variables i.e. variables that are shared but all the objects of this class. A short description of the class members is given below: CheckingAccount Class Fields $- COST_PER_TRANSACTION = 0.05 : double $- INTEREST_RATE = 0.005 : double - hasOverdraft: bool Methods + «Constructor» CheckingAccount(balance =...
Using Visual Studio in C#; create a grading application for a class of ten students. The...
Using Visual Studio in C#; create a grading application for a class of ten students. The application should request the names of the students in the class. Students take three exams worth 100 points each in the class. The application should receive the grades for each student and calculate the student’s average exam grade. According to the average, the application should display the student’s name and the letter grade for the class using the grading scheme below. Grading Scheme: •...
ONLY USE VISUAL STUDIO (NO JAVA CODING) VISUAL STUDIO -> C# -> CONSOLE APPLICATION In this...
ONLY USE VISUAL STUDIO (NO JAVA CODING) VISUAL STUDIO -> C# -> CONSOLE APPLICATION In this part of the assignment, you are required to create a C# Console Application project. The project name should be A3<FirstName><LastName>P2. For example, a student with first name John and Last name Smith would name the project A1JohnSmithP2. Write a C# (console) program to calculate the number of shipping labels that can be printed on a sheet of paper. This program will use a menu...
This is in C# on visual Basic Write a base class that has two property members:...
This is in C# on visual Basic Write a base class that has two property members: name and contact and one method member: CalculateFinalGrade(). must be an Abstract class method must be by its child class. (1 point) For example, Student {                 Property: StudentName                 Property: Contact                 Method: CalculateFinalGrade() } Write two child classes and , both of which inherit and implement any abstract member. needs a property for Quiz score and implements CalculateFinalGrade() to calculate final the...
Visual Studio C# Create an application illustrating the following: Class definition Encapsulation Constructor Instantiation Inheritance Suggestions:...
Visual Studio C# Create an application illustrating the following: Class definition Encapsulation Constructor Instantiation Inheritance Suggestions: Simulation Calculation Interface apps
C++ Programming 1) What is the feature that makes a base class an abstract class? 2)...
C++ Programming 1) What is the feature that makes a base class an abstract class? 2) When designing a class hierarchy involving classes A and B, what are the two questions that must be asked to determine whether class B should be derived from class A?
Develop a C++/Python program using visual studio connected to mysql workbench to show all vendor's name...
Develop a C++/Python program using visual studio connected to mysql workbench to show all vendor's name and phone (vendor_name and vendor_phone) in the state "CA" and the city "Los Angeles". here is the database tables CREATE TABLE general_ledger_accounts ( account_number INT PRIMARY KEY, account_description VARCHAR(50) UNIQUE ); CREATE TABLE terms ( terms_id INT PRIMARY KEY AUTO_INCREMENT, terms_description VARCHAR(50) NOT NULL, terms_due_days INT NOT NULL ); CREATE TABLE vendors ( vendor_id INT PRIMARY KEY AUTO_INCREMENT, vendor_name VARCHAR(50) NOT NULL UNIQUE, vendor_address1...
In visual Studio C++ Create a program that uses a for loop to input the high...
In visual Studio C++ Create a program that uses a for loop to input the high temperature, and low temperature for each day of the week. The high and low will be placed into two elements of the array. For each loop the high and low will be placed into the next set of elements of the array. After the temps for all seven days have been entered into the array, a for loop will be used to pull out...
answer the following using C# Design and program a Visual Studio Console project in C# that...
answer the following using C# Design and program a Visual Studio Console project in C# that allows your user to enter a number. The program will examine the number to see if it is prime. If it is prime, it will print the next higher prime and the next lower primes to the console. If the number entered by the user is not prime, display a message to that effect. All code should be written by you. Do not copy/paste...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT