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
maksim [4K]
4 years ago
9

In object-oriented development, why is it necessary to use drivers and stubs in testing?

Computers and Technology
1 answer:
HACTEHA [7]4 years ago
5 0

Answer: In object-oriented approach for the development of operating system requires stub and driver as essential part for the creation of proper interaction of the object oriented components with the external system.They help in testing of the module.

Stub is the unit that acts as a piece of code which fills in the place of the missing section in the system. The functions of the system module is tested by stub .

Driver is the part that helps in citing the system modules under the testing conditions.It is the piece of code that creates the calling function simulation.

You might be interested in
If your organization hires a new employee, what would you do to create a user account in the Linux system and add the account to
Y_Kistochka [10]

Creating users:

We will use the useradd command to achieve this. Using that same command, you can create users who would log in or customers who would log in (in the case of creating a user for a software installation).

In its basic form, the command is as follows:

  • [Options] useradd username

Take this user olivia, for instance. Assuming that you had been to issue the command prompt:

  • olivia has become a user.

Users are added to the system without the need for a home directory and are unable to log on. It if we were using this rather than running the command without arguments?

  • sudo using useradd -m olivia

Using the command above, a new user would be created, including a home directory that corresponded to the username. That means that you might now see the name "olivia" in the directory "/home".

But what about the lockout concern that was raised earlier? Both these methods are possible. After creating the user, you can enter the following command:

  • Password for olivia is: sudo passwd olivia

You'll be requested to enter & verify your new password once you've completed the process. This unlocks the user profile, allowing them to log in.

This command might look like if you wanted to accomplish it in one go:

  • sudo useradd -m olivia -p PASSWORD

You should be using Passcodes as the login for the user olivia.

As soon as the user logs in, he or she can update their account password by using the password command to input their current password, and afterward entering/verifying their new one.

To create a user that has no personal account and cannot log in, execute the following instructions:

  • sudo use useradd as  the-M USERNAME 
  • ​sudo use usermod as the -L USERNAME

The user to be added is identified by USERNAME.

It establishes a user with really no root folder and prevents them from signing in with a second operation.

To add an existing user to a group on Linux, follow the instructions:

  • As root, log in to your account
  • Use the useradd instruction to add a new user (for example, useradd roman)
  • If you'd like to log on as a new customer, type su plus that user's name.
  • Entering the word "exit" will logout you from your account.

Another way to add a user to a group under Linux would be to use the following syntax:

  • Alternatively, you can use the usermod command.
  • The name of the club should be substituted for example group in this sentence.
  • Example username should be replaced with the name of the user you'd like added.

The following operations are performed when a new login is added to the system.

  • The user's home directory (/home/username by default) is now created.
  • To set configuration files for the user's session, the following secret files are copied into another user's home directory.

.bash_logout

.bash_profile

.bashrc

  • /var/spool/mail/username includes the user's mail spool.
  • The new user account is arranged in groups with the same name.

Learn more:

Linux system: brainly.com/question/13843535

7 0
3 years ago
Find the maximum value and minimum value in milesTracker. Assign the maximum value to maxMiles, and the minimum value to minMile
lina2011 [118]

Answer: 40, 4

Explanation:

8 0
3 years ago
If you want an app to reach the largest possible audience, which two platforms should you use?
Papessa [141]

Android Studio for Android, and Xcode for Apple devices.

6 0
3 years ago
Observing users as they enter passwords or other personal information to a computer Auditing software often used to test compute
GuDViN [60]

Answer:

Explanation:

1. Observing users as they enter passwords or other personal information to a computer Auditing software often used to test computer data - (shoulder surfing)

2. An acronym for security institute that studies computer crime activities The act of altering data that are entered into, or used by, a computer --- (CSI)

3. A small text file that stores information about your browsing habits and interests Stealing personal information from trash cans - (COOKIES)

4. A software program specifically designed for computer forensic investigations - (EnCase)

5. A type of fraud in which the perpetrator steals small amounts from many different accounts - (salami technique)

6. A software program or hardware device designed to prevent unauthorized data communications - (firewall)

7. Malicious software similar to a computer virus -- (_worm)

8. Federal legislation aimed specifically at computer crime (CFAA)

8 0
3 years ago
Write an expression using a variable that shows how much 3 pairs of jeans will cost if you do not know the price of the jeans.as
stich3 [128]
Maybe y = 3 * x, that is my guess
8 0
4 years ago
Other questions:
  • A curb of this color means you may stop only to pick up or drop offs passengers or male
    7·1 answer
  • A customer in a store is purchasing five items. Design a program that asks for the price of each item, and then displays the sub
    11·1 answer
  • Write a program named convertdate that converts a date entered by the user into another form. the user's input will have the for
    8·1 answer
  • What does it mean to empty the cache?
    6·1 answer
  • 1) List two hardware methods that can be used to secure data
    11·1 answer
  • A computer is performing a binary search on the sorted list of 7 numbers below.
    10·2 answers
  • Write a C program that reads two hexadecimal values from the keyboard and then stores the two values into two variables of type
    15·1 answer
  • What is web browser <br>​
    7·2 answers
  • OMG 2 TIMES ;DDDDDDDDDDDDDDDDD​
    14·1 answer
  • What was the name of the first computer, developed by charles babbage?.
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!