Questions
Why am I getting error below? sh-3.2# ./week4prog1[name].scr ./week4prog1[name].scr: line 2: count: command not found start...

Why am I getting error below?

sh-3.2# ./week4prog1[name].scr

./week4prog1[name].scr: line 2: count: command not found

start of the program

./week4prog1[name].scr: line 4: [: -le: unary operator expected

end of the program

Below is my vim script I am running. I can't see the error, please help:

#!/bin/bash

count =1

echo "start of the program"

while [ $count -le 10 ]

do

echo "Loop #$count"

sleep 10

count=$[ count + 1]

done

echo "end of the program"

In: Computer Science

PLEASE ANSWER WASNT ANSWERED PYTHON You will ask 3 questions USERNAME = "user1" PASSWORD = "password1"...

PLEASE ANSWER WASNT ANSWERED PYTHON

You will ask 3 questions

USERNAME = "user1"
PASSWORD = "password1"

  1. What is your user name?
  2. What is your password?
  3. What is your age?
    1. If the user name and password are incorrect, display a message that says - Your credentials are not valid
    2. If both user name and password are correct, ask question 3
    3. If the answer to question 3 is eighteen and greater, display a message that says - You're considered an adult
    4. If the answer to question 3 is less than eighteen, display a message that says - you're not considered an adult
    5. MAKE SURE to use the constants above

In: Computer Science

Do research current acquisition tools as many as you can that are available up to now,...

Do research current acquisition tools as many as you can that are available up to now, specifying computer forensics vendor name, acquisition tool name and features of the vendor’s product. You can classify the listing vendors you found with Excel or Word table that contains each row with the acquisition tool name and each column, such as raw format, proprietary format, AFF format, other proprietary formats the tool can read, compression of image files, remote network acquisition capabilities, and method used to validate (MD5, SHA-1, and so on). NO more than 10 pages overall.

In: Computer Science

Class B             {                         Public:     &nbs

Class B

            {

                        Public:

                                    Void b1();

                        Protected:

                                    Void b2();

            };

            Class A : public B

            {

                        Public:

                                    Void a1();

                        Protected:

Void a2();

            };

            Class C: public A

            {

                        Public:

                                    Void c1();

            };

Void main ()

{

B temp1; A temp2; C temp3;

}

           

  1. Name all member functions of all classes visible through temp1 in the main function?
  2. Name all member functions of all classes visible through temp2 in the main function?
  3. Name all member functions of all classes visible through temp3 in the main function?
  4. Which class is the parent of class A?
  5. Which class is the child of class A?

In: Computer Science

You have been instructed to use C++ to develop, test, document, and submit a simple program...

You have been instructed to use C++ to develop, test, document, and submit a simple program with the following specifications. The program maintains a short data base of DVDs for rent with their name, daily rental charge, genre, and a a short description . The program will welcomes the user, user will enter the name of the movie from a displayed list of all movies that are available, the user will enter the number next to the movie's name, number of days to rent. The program will display all the information in the data base, number of rental days, and total charges. No tax is charged. The maximum number of days a movie can be rented is 7.

In: Computer Science

4. Please name your driver program XXX_P04 where XXX are your initials. Given the array inputArray...

4. Please name your driver program XXX_P04 where XXX are your initials. Given the array inputArray (doubles), write a method called swap which will swap any two contiguous (next to each other) elements. Swap will be passed two parameters, the index of the first element to be swapped and the array name. Write another method printArray that will print the array 5 elements to a line. PrintArray will be passed one parameter the array name. See the videos for help with this. The array elements are: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.

Java Eclipse

In: Computer Science

Create a program that determines the name of the person with the highest or lowest number...

Create a program that determines the name of the person with the highest or lowest number of votes. The data will be in two arrays. The first array is of type String and has the following names in it: Mike Muldune Justin Meiber Clark Kent Ana Karina The second array is of type integer and has the following numbers in it: 2324, 2425, 3344 and 2526. Ask the user to enter a 1 for highest and 2 for lowest. If the user enters a 1, print the name of the person with the highest number of votes and the number of votes received. It the user enters a 2, print the name of the person with the lowest number of votes and the number of votes received.

In: Computer Science

In Java: 1) Create a new eclipse project. 2) Create a basic SWING window 3) Create...

In Java:

1) Create a new eclipse project.

2) Create a basic SWING window

3) Create a Label Called Name

4) Create a Text Field for entering the name

5) Create a Text Field for entering and email

5) Create a text area to push the results to

6) Create two buttons, one that says submit and the other that says clear.

7) When the user enters their name and email, they should press submit and see the Text area populate with the data they submitted.

8) When the user presses clear it should clear any text from all fields.

In: Computer Science

Consider Ace Rent-A-Car, a nationwide automobile rental company. For each car that the company owns, Ace...

Consider Ace Rent-A-Car, a nationwide automobile rental company. For each car that the company owns, Ace records its unique vehicle identification number (VIN), its “make” (manufacturer), model, year of manufacture, and the manufacturer’s factory in which it was made. Each factory is identified by the combination of its company name (i.e. manufacturer name) and the city in which it is located. We also know its size and the year it was built. Each manufacturer is identified by its unique name, plus its headquarters city and the name of its president. Customers are identified by a unique customer number, plus Ace wants to store each customer’s name, address, and telephone number. Each Ace rental location has a unique rental location number, address, and telephone number. Each Ace rental location is assigned to an Ace region, which has a unique region name, a manager, and the location of the main regional office.

Ace wants to develop a data warehouse to store its historical rental data. For each rental, Ace wants to record which customer rented which car from which rental location and when the rental began and when it ended. Ace also wants to record the mileage on the car when the rental began, the mileage when it was returned, whether or not the customer bought the insurance that Ace offered, and the total cost of the rental.

Given this scenario, develop a star schema, which may be a snowflake schema, for Ace’s data warehouse.

In: Computer Science

Consider Ace Rent-A-Car, a nationwide automobile rental company. For each car that the company owns, Ace...

Consider Ace Rent-A-Car, a nationwide automobile rental company. For each car that the company owns, Ace records its unique vehicle identification number (VIN), its “make” (manufacturer), model, year of manufacture, and the manufacturer’s factory in which it was made. Each factory is identified by the combination of its company name (i.e. manufacturer name) and the city in which it is located. We also know its size and the year it was built. Each manufacturer is identified by its unique name, plus its headquarters city and the name of its president. Customers are identified by a unique customer number, plus Ace wants to store each customer’s name, address, and telephone number. Each Ace rental location has a unique rental location number, address, and telephone number. Each Ace rental location is assigned to an Ace region, which has a unique region name, a manager, and the location of the main regional office. Ace wants to develop a data warehouse to store its historical rental data. For each rental, Ace wants to record which customer rented which car from which rental location and when the rental began and when it ended. Ace also wants to record the mileage on the car when the rental began, the mileage when it was returned, whether or not the customer bought the insurance that Ace offered, and the total cost of the rental.

Given this scenario, develop a star schema, which may be a snowflake schema, for Ace’s data warehouse.

In: Computer Science