Questions
**java** A bicycle combination lock has four rings with numbers 0 through 9. Given the actual...

**java**

A bicycle combination lock has four rings with numbers 0 through 9. Given the actual numbers and the combination to unlock, print instructions to unlock the lock using the minimum number of twists. A “twist up” increases the number value of a ring, and a “twist down” decreases it. For example, if the actual number shown is 1729 and the desired combination is 5714, write your instructions like this:

Ring 1: Twist up 4 times
Ring 3: Twist down once
Ring 4: Twist up or down 5 times

In: Computer Science

how is integrity associated with job performance and counterproductive behaviour?

how is integrity associated with job performance and counterproductive behaviour?

In: Operations Management

An "internal conflict" is a struggle within a character's mind. Describe at least one internal conflict...

An "internal conflict" is a struggle within a character's mind. Describe at least one internal conflict in Book 1 of The Iliad.

In: Psychology

What does the ​ netstat command do? The netstat command has many options. Please explain the...

What does the ​ netstat command do? The netstat command has many options. Please
explain the following commonly used options and briefly explain the meaning of the output. How
can you know which program (i.e., process) is using a specific port?


~$​ netstat -a
~$ ​ netstat -l
~$ ​ netstat -s
~$ ​ netstat -p
~$ ​ netstat -r
~$ ​ netstat -ie


You can ignore those lines related to UNIX domain sockets.

In: Computer Science

What does the ​ ping command do? Please type "ping -c 4 8.8.8.8" and explain the...

What does the ​ ping command do? Please type "ping -c 4 8.8.8.8" and explain the
output. What is this "8.8.8.8" IP address? Please briefly explain what happens behind the
curtain when the ping command runs.

In: Computer Science

take the following html code and make it work for html validator. heres the ,html file...

take the following html code and make it work for html validator.

heres the ,html file

<!DOCTYPE html>
<html lang="en">
   <head>
       <title> GettingStarted</title>
       <meta charset="utf-8">
       <link href="Style.css" rel="stylesheet">
   </head>
  
   <body>
       <header><h1>GettingStarted</h1></header>
       <nav>
      
       <b>
       <a href="Home.html">Home</a>&nbsp;
       <a href="GettingStarted.html">Getting Started</a>&nbsp;
       <a href="MaterialsNeeded.html">Materials Needed</a>&nbsp;
      
      
       <a href="TroubleShooting.html">TroubleShooting</a>&nbsp;
       <a href="InfoMaterials.html">Infomation on materials</a>&nbsp;
       <a href="CommonSoftware.html">Common Software</a>&nbsp;
       <a href="ContactUs.html">Contact Us</a>&nbsp;
  
       </b>
       </nav>
         <div class="pic"></div>
       <main>
      
      
      
      
       <p>
      
       </p>
      
      
      
       <ul>
      
      

       <img src="placeholder.png" alt="place holder" width="200" height="200">
       <li> tool requirements: scraper,glue stick , printing material ,unjammer tool , levler if not auto calibration
       </li>
       <li>error if not done: prints wont be level or print, or material will be jamed and not print.</li>
      
      
      
      
       <img src="placeholder.png" alt="place holder" width="200" height="200">
      
       <li> calibration</li>
        <li>error if not done: unleveled printing bed and prints being knocked off bed or melt, or results in no print.</li>
      
      
      
       <img src="placeholder.png" alt="place holder" width="200" height="200" >
       <li> software requirements</li>
       <li>error if not done: won' be able to upload files to be printed, bad layer adhesion or resulting poor print </li>
       </ul>
      
  
      
  

       </main>
      
      
      
      
      
      
      
       </body>
</html>

heres the .css file

body{background-image:url(sky.png);
background-repeat: no-repeat;
font-family: Arial, Helvetica, sans-serif;}

#wrapper { width:80%;
           margin-left: auto ;
           margin-right: auto ;
           background-color: #FFFFFF;
           min-width:900px;
           max-width:1000px;
box-shadow: 4px 4px 4px #133926;}
  


