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
cestrela7 [59]
3 years ago
15

Has anyone done the unit 10 lesson 9 encryption/decryption texts on code.org?

Computers and Technology
1 answer:
Pani-rosa [81]3 years ago
5 0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

You might be interested in
Can i add ADSence on bangla content in blogsopt website?
Inga [223]

Answer:

I do not think you can! However, I am not sure since I mainly use Wix!!!

Explanation:

8 0
3 years ago
Create a method called nicknames that passes an array as a parameter. Inside the method initialize it to hold 5 names of your ch
Gre4nikov [31]
<h2>Answer:</h2>

    //======METHOD DECLARATION=========//          

    //method name: nicknames                                          

    //method return type: void                                            

    //method parameter: an array reference                    

    public static void nicknames(String [] names){      

       //initialize the array with 5 random names              

       names = new String[] {"John", "Doe", "Brian", "Loveth", "Chris"};

       //using an enhanced for loop, print out the elements in the array

       for(String n: names){

           System.out.print(n + " ");

       }

       

    }

<h2>Explanation:</h2>

The program is written in Java. It contains comments explaining important parts of the code. Kindly go through these comments.

A few things to note.

i. Since the method does not return any value, its return type is <em>void</em>

ii. The method is made public so that it can be accessible anywhere in and out of the class the uses it.

iii. The method is made static since it will most probably be called in the static main method (at least for testing in this case)

iv. The method receives an array of type <em>String </em>as parameter since the names to be stored are of type <em>String</em>.

v. The format of initializing an array manually should follow as shown on line 7. The <em>new</em> keyword followed by the array type (String), followed by the square brackets ([]) are all important.

vi. An enhanced for loop (lines 9 - 11) is a shorthand way of writing a for loop. The format is as follows;

=> The keyword <em>for</em>

=> followed by an opening parenthesis

=> followed by the type of each of the elements in the array. Type String in this case.

=> followed by a variable name. This holds an element per cycle of the loop.

=> followed by a column

=> followed by the array

=> followed by the closing parenthesis.

=> followed by a pair of curly parentheses serving as a block containing the  code to be executed in every cycle of the loop. In this case, the array elements, each held in turn by variable n, will be printed followed by a space.

A complete code and sample output for testing purposes are shown as follows:

==================================================

public class Tester{

    //The main method

    public static void main(String []args){

       

       String [] names = new String[5];

       nicknames(names);

    }

   

  //The nicknames method

    public static void nicknames(String [] names){

       names = new String[] {"John", "Doe", "Brian", "Loveth", "Chris"};

       for(String n: names){

           System.out.print(n + " ");

       }

       

    }

}

==================================================

<h2>Output:</h2>

John Doe Brian Loveth Chris

<em>NB: To run this program, copy the complete code, paste in an IDE or editor and save as Tester.java</em>

6 0
3 years ago
What does a trademark indicate about a product?
AfilCa [17]

Answer:

A trademark refers to a recognizable insignia, expression or image that indicates an explicit item or benefit and lawfully separates it from every single other item.

Explanation:

5 0
3 years ago
How many GPRs (General purpose registers) are in ATMEGA?
gogolik [260]

Answer:

There are 32 general-purpose 8-bit registers, RO-R31 All arithmetic and logic operations operate on those registers; only load and store instructions access RAM. A limited number of instructions operate on 16-bit register pairs.

8 0
3 years ago
There has been something I had to ask but I have to type this so it goes through: creeper?
VMariaS [17]

Answer:

<u><em>awwwwwwwwwwwwwwwwwww man</em></u>

Explanation:

So we back in the mine

Got our pickaxe swinging from side to side

Side-side to side

This task, a grueling one

Hope to find some diamonds tonight, night, night

Diamonds tonight

Heads up

You hear a sound, turn around and look up

Total shock fills your body

Oh, no, it's you again

I can never forget those eyes, eyes, eyes

Eyes-eye-eyes

'Cause, baby, tonight

The creeper's tryna steal all our stuff again

'Cause, baby, tonight

You grab your pick, shovel, and bolt again (Bolt again-gain)

And run, run until it's done, done

Until the sun comes up in the morn'

'Cause, baby, tonight

The creeper's tryna steal all our stuff again (Stuff again-gain)

Just when you think you're safe

Overhear some hissing from right behind

Right-right behind

That's a nice life you have

Shame it's gotta end at this time, time, time

Time-time-time-time

[Pre-Chorus: TryHardNinja]

Blows up

Then your health bar drops and you could use a one-up

Get inside, don't be tardy

So, now you're stuck in there

Half a heart is left, but don't die, die, die

Die-die-die

'Cause, baby, tonight

The creeper's tryna steal all our stuff again

'Cause, baby, tonight

You grab your pick, shovel, and bolt again (Bolt again-gain)

And run, run until it's done, done

Until the sun comes up in the morn'

'Cause, baby, tonight

The creeper's tryna steal all our stuff again

(Creepers, you're mine, haha)

Dig up diamonds and craft those diamonds

And make some armor, get it, baby

Go and forge that like you so MLG pro

The sword's made of diamonds, so come at me, bro, huh

Training in your room under the torchlight

Hone that form to get you ready for the big fight

Every single day and the whole night

Creeper's out prowlin', hoo, alright

Look at me, look at you

Take my revenge, that's what I'm gonna do

I'm a warrior, baby, what else is new?

And my blade's gonna tear through you, bring it

'Cause, baby, tonight

The creeper's tryna steal all our stuff again

(Gather your stuff, yeah, let's take back the world)

Yeah, baby, tonight (Haha)

Grab your sword, armor and go (It's on)

Take your revenge (Woo), oh-oh, oh-oh

So fight, fight, like it's the last, last night

Of your life, life, show them your bite (Woo)

'Cause, baby, tonight

The creeper's tryna steal all our stuff again

'Cause, baby, tonight

You grab your pick, shovel and bolt again (Bolt again-gain, woo)

And run, run until it's done, done

Until the sun comes up in the morn'

'Cause, baby, tonight (Come on, swing your sword up high)

The creeper's tryna steal all our stuff again (Come on, jab your sword down low)

(Woo)

3 0
3 years ago
Other questions:
  • Make a hierarchical directory structure under /root that consists of one directory containing three subdirectories.
    8·1 answer
  • A decrease in the Short-Run Aggregate Supply Curve is associated with what?
    8·1 answer
  • Suppose there are two ISPs providing WiFi service in a café. Each ISP operates its own AP and has its own IP address block. If b
    7·1 answer
  • Technician A says you should measure the parasitic load immediately after the vehicle is turned off. Technician B says you shoul
    10·1 answer
  • What is the major benefit Smartphones and tablet computers have had on social media?
    9·1 answer
  • Which of the following is best known as a business network LinkedIn, Facebook, Twitter or Word Press?
    15·1 answer
  • State four features of information​
    5·1 answer
  • In the past, workers would usually complete ______. a. A variety of tasks on a daily basis b. The same tasks every day c. Thinki
    9·2 answers
  • Which of these are characteristics of a Python data type? Check all that apply.
    11·1 answer
  • Wha are the types of slide show? define​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!