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
BabaBlast [244]
3 years ago
3

Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); sys

tem.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Computers and Technology
1 answer:
dybincka [34]3 years ago
8 0
  1. System.out.println("num: " + songnum);

This will print

num:5  

OR

num:9

     2.  System.out.println(int songnum);

Remove the "int" and recompile. Rewrite it as System.out.println(songnum);

Then it will print

5

OR

9

     3.  System.out.println(songnum " songs");

Rewrite it as System.out.println(songnum + " songs");

Then it will print

5songs

OR

9songs


<em>For all this make sure songnum is declare and initialised as int songnum=5;</em>

<em>or int songnum=9;</em>

You might be interested in
Suppose the size of process is 10000 bytes and the relocation register is loaded with value 5000 which of the following memory a
natulia [17]

Answer:

The page field is 8-bit wide, then the page size is 256 bytes.

Using the subdivision above, the first level page table points to 1024 2nd level page tables, each pointing to 256 3rd page tables, each containing 64 pages. The program's address space consists of 1024 pages, thus we need we need 16 third-level page tables. Therefore we need 16 entries in a 2nd level page table, and one entry in the first level page table. Therefore the size is: 1024 entries for the first table, 256 entries for the 2nd level page table, and 16 3rd level page table containing 64 entries each. Assuming 2 bytes per entry, the space required is 1024 * 2 + 256 * 2 (one second-level paget table) + 16 * 64 * 2 (16 third-level page tables) = 4608 bytes.

3 0
3 years ago
Which deployment tool will you use to deploy metadata from one organization to another organization?
jenyasd209 [6]
The answer is Force.com IDE or Unmamaged packages
7 0
3 years ago
_________values are stored as the number of seconds since the unix epoch (35 POINTS)
Nataly_w [17]

Answer:

he Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z).

Explanation:

The answer above is from a secure website

3 0
3 years ago
Which of the following is not a data type available in VB.NET?
deff fn [24]
The obvious answer to your question: Which of the following is not a data type available in vb.net is OPERATOR. Integers, strings, and date time are all data types. They are commonly used to store data accordingly to what type they are.
6 0
3 years ago
Which of the following is true about the Purpose of the Page and the Page Quality (PQ) rating? Select all that apply. True False
aleksandr82 [10.1K]

Answer:

Explanation:

Harmful or malicious pages should always get a page quality (PQ) rating of Lowest. True

Pages with an informational or educational purpose should always be given higher page quality (PQ) ratings than entertainment or gossip pages. False

There is no relationship between the purpose of the page and the page quality (PQ) rating. False

If you cannot determine the purpose of the page after extensive effort, the page quality (PQ) rating should be Lowest. True

7 0
3 years ago
Other questions:
  • your grandmother tells you a dollar doesn’t go as far as it used to. She says the “purchasing power” of a dollar is much less th
    6·1 answer
  • All phones must have a way of making and then terminating a connection to the phone network; however the exact procedure for doi
    6·1 answer
  • You are the owner of a computer component manufacturing company. Your manufacturing plant has 10 different machines that can be
    6·1 answer
  • Consider the classes below: public class TestA { public static void main(String[] args) { int x = 2; int y = 20 int counter = 0;
    8·1 answer
  • In a display device, response rate is the time it takes for one pixel to change from black to white then back to black.​
    12·1 answer
  • Describing Report Tools Functions
    9·1 answer
  • Select the device that will have the most network ports
    8·1 answer
  • What are the purposes of using a text-to-speech tool? Check all that apply.
    9·2 answers
  • Hurry i need help What would provide structured content that would indicate what the code is describing ?
    12·1 answer
  • A flowchart meeting is a process where members of the team analyze the design piece-by-piece to make sure it meets requirements
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!