header{background-color: #00B386;
color: #FFFFFF;
text-align: center;
height:60px;
padding-top: 15px;
}

html {
background: url(back.png) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}

body{
   font-weight:bold;
   color: #FFFFFF;
}

nav{background-color: #FFFFFF;
font-weight:bold;
text-align: center;
padding: 10px;
}
nav a {text-decoration: none;}

main{
   padding:1px 20px 20px 20px;
display:block;
}

h1{margin-bottom:0;
   margin-top:0;
font-family: Georgia,"Times New Roman",serif;
}

h2{color:#00664D;
text-shadow: 1px 1px #CCCCCC;
font-family: Georgia,"Times New Roman",serif;
}

h3{font-family: Georgia,"Times New Roman",serif;}

dt{color:#00664D;
}
.barn {color:#FFFF00;
}

ul{list-style-image: url(marker.gif);}


#contact{font-size:90%;}

footer{ font-size:75%;
font-style:italic;
padding:15px;
font-family:Georgia,"Times New Roman",serif;
text-align: center;}

#heroHome{background-image: url(homeimage.png);
height:300px;


background-repeat:no-repeat;

  
}
#heroBoard{
  
background-image: url();  
height:300px;
background-repeat:no-repeat;
background-size: 100% 100%;


}

#heroTraining{
  
background-image: url();  
height:300px;
background-repeat:no-repeat;
background-size: 100% 100%;


}

.placeholders{
   width:200px;
   height:200px;
   background-image: url(placeholder.png);
   background-repeat:none;
  
}


.pic {
float: left;
}

.container {
    border: 3px solid blue;
    padding: 20px 40px 40px;
    max-width: 640px;
    &__image {
        display: inline-block;
        vertical-align: top;
        width: 46%;
        margin: 20px 30px 0 0;
    }
    &__text {
        display: inline-block;
        width: 46%;
        @media (max-width: 620px) {
            width: 100%;
        }
    }
}

In: Computer Science

Some reasons firms internationalize are ___________ I. Narcissistic CEOs II. Trade barriers III. Imperfect Labor Markets...

Some reasons firms internationalize are ___________

I. Narcissistic CEOs
II. Trade barriers
III. Imperfect Labor Markets
IV. Intangible Assets
V. Vertical Integration
VI. Product Life Cycle
VII. Ethnocentrism

Group of answer choices

A)I, II, III, V, VI

B)II, III, IV, V, VI

C)I, II, III, IV, V, VI, VII

D)II, III, IV, V, VI, VII

E)I, II, III, IV only

In: Finance

Write FORTRAN 90 statements that will display an appropriate message if an integer variable test is...

Write FORTRAN 90 statements that will display an appropriate message if an integer variable test is divisible by 2,3, and or 10 using if statements.

In: Computer Science

I want important notes and equations in chapter 8 physics 1 Related topics: work done by...

I want important notes and equations in chapter 8 physics 1
Related topics:

work done by constant forces

chapter 9:
1. kinetic energy

2. gravitational potential energy

chapter 10:

1. elastic potential energy

2. power

In: Physics

General Manager at the Council is considering awarding your team to a new project in Altona...

General Manager at the Council is considering awarding your team to a new project in Altona North.
The General Manager has invited you to submit a report describing some key items relating to how you
would manage the construction activities. Your report needs to include at least the requirements
below.

a)project monitoring and control

b)project quality

c)project safety

In: Civil Engineering

What are the 4P's of creativity techniques? Explain the origin of the 4P's. Give some examples...

What are the 4P's of creativity techniques?

Explain the origin of the 4P's. Give some examples how we can apply it into our work.

In: Operations Management

Create a program that will take the user through an attempted dungeon escape. The user will...

Create a program that will take the user through an attempted dungeon escape.

The user will represent a player and the player will have a variable to represent the HP (Hit Points) which will default to 50.

Menu

The program will start with the following menu:

Welcome to dungeon escape.

1) Play the game

2) Exit the game

If option 1 is chosen, the game is played, if not the program will end.

First Set of Doors

If option 1 is chosen, the following message will display

Welcome player. You wake up in a dark hallway, and three doors appear to be your way out

. Which door will you choose? 1, 2, or 3.

prompt> You will choose one door to be a trap door. Create a constant variable to hold the value of the door that will be the trap door.

Hint

const int TRAPDOOR = 3;

If the player chooses the trap door, you will display a game over message and exit the program

Example message:

You open the door and are instantly thrown into an abyss. Better luck next time. GAME OVER.

If the player chooses the other 2 doors, the player will have their HP increased by 50 and move on to the next set of doors are displaying the following message

You pass through the door and sense of strength come over you. Your new HP is [HP value]

Second Set of Doors

You will give the player the following prompt:

You see another set of three doors.

Which door will you choose? 1, 2, or 3.

Prompt>

This time two doors will be trap doors. Create two constants to hold the value of the doors that will be trap doors

. If the player chooses the either trap door constant you will display a distinct message for each trap door and decrease the HP by 50.

Example message for Trap 1:

You open the door and are attacked by an Ogre. You escape but your HP is now [HP value].

Example message for Trap 2:

You open the door and are attached by a banshee. Your escape but your HP is now [HP value]. If the player chooses the last door, display the following message: You open the door and…. nothing happens. Lucky you!

Boss Fight

If a player makes it this far, Display the message:

You see no obstacles and your HP is now [HP value]. Press any non-space key when ready

Hint: You can use cin to read a character here. When the user presses any key, you will have to compare the user’s HP. If the user’s HP is greater than 50 display the following message: You see a dragon appear before you. It breathes fire upon you but you managed to escape with small wounds. Congratulations, you’ve escaped the dungeon! If the user’s HP is equal or less than 50 display the following message: You see a dragon appear before you. It breathes fire upon you and your weak body is engulfed immediately. Game over!

In: Computer Science

A project will generate sales of $46,347 each. The variable costs are $19,519 and the fixed...

A project will generate sales of $46,347 each. The variable costs are $19,519 and the fixed costs are $19,215. The project will use an equipment worth $119,505 that will be depreciated on a straight-line basis to a zero book value over a 11-year life of the project. If the tax rate is 13%, what is the operating cash flow

In: Finance

What is SCAMPER creativity technique? How can we apply it to our work? Give some origin...

What is SCAMPER creativity technique?

How can we apply it to our work?

Give some origin and examples of SCAMPER

In: Operations Management

I need this in PSEUDO CODE: This looks long, but only because I have to give...

I need this in PSEUDO CODE:

This looks long, but only because I have to give you my answer to the first part.

First part of the questions (already answered)

GDOT has contacted you to help write code to control the cross walk signals in Georgia. You must create a Crosswalk Signal class with three hidden attributes (Walk, Hurry and Wait), two constructors (a default that sets all lights to on and an overloaded that sets Hurry to on for testing purposes) and a method that changes the active light to the next in the sequence (Walk, – Hurry – Wait).

CLASS NAME & VARIABLES

CLASS GDOT

// Instance Variable

Bool, Green, Yellow, Red

DEFAULT CONSTRUCTOR

GDOT()

GREEN = TRUE

YELLOW = TRUE

RED = TRUE

OVERLOADED CONSTRUCTOR

GDOT(BOOL G, BOOL Y, BOOL R)
            GREEN = G
            YELLOW = Y
            RED = R

CLASS METHOD

VOID CHANGE_LIGHT()
       IF GREEN
           GREEN = FALSE
           YELLOW = TRUE
       ELSE IF YELLOW
           YELLOW = FALSE
           RED = TRUE
       ELSE IF RED
           RED = FALSE
           GREEN = TRUE
       ELSE  
           GREEN = TRUE

Here is the part I need help with:

Now you must create two Crosswalk Signal objects (using pseudocode) from the class you just created to prove that your class works properly for GDOT, the first object should use the default constructor and the second object should use the overloaded constructor. Using the objects you just created, call the method to change the light to the next in the sequence

In: Computer Science