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
quester [9]
3 years ago
8

PLEASE HURRY!!!! Look at the image below

Computers and Technology
1 answer:
Nezavi [6.7K]3 years ago
7 0

Answer:

numC

Explanation:

numC has the same scope as strA since they both can only be accessed by the function passwordMaker.

Hope this helps :)

You might be interested in
Java
VARVARA [1.3K]

Answer:

Here are the two statements which use nextInt() to print two random integers between 0 and 9:

System.out.println(randGen.nextInt(10));

System.out.println(randGen.nextInt(10));

Explanation:

Here is the complete program:

import java.util.Scanner;   //to accept input from user

import java.util.Random;   // use to generate random numbers

public class DiceRoll {  //class definition

public static void main (String [] args)  {//start of main function  

Random randGen = new Random();   // creates a Random class object randGen

int seedVal = 0;   //sets starting point for generating random numbers

randGen.setSeed(seedVal);   //sets the seed of random number generator

System.out.println(randGen.nextInt(10));  //generates and prints the first random integer between 0 and 9 (10 is the range from 0 to 9) using nextInt method, which is used to get next random integer value from the sequence of random number generator

System.out.println(randGen.nextInt(10));   //generates and prints the second random integer between 0 and 9 (10 is the range from 0 to 9) using nextInt method

return;    }  }

Another way to write this is to initialize two int variables:

int integer1;

int integer2;

Now use two print statements to print these random integers between 0 and 9 as:

System.out.println(integer1= randGen.nextInt(10));

System.out.println(integer1= randGen.nextInt(10));

Another way to write this is:

Set the value of integer1 to a random number from 0 to 9 and same for integer2

int  integer1 = randGen.nextInt(10);

int  integer2 = randGen.nextInt(10);  

Now use two print statements to print these random integers between 0 and 9 as:  

System.out.println(integer1);

System.out.println(integer2);

5 0
3 years ago
Which is a feature of a search engine? stores web pages belonging to a single website displays web pages within a browser finds
faltersainse [42]
Finds web pages that matches key words
8 0
3 years ago
Can someone please help me with drawing a state transition table for the attached state diagram?
ankoles [38]

Answer:

see below diagrams.

You could extend that by defining two outputs:

- Lock open/closed indicator

- Error indicator

Then all you have to do is design a circuit...

8 0
2 years ago
Match each with the correct answer.
natta225 [31]

Answer:

1. E

2. C

3. F

4. D

5. A

6. B

Explanation:

CPU: this is known as the central processing unit and it is considered to be the brain of a computer system. It is the system unit where all of the processing and logical control of a computer system takes place.

A. Decode unit: decodes instructions and data and transmits the data to other areas in an understandable format.

B. Register unit: contains many separate, smaller storage units. Modern CPUs need only a few nanoseconds to execute an instruction when all operands are in its registers.

C. Bus unit: it is used to connect all the other major components together, accepts data, and sends data through the input and output bus sections.

D. Control unit: control of the overall operations of the CPU. The component of the central processing unit (CPU) that controls the overall operation of a computer is the control unit. It comprises of circuitry that makes use of electrical signals to direct the operations of all parts of the computer system. Also, it instructs the input and output device (I/O devices) and the arithmetic logic unit how to respond to informations sent to the processor.

E. Arithmetic logic unit (ALU): performs mathematical functions on data stored in the register area.

F. Cache: small temporary memory area that separates and stores income data and instructions.

8 0
3 years ago
The most popular activities carried out on smartphones is _________. A.Texting B.Watching movies C.E-mailing D.Gaming
Soloha48 [4]

Yes the ansewer is c bc you can look it up!


4 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is NOT true about placement of the keyboard?
    6·1 answer
  • On five lane roadways, the center lane is designated for __________ and is used by vehicles traveling in both directions.
    14·1 answer
  • 3. The invention of the transistor was important to the development of computers because it
    5·1 answer
  • L
    11·1 answer
  • System inputs and outputs are produced at the end of the: A. systems analysis phase of the SDLC. B. systems planning and selecti
    12·1 answer
  • COMPUTER SCIENCE:PIXELS
    5·1 answer
  • 1. What are the built-in operations on classes?
    8·1 answer
  • When reading words using a Scanner object's next method, _________. a. any characters at the beginning of the input that are con
    5·1 answer
  • What are some example of popular music for teenagers
    8·2 answers
  • When using the red / yellow I green method to present status of a project, green can mean which of the following?
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!