Question
In C# (sharp)

Assuming a string variable named movie Title has already been declared, which one of the following statements combines the st
Look at the following code: int distance; // Declare distance as an int double half://Declare half as a double distance = 35;
Code container, such as namespaces classes and methods, use...............to enclose code 1. Astrikes** 2. Curly braces !) 3.
ESCO < When asked, What are string literals enclosed in? = Programmer A says: Single quotation marks Programmer B says: Dou
Which one of the following Button control names is not a legal C# identifier? 1. printSalesReportButton 2. 1stPlayerStartButt
Which of the following statements would clear the text that is displayed in a Label control named cityLabel? 1. cityLabel.Tex
Which of the following concatenates the string literals hello and world and assigns the result to a string variable named
What is the scope of a parameter variable? a.lt is available to the class in which it is declared b.It is available to the na
The output of the following is: double discount = 0.27: MessageBox.Show(discount.ToString(p)); // a. p b.0.27 c. 27% d.$0.2
0 0
Add a comment Improve this question Transcribed image text
Answer #1

you should use hello world and inject it in a very good character

source: stackunderflow
answered by: johanssen
Add a comment
Answer #2

Answer 1:A
we use + to concatnate the strings
Answer 2:17
as 35/2 is an integer division result will be in integer so 0.5 will be ignored
Answer 3:C
Answer 4:D
strings must enclose within the double quotation marks

As per policy we can answer 1 question per post. Please post the remianing questions as separate post.Thanks

Add a comment
Answer #3

Answer 1:A
we use + to concatenate the strings
Answer 2:17
as 35/2 is an integer division result will be in integer so 0.5 will be ignored
Answer 3:C
Answer 4:D
strings must enclose within the double quotation marks

answered by: studyres
Add a comment
Know the answer?
Add Answer to:
In C# (sharp) Assuming a string variable named movie Title has already been declared, which one...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • whats the answers Assuming that the variable numDogs has been declared, select the statement which doesn't...

    whats the answers Assuming that the variable numDogs has been declared, select the statement which doesn't contain any syntax errors. System.out.print("Amy // Michao1") System.print(numDogs); System.out.print(NumDogs) System.out.print(numDogs); Which of the following statements is a valid declaration of a constant integer variable named STEP_SIZE? int STEP SIZE = 5; final int STEP SIZE - 14: double STEP_SIZE = 5; final STEP_SIZE = 10; If the goal output is: Say "Hello" what needs to be written inside of the parenthesis in the print...

  • Plz code in c++ below ----------------------------------- Given a string variable word that has been declared and...

    Plz code in c++ below ----------------------------------- Given a string variable word that has been declared and given a value, write a short code block that tests whether the variable holds the string "programmer". If it does, print the message "Get coding...", otherwise print "Before" or "After" depending on whether the word comes before or after programmer in the dictionary. In all cases, end with a newline.

  • Using C++, Write a class named Employee that has the following member variables: name. A string...

    Using C++, Write a class named Employee that has the following member variables: name. A string that holds the employee's name. idNumber. An int variable that holds the employee's ID number. department. A string that holds the name of the department where the employee works. position. A string that holds the employee's job title. The class should have the following constructors: A constructor that accepts the following values as arguments and assigns them to the appropriate member variables: employee's name,...

  • 4.         (3) Assume a double vector named v has been declared and filled with values. Assume...

    4.         (3) Assume a double vector named v has been declared and filled with values. Assume an iterator to a double vector named iter has been declared. Which code segment correctly traverses the vector displaying each value? a.         iter = v.begin( );                                                                                              b.         iter = v.begin( );             while (iter != v.end ( ))                                                                                               while (iter != v.end( ))             {          cout << *iter << endl; { cout << v[iter] << endl;             iter++; } iter++;             }                                                         ...

  • ,,1. Which of the following statments are valid C++ statements? A) cout << "Hello World" :...

    ,,1. Which of the following statments are valid C++ statements? A) cout << "Hello World" : B) cout << Hello World; C) cout << "Hello " << "World" ; D) cout << "Hello" << "World" ; 2. What is the difference between the literals 'A' and "A"? ,3. Read the input from user; Check for valid entries If input is invalid: print an error message; else: calculate the result and print to the console; exit; The code snippet above may...

  • C# programming 50 pts Question 2:2 1- Create the base class Book that has the following instance variables, constructor, and methods title (String) isbn (String) authors (String) publisher (Strin...

    C# programming 50 pts Question 2:2 1- Create the base class Book that has the following instance variables, constructor, and methods title (String) isbn (String) authors (String) publisher (String) edition ( int) published year (int) Constructor that takes all of the above variables as input parameters. set/get methods ToString method// that return sting representation of Book object. 2-Create the sub class New_Book that is derived from the base class Book and has the following instance variables, constructor, and methods: title...

  • Given a double variable named x that has been declared and given a value, let's use a binary search technique to assign...

    Given a double variable named x that has been declared and given a value, let's use a binary search technique to assign an estimate of its square root to another double variable, root that has also been declared. Let's assume that x's value is greater than 1.0 -- that will simplify things a bit. Here's the general idea: Since x>1, we know its square root must be between 1 and x itself. So declare two other variables of type double...

  • Create the class Book which has the following members: 1. private members: 1. title as String...

    Create the class Book which has the following members: 1. private members: 1. title as String 2. isbn as String 3. author as String 4. price as double 2. public members: 1. default constructor which initializes all data members to their default values. 2. non-default constructor which initializes all data members to parameters values. 3. toString which returns a representing String of the Book. 4. add all the setters and getters. Create the class EBook which is a subclass of...

  • C programming Given an integer variable declared as int result, which of the following choices set...

    C programming Given an integer variable declared as int result, which of the following choices set result = 2?  Each choice may contain a single statement or a group of statements. Select all choices you believe are correct--this question may have more than one correct answer! A. double temp = 19.0; int div = 10; result = 1 + temp / div; B. double val1 = 3; double val2 = 0.75; result = val1 / 2 + val2 * 2; C....

  • Question 1 Which one of the following Button control names is a legal C# identifier? a.*Clear*Button*...

    Question 1 Which one of the following Button control names is a legal C# identifier? a.*Clear*Button* b._DisplayOption5Button c.Exit!Button d.delete Record Button Question 2 To add a control to a form, you find it in the Toolbox and then double-click it. a.True b.False    Question 3 When you write the values true or false in code, they must be written in all lowercase letters. a.True b.False Question 4 Single quotation marks can be used in program code to mark the beginning...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT