C++ is not case sensitive

Assignment Help C/C++ Programming
Reference no: EM13772533

Indicate whether the following statements are true (T) or false (F)

1. The execution of a program begins with the main

2. C++ is not case sensitive.

3. Declarations can be placed anywhere in the program

4. Statement and declarations must end with a semicolon

5. The result of an integer division is a rounded result.

Indicate if the following declaration statements are correct or r modify it so that it is a correct 'statement.

6. int i , j , k.,

7. float fl (11), f2(202.00);

8. DOUBLE D1, 02, 03;

9. float al (a2);

10. int n, m_m;

11. Which of the following is NOT a C++ keyword?

(a.) const
(b) goto
(c) static
(d) when
(e) unsigned

12. In a declaration, the type specifier and the object name are separated by

(a) a period.
(b) a space.
(c) an equal sign.
(d) a semicolon.
(e) none of the above.

13. Which of the following declarations would properly define x, y, and a as double -objects?

(a) double x, y, z;
(b) long double x,y, z
(c) double x=y=z;
(d) double X, Y, Z

14. In C++, the binary operator % is applied to compute

(a) Integer division.
(b) Floating-point division.
(c) The remainder of integer division.
(d) The remainder of floating-point division.
(e) None of the above.

15. Which of the following assignments produces a value of zero?

(a) result = 9%3- 1;
(b) result = 8%3 -1;
(c) result = 2 - 5%2;
(d) result = 2 - 6%2;
(e) result = 2 - 8%3;

Reference no: EM13772533

Questions Cloud

What policy implications can taken from results of maxwell : What did the results of Maxwell and Fagan's study show about the effects of arrest on the reoccurrence of intimate partner violence? What policy implications can be taken from the results of Maxwell and Fagan's study
Describe real-life situation in which you applied method : Use the information learned from the website and from the assigned reading to describe a real-life situation in which you applied the scientific method to solve a problem or answer a question
Various cam practitioners issues : How would you determine if a resource regarding CAM issues is credible?
Consider the case of extremity selection : Consider the case of extremity selection, where both the most skilled and the least skilled from a source country choose to migrate. In the Roy Model, what must the graph of the return to skill on the two countries look like to generate this scenario..
C++ is not case sensitive : C++ is not case sensitive, Declarations can be placed anywhere in the program, Statement and declarations must end with a semicolon
Two periods of work remaining prior to retirement : Phil has two periods of work remaining prior to retirement. Assume that Phil maximizes the present value of his expected lifetime earnings and his discount rate is 10 percent. He is currently employed in a firm that pays him the value of his marginal..
Explain bureaucratic and patron-client organizations : Individual Models of Organized Crime Executive Summary Write a 350- to 700-word executive summary in which you compare distinctions between bureaucratic and patron-client organizations
What is consumer surplus : What is consumer surplus?
Write essay about a particularly memorable experience : Write a narrative essay about a particularly memorable experience either positive or negative which changed you in some significant way.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design a java software system that simulates

Design a java software system that simulates a calculator that performs at least the basic arithmetic operation and trigonometric functions. Your program must contain selection (if), repetition (loop) and functions, arrays and classes

  Write a recursive function to draw the pattern

write a program that prompts the user to enter the number of lines in the pattern and uses the recursive function to generate the pattern. For example, specifying 4 as the number of lines generates the above pattern.

  Compare the running time of two versions of the insertion

implement Uniform Random Number generator and Generate 1000 Random number between 0 an 10000. Try to use insertion sort to sort them. Compare the running time of two versions of the insertion sort.

  Prepare a program that uses at least two functions that can

prepare a program that uses at least two functions that can be called from your main. this program is a number game

  A program that takes into account a pre given array

Problem: A program that takes into account a pregiven array and prompts the user to enter a return per minute value.

  Write a program that simulates an airplane race

Program will use a function that has the following parameters: time and acceleration and function will pass back two data items: speed and distance.

  Write a program that allows a salesclerk to enter an item

Write a program in C++ that allows a salesclerk to enter an item's price and the quantity purchased by a customer.

  Write a program to calculate a person''s net pay

Write a program to calculate a person's net pay after subtracting federal income tax.The program should ask the user to enter the person's name, social security number, gross pay, and the number of dependents.

  Create a project and run the program

What is its equivalent in C++ code? Notice the similarity and differences between the codes provided below to C++ - create a project and run the program and see how it runs.

  File system with login authentication

Implement a simple file system with login authentication and access control - Construct a hash/salt/shadow based user/password creation system.

  Write a program that takes a positive integer

Write a program that takes a positive integer from the user and prints the rightmost digit of that integer. This is a sample output: Enter an integer: 1247

  Print out the sum of all numbers, the average

Write a program that reads in a list of integer numbers and print out the sum of all numbers, the average, the lowest and the highest value entered. The first input number indicates how many numbers the program is attempting to read

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd