1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
murzikaleks [220]
4 years ago
13

Which of the following is not a compilation error? Group of answer choices a. Placing a semicolon at the end of the first line o

f an if statement. b. Omitting the left and )for the condition of an if statement. c. Neglecting to initialize a local variable in a method before it is used. d. All are compilation errors.
Computers and Technology
1 answer:
azamat4 years ago
5 0

Answer:

Option A.

Placing a semicolon at the end of the first line of an if statement.

Explanation:

Compilation error refers to a state when a compiler fails to compile a piece of computer source code, either due to errors in the code or more unusually, due to errors in the compiler itself.

When you get a compilation error, various things can be wrong: you may have made a lexical, parse, static or a type error.

* Option A, placing a semicolon at the end of the first line of an IF statement is not a compilation error so it is correct.

* Option B, omitting the left and ) for the condition of an IF statement is a syntax error under compilation error, so the option is incorrect.

* Option C, Neglecting to initialize a local variable in a method before it is used is also incorrect because local variables which are variables declared inside a body of a method must be initialized before they can be used, failure to do so will generate a compiler error.

* Option D, all are compilation errors is also incorrect because option A is not a compilation error.

Therefore, the answer to the question is option A.

You might be interested in
A character with the point size of 10 is about 10/72 of once inch in height
Dominik [7]

Answer:

True

Explanation:

Font Size is calibrated by a kind of calculation system which is known as points. And a single point happens to be 1/72 inches in height. And thus, a character with a point size of 1 is around 1/72 of one inch in height. And if the point size is 10, then the calculations confirm as above that the character will be around 10/72 of one inch in height.  

7 0
4 years ago
Match the file extensions to the file types. Some file types may be used more than once.
Elena L [17]

Answer:

1234 and free points

Explanation:

7 0
4 years ago
Which protocols are TCP/IP application layer protocols? (choose all that apply)
natita [175]

Answer:

Option(b) and Option(c) is the correct answer for the given question.

Explanation:

TCP stands for transmission control protocol, In the TCP protocol firstly it maintains the connection between the sender and the receiver. The receiver always gives an acknowledgment to the sender when it receives the information that's why TCP is reliable protocol it is found in TCP/IP application layer protocols    

UDP stands for user datagram protocol, In the UDP protocol, it does not maintain the connection between the sender and the receiver. The receiver does not give any acknowledgment to the sender that why UDP is not a reliable protocol . it is also found in the TCP/IP application layer protocols

  • In the option(a) IP is found in the network layer that why this option is incorrect.
  • In the option(d) FTP is found in the application layer thats why this option is incorrect .

Hence TCP and UDP are TCP/IP application layer protocols

5 0
3 years ago
Read 2 more answers
A model is replica that?
Ratling [72]

Answer:

shows the costumer or buyer how the product looks

3 0
3 years ago
Read 2 more answers
Which button will allow you to insert quotes and notes into text into a document​
oksano4ka [1.4K]

Answer:

You copy and paste it

Explanation:

right click on the mouse then it will say copy, you right click on the mouse and click paste voila! it works! (If you're using word there are 3 options for pasting, Keep source formatting, Merge formatting and keep text only)

8 0
4 years ago
Other questions:
  • Of the different IRT roles, the _______________ is head of the team and issues the ultimate call regarding how to respond to an
    15·1 answer
  • If reading or writing a cache line of size 64 bytes to Flash requires 2.56 μJ and DRAM requires 0.5 nJ, and if idle power consum
    9·1 answer
  • A wireless engineere has an access point using 5.725-ghz channel in the united states. In which band is the AP operating?
    9·1 answer
  • 2. From the listing code, please give the block of line numbers for code which are concerned with the following: A) Main functio
    5·1 answer
  • For what purpose is keylogging software used? a. To automatically translate input to another language as the user enters data b.
    10·1 answer
  • During an upgrade for a new web server, Glen's company experienced a power surge. The power surge hit the new server, and now th
    10·1 answer
  • What decides the amount of delay between shots on a digital camera?
    7·1 answer
  • In the computer science industry, the process of finding and removing errors from computer hardware or software is known as
    7·1 answer
  • What are the value and data type (float, int, bool, or str) of this expression:<br> 5 // 2
    9·1 answer
  • A multiprocessor with 10 processors has 36 attached tape drives. A number of jobs have been submitted to the system where each j
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!