The two clues that a tester can take from the code when writing tests are:
Always write tests before the code needed to pass them.The test prepares for the code's intended behavior.What do code tests do?In order to find flaws or problems throughout the software development process, code-based testing requires running over every line of code in a program.
The program is tested against specific test cases to determine whether it executes the necessary functionalities. Static and structural testing are two further subcategories of code-based testing.
Therefore, the evidence that a tester can use in a program if they are writing some kinds of codes are those based on the code written.
Learn more about coding from
https://brainly.com/question/22654163
#SPJ1
Identify and describe your computer or laptop's hardware, software, and operating system.
Explanation:
Computer hardware is any physical device used in or with your machine, whereas software is a collection of programming code installed on your computer's hard drive. In other words, hardware is a product you can hold in your hand, whereas software cannot be held in your hand.
Hardware:
A computer or laptop typically consists of various hardware components, including:
1. Central Processing Unit (CPU): This is the main processing unit of a computer responsible for executing instructions and performing calculations.
2. Random Access Memory (RAM): It provides temporary storage for data and instructions that the CPU can access quickly.
3. Solid State Drive (SSD): These are storage devices for long-term data storage, including the operating system, software programs, and user files.
4. Motherboard: It connects and allows communication between various components of a computer, such as the CPU, RAM, and storage devices.
Software:
Software refers to the programs and applications that run on a computer system.
Some common types of software include:
1. Operating System (OS): It manages the computer's hardware and software resources, providing a user interface and enabling users to interact with the system.
2. Applications: These are software programs designed to perform specific tasks, such as word processing, web browsing, photo editing, or video playback.
Operating System:
An operating system is the software that manages computer hardware and software resources and provides a platform for running applications.
Learn more about Operating System here:
https://brainly.com/question/33924668
#SPJ4
this is confusing and need help so please help me right now
In order to round a given number to n decimal places in Java, you would use two methods and they are:
Round a Number using formatpublic class Decimal {
public static void main(String[] args) {
double num = 1.34567;
System.out.format("%.4f", num);
}
}
Round a Number using DecimalFormatimport java.math.RoundingMode;
import java.text.D ec im al Fo rmat;
public class Decimal {
public static void main(String[] args) {
double num = 1.34567;
DecimalFormat df = new DecimalFormat("#.###");
df.setRoundingMode(RoundingMode.CEILING);
System.out.println(df.format(num));
}
}
Read more about programming here:
https://brainly.com/question/23275071
#SPJ1
Using the print() function, output, "Let's play Silly Sentences!"
Using the input() function, prompt the user to, "Enter a name: ", then assign and store their response to a variable.
Repeat benchmark 2 for the other 8 inputs that we need from the user: adjective, adjective, adverb, food, food, noun, place, and verb.
Using a print() function, output, "[name] was planning a dream vacation to [place]." Replace [name] and [place] with the proper variables.
Repeat step 4 with the other 6 lines of output.
Double-check to make sure the output is formatted correctly - including spaces before and after variables and line spacing.
Run and test your program with the values from the Sample Run.
Debug and repeat step 7 as needed.
Answer:
print("Let's play Silly Sentences!")
name = input("Enter a name: ")
adjective1 = input("Enter a adjective: ")
adjective2 = input("Enter a adj: ")
adverb = input("Enter a adverb: ")
food1 = input("Enter a food: ")
food2 = input("Enter another food: ")
noun = input("Enter a noun: ")
place = input("Enter a place: ")
verb = input("Enter a verb: ")
print( "\n" + name + " was planning a dream vacation to "+ place + "." )
print( name + " was especially looking forward to trying the local \ncuisine, including " + adjective1 + " " + food1 + " and " + food2 + ".")
print("\n" + name + " will have to practice the language " + adverb + " to \nmake it easier to " + verb + " with people.")
print("\n" + name + " has a long list of sights to see, including the\n" + noun + " museum and the " + adjective2 + " park.")
What are the key features of knack
Answer:
User Access. Secure access for your users to manage their data.
Workflow & Automation. The right data for the right users at the right time.
Data Management. A single platform to collect, manage, and audit your data.
Reports & Dashboards. Realtime charts and formulas to report on your data.
Payments. ...
Integrations.
Explanation:
Similarities between the primary memory and the secondary memory
Answer:
Primary and secondary
Explanation:
Primary storage refers to the main storage of the computer or main memory which is the random access memory or RAM. Secondary storage, on the other hand, refers to the external storage devices used to store data on a long-term basis.
All of the fallowing are statements describing normal mechanical fan clutch operation EXCEPT:
The statements above are describing normal mechanical fan clutch operation except D. A fan clutch varies fan speed according to engine speed.
Why the above option chosen?A properly functioning or operating fan clutch will be one that alter the speed of the fan based on the engine temperature.
Not that if the engine is cold, the fan clutch is one that has no power to turn the fan very fast, even if engine speed is brought up. As the engine warms up, the fan clutch goes up on the speed of the fan.
Therefore, based on the above, The statements above are describing normal mechanical fan clutch operation except D. A fan clutch varies fan speed according to engine speed.
Learn more about clutch from
https://brainly.com/question/13262716
#SPJ1
All of the following are statements describing normal mechanical fan clutch operation EXCEPT:
A. A fan clutch has viscous drag regardless of temperature.
B. A fan clutch varies fan speed according to engine temperature.
C. A fan clutch stops the fan from spinning within two seconds after turning off a hot engine.
D. A fan clutch varies fan speed according to engine speed.
Write five examples of products that are needed in your school
Lossy compression means that when you compress the file, you're going to lose some of the detail.
True
False
Question 2
InDesign is the industry standard for editing photos.
True
False
Question 3
Serif fonts are great for print media, while sans serif fonts are best for digital media.
True
False
Question 4
You should avoid using elements of photography such as repetition or symmetry in your photography.
True
False
Lossy compression means that when you compress the file, you're going to lose some of the detail is a true statement.
2. InDesign is the industry standard for editing photos is a true statement.
3. Serif fonts are great for print media, while sans serif fonts are best for digital media is a true statement.
4. You should avoid using elements of photography such as repetition or symmetry in your photography is a false statement.
What lossy compression means?The term lossy compression is known to be done to a data in a file and it is one where the data of the file is removed and is not saved to its original form after it has undergone decompression.
Note that data here tends to be permanently deleted, which is the reason this method is said to be known as an irreversible compression method.
Therefore, Lossy compression means that when you compress the file, you're going to lose some of the detail is a true statement.
Learn more about File compression from
https://brainly.com/question/9158961
#SPJ1
PLEASE HELP
Which of these would a computer scientist study, in addition to computers?
grammar
grammar
graphics
graphics
biology
biology
math
math
In addition to computers, a subject which a computer scientist would most likely study is: D. math.
What is a computer?A computer can be defined as an electronic device that is designed and developed to receive data in its raw form as an input and it processes these data into an output (information), which can be used to perform a specific task through the use of the following computer parts:
KeyboardNetworkMonitor screenMouseHard-disk driveWho is a computer scientist?A computer scientist can be defined as a professional who has been trained to specialize in the study of the theoretical aspect of computers, including analyzing and reviewing algorithmic computations, programs or codes.
In this context, we can reasonably infer and logically deduce that in addition to computers, a subject which a computer scientist would most likely study is math.
Read more on computer scientist here: https://brainly.com/question/22495842
#SPJ1
Describe your Johari Window. Which area or areas are largest for you? Smallest?
Audra is creating a training document and would like to include an image that she sees on her screen that she has marked up for training purposes.
Which options should Audra use?
Insert tab, Pictures
Insert tab, Screenshot
Insert tab, Online Images
Insert tab, Format
Answer:
insert scrnshot
Explanation:
because she probably wants to include the marks
Which of the following expressions evaluate to 3.5
Answer: Some expressions equal to 3.5 are 7/2, 3.50, etc
which type of files removed by Disk Cleanup took up the most space?
The type of files that can be removed by Disk Cleanup that took up the most space are:
Temporary Internet Files groupRecycle Bin filesDoes Disk Cleanup remove all files?Disk Cleanup is known to be a process that helps to free up space on any kind of hard disk, making an improved system performance.
Note that Disk Cleanup is one that searches your disk and then depicts temporary files, Internet cache files, as well as unnecessary program files that a person can be able to safely delete.
Therefore, based on the above, one can say that The type of files that can be removed by Disk Cleanup that took up the most space are:
Temporary Internet Files groupRecycle Bin filesLearn more about Disk Cleanup from
https://brainly.com/question/26328363
#SPJ1
HELP HELP HELP Help Helpl
Answer:
#include <stdio.h>
int main(void) {
float number = 0;
printf("Enter a number: ");
scanf("%f", &number);
number *= 2;
printf("The number doubled is: %f\n", number);
return 0;
}
Explanation:
Assuming you want a C program, see above.
What is output by the following program?
def sample (val):
val = val - 8
#MAIN
n = 16
sample (n)
print (n)
Explanation:
I don't know what language this is, but the functions (methods) should work the same. It should change the value of n by decreasing it by 8 so the solution would be 8.
The functions (methods) should work the same. It should change the value of n by decreasing it by 8 so the solution would be 8.
When the program is to be printed?The first, print(val) will be printed, and here the value of val is 25 as set outside the function. Then the print(val) inside the example() will be printed, and here we have declared val as global and set its value to 15, And with last print as well, since the val is now global and with value 15, and hence the output will be 15. And hence the output is as above.
The execution of the program in the "for" loop will be following
For k=0
=> val=1 and sum=0+1=1
For k=1
=> val=2 and sum=1+2=3
For k=2
=> val=3 and sum=3+3=6
For k=3
=> val=4 and sum=6+4=10
For k=4
=> val 5 and sum=10+5=15
For k=5
=> val=6 and sum=15+6=21
For k=6
=> val =7 and sum=21+7=28
For k=7
=> val=8 and sum=28+8=36
For k=8
val=9 and sum=36+9=45
So, all the iterations of for loop are completed and the output is 45.
Therefore, The functions (methods) should work the same. It should change the value of n by decreasing it by 8 so the solution would be 8.
Learn more about functions on:
https://brainly.com/question/12431044
#SPJ2
main circuit board inside personal computers which holds the majority of computer components and provides connectors for peripherals
The main circuit board inside personal computers which holds the majority of computer components and provides connectors for peripherals is motherboard.
What is motherboard?A computer's main board is referred to as the "system board" or "motherboard," while smaller ones that plug into slots on the main board are referred to as "boards" or "cards." See also the terms motherboard, expansion card, and flexible circuit.
The motherboard is the primary wire harness of a computer. It's a thin plate that houses the CPU, memory, hard drive and optical drive connectors, expansion cards to control video and audio, and connections to your computer's ports (such as USB ports).
Thus, the answer is motherboard.
For more details regarding motherboard, visit:
https://brainly.com/question/28329392
#SPJ1
A ____________ transmits data packets from one computer network to another computer network.
Answer:
internet
Explanation: i got a b so if its rong sorry
A network switch transmits data packets from one computer network to another computer network.
What is a network switch?A network switch connects devices in a network (such as computers, printers, and wireless access points) and allows them to 'talk' by exchanging data packets.
Switches can be both physical hardware devices that manage physical networks and software-based virtual devices.
A router is significantly more advanced and sophisticated than a switch. They can perform Network Address Translation (NAT), make faster routing decisions, and use routing algorithms to route data across large networks.
Routers connect multiple LANs, whereas switches operate within a single LAN.
A network switch connects and transmits data packets to and from local area network devices (LAN).
Thus, the answer is network switch.
For more details regarding network switch, visit:
https://brainly.com/question/14583548
#SPJ2
Identify two uses of 3D printing that help doctors and patients in hospitals.
Answer: Prosthetic and Diagrams
Explanation:
Prosthetics are made by 3D printing, used as a new stand in for a missing limb. Like if you were to loose a leg or an arm, 3D printing creates the outer shell most times. Diagrams are used to show examples to patients of their condition, or even sometimes for other doctors to get a better understanding of a condition. They may show them to patients to give an example of what may need to happen too. For doctors they may also be used to figure out what plan of action may be needed.
Select the correct word to complete the sentence.
The original ARPANET had four nodes and connected groups at
dispersed.
to research computers that were geographically
The original ARPANET had four nodes and connected groups at academic institutions to research computers that were geographically dispersed.
What purpose did the ARPANET serve?The primary applications of ARPANET were in academia and research. Since the ARPANET is regarded as the precursor to the current internet, many of the protocols used by computer networks today were created for it.
Note that the ARPANET, in full term is said to be an Advanced Research Projects Agency Network, experimental computer network that was said to be the first ever use of the Internet.
Therefore, The original ARPANET had four nodes and connected groups at academic institutions to research computers that were geographically dispersed.
Learn more about ARPANET from
https://brainly.com/question/2323287
#SPJ1
Assuming there are 7.481 gallons in a cubic foot. Write a program that asks the user to enter a number of gallons, and then displays the equivalent in cubic feet.
The program must use assignment operators, cout’s, cin’s, and declaration of variables.
Using the knowledge in computational language in C++ it is possible to write a code that asks the user to enter a number of gallons.
Writting the code:#include <iostream>
using namespace std;
int main()
{
float gallons, cufeet;
cout << "\nEnter quantity in gallons : ";
cin >> gallons;
cufeet = gallons / 7.481;
cout << "Equivalent in cublic feet is " << cufeet << endl;
return 0;
}
See more about C++ at brainly.com/question/19705654
#SPJ1
What's language processor?
Answer:
A language processor is a software program designed or used to perform tasks such as processing program code to machine code. Language processors are found in languages such as Fortran and COBOL.
Compilers, interpreters, translate programs written in high-level languages into machine code that a computer understands. And assemblers translate programs written in low-level or assembly language into machine code.
2. Define what is a Flowchart and Algorithm?
Answer:
an algorithm is a specific set of instrucions or rules for carrying out a procedure or solving a particular problem.
flow chart is a symbolic representation of an algorithm.
WHICH OF THE FOLLOWING IS A CLASSICAL ALGORITHM APPLIED TO MEDERN CRYPTOGRAPHY
A: LINEAR SEARCH
B: PSEUDORANDOM NUMBER GENERATOR
C: BINARY SORT
D: MODULAR ARITHMETIC
The option of the CLASSICAL ALGORITHM that is known to apply to modern CRYPTOGRAPHY is known to be called option B: PSEUDORANDOM NUMBER GENERATOR.
What is a pseudo random generator in cryptography?In regard to the theoretical computer science and cryptography, a pseudorandom generator (PRG) is known to be used for a class of statistical tests.
It is said to be one that is known to be a kind of a deterministic method that is often used in the mapping if a random seed so that it can be able to be a longer type of pseudorandom string.
It is one where there is no need for statistical test in the class that can be used to tell the difference between the output of the generator as well as that of the uniform.
Therefore, The option of the CLASSICAL ALGORITHM that is known to apply to modern CRYPTOGRAPHY is known to be called option B: PSEUDORANDOM NUMBER GENERATOR.
Learn more about CRYPTOGRAPHY from
https://brainly.com/question/88001
#SPJ1
What is a catch memory
Cache memory
Explanation:
A cache is a high-speed data storage layer which stores a subset of data, typically transient in nature, so that future requests for that data are served up faster than is possible by accessing the data's primary storage location
Where is the hard drive located
Answer:
The hard drive is located in the drive bay.
What is a problem? Give an example of a business problem and discuss how a computer-based information system could solve it?
For example lets take a business that provides IT services, so the company might face majority of issues and one of them could be outdated system and equipments, in result this can make the business owner suffer from the complexities of integrating new hardware or software into their existing networks, so lastly its always important to have a regular maintenance on your current devices and to use support services when necessary.
JAVA: People find it easier to read time in hours, minutes, and seconds rather than just seconds. Write a program that reads in seconds as input, and outputs the time in hours, minutes, and seconds. Ex: If the input is: 4000 the output is: Hours: 1 Minutes: 6 Seconds: 40
What are three reasons developers might choose to use GitHub to work on a
project together?
A. It permits developers to schedule their work calendars, vacation
time, and sick leave around one another.
B. It helps reduce the number of errors in a project and allows
developers to update projects often.
C. It allows developers or the team to review new sections before
they are recombined with the main project.
D. It allows developers to work on a branch or section of code
without affecting the entire project.
SUBMIT
Answer:
B. It helps reduce the number of errors in a project and allows
developers to update projects often.
C. It allows developers or the team to review new sections before
they are recombined with the main project.
D. It allows developers to work on a branch or section of code
without affecting the entire project.
Developers might choose to use GitHub to work on a project together because it allows them to:
A. Reduce errors in a project and update it frequently.
C. Review new sections before recombining them with the main project.
D. Work on a branch or section of code without affecting the entire project.
Therefore, options A, C, and D are correct.
GitHub is a web-based platform that serves as a collaborative sanctuary for software developers, akin to an interconnected digital realm. It empowers developers to host, review, and manage code repositories, fostering seamless teamwork and version control.
This virtual sanctuary functions as a haven where developers can contribute to projects, propose changes, and work collectively without disrupting the main codebase.
With its versatile tools, GitHub offers a captivating arena for developers to explore, collaborate, and unleash the full potential of their projects in a harmonious symphony of coding brilliance.
Therefore, options A, C, and D are correct.
Learn more about GitHub here:
https://brainly.com/question/30911741
#SPJ7
I need a code that will calculate total workers hourly pay and overtime pay.
Part timers work 20 hours a week and they get "time and a half" for each overtime hour past 20 hours
NO IF STATEMENTS ALLOWED
Using the knowledge in computational language in python it is possible to write a code that will calculate total workers hourly pay and overtime pay.
Writting the code:hrs = float(input("Enter Hours:"))
name= str(input("enter your name"))
rate = float(input("""how many days did you work?""")
if hrs <= 40 :
pay = 1.5 * hrs
elif hrs > 40:
pay = (rate * 40) + (rate1.5(hrs-40))
else:
print("dear", name , "your salary will be pend till next month")
print("Dear", name, "we are paying you:", "$",pay
See more about python at brainly.com/question/18502436
#SPJ1
Which is an advantage of Cloud Computing?