Answer:
first one is "int" second one is "string" and third one should be "float"
Explanation:
not sure if the first one is right but try this.
In the binary system, 1 and 0 are not known as digits. Instead, they are called
bits
switches
flow
variables
decimals
Answer:
Variables
Explanation:
I hope it helps
Answer:
C variables
Explanation:
During early recording, microphones picked up sound waves and turned them into electrical signals that carved a _______ into the vinyl. (6 letters)
WILL PICK YOU AS BRAINLIEST!
hint- NOT journalism
HURRY please
Answer:
Groove
Explanation:
There is not much to explain
Classify the characteristics as abstract classes or interfaces.
A. Uses the implements keyboard
B. Cannot have subclasses
C. Does not allow static and final variables
D. Can have subclasses
E. Uses the extends keyboard
F. Allows static and final variables
what technical was the microscope invented in?
Answer:
Two Dutch spectacle-makers and father-and-son team, Hans and Zacharias Janssen, create the first microscope in 1590.
Explanation:
A microscope is an instrument that makes an enlarged image of a small object, thus revealing details too small to be seen by the unaided eye. The most familiar kind of microscope is the optical microscope, which uses visible light focused through lenses. Eeuwenhoek observed animal and plant tissue, human sperm and blood cells, minerals, fossils, and many other things that had never been seen before on a microscopic scale. He presented his findings to the Royal Society in London, where Robert Hooke was also making remarkable discoveries with a microscope.
А ______
network is good for connecting computers over boundaries.
campus area
local area
wide area
system area
Answer:
wide area network (WAN)
Explanation:
Answer: B. Local area
A local area network is good for connecting computer clusters
the internet is a network of only ten thousands computers true or false
With saying why true or why false
Thanks
Answer: False
Reason: There's a lot more then 10 thousand computers on the internet.
Given three subroutines of 550, 290, and 600 words each, if segmentation is used then the total memory needed is the sum of the three sizes (if all three routines are loaded). However, if paging is used, then some storage space is lost because subroutines rarely fill the last page completely, and that results in internal fragmentation. Determine the total amount of wasted memory due to internal fragmentation when the three subroutines are loaded into memory using each of the following page sizes:
a. 100 words
b. 600 words
c. 700 words
d. 900 words
Typically, external fragmentation wastes one-third of memory. Internal fragmentation occurs when space inside a designated region is wasted. Thus, option D is correct.
What wasted memory due to internal fragmentation?The mounted-sized block is allotted to a method whenever a request for memory is made. Internal fragmentation is the term used to describe the situation where the memory allotted to the method is a little bigger than the amount requested.
Normally, memory is allocated in uniformly sized blocks, but sometimes a process doesn't use the entire block, leading to internal fragmentation.
Memory fragmentation occurs when a memory allocation request can be satisfied by the whole amount of accessible space in a memory heap, but no single fragment (or group of contiguous fragments) can.
Therefore, when the three subroutines are loaded into memory using each of the following page sizes 900 words.
Learn more about memory here:
https://brainly.com/question/16953854
#SPJ5
Which of the following statements demonstrates the consequence of segregated medical
care?
A. Inequitable access to education and funding for Black doctors
B. Fewer predominately white medical schools being open to Black students
C. Both A and B
D. Neither A nor B
Answer:
C. Both A and B
Explanation:
Not only is inequitable access to education and funding for Black doctors a consequence of segregated medical care, it also resulted in less predominately white medical schools allowing Black students.
The statements that demonstrate the consequence of segregated medical care are both statements A and B. The correct option is C.
What is segregated medical care?To distinguish or put apart from others or the general population. Segregated medical care has led to Black students being accepted into less primarily white medical institutions, which has resulted in unequal access to education and funding for Black professionals.
Black doctors have unequal access to education and funding. Less predominantly white medical colleges accept students of color.
Medical discrimination, racialized socioeconomic deprivation, and a segregated healthcare system all contribute to drastically different experiences in care for Black and White patients.
Therefore, the correct option is C. Both A and B.
To learn more about segregated medical care, refer to the link:
https://brainly.com/question/10812745
#SPJ6
Prompt
Using complete sentences post a detailed response to the following.
While visiting a friend’s house, you hear their siblings arguing over whether or not “visual novels” are “real games” or not. You hear Boris, the older sibling, saying “…and you just sit there and click to read the next line—you might as well be reading a comic book and turning a page and call that a ‘game’!” When they find out you’ve been taking a class on game design, they ask you to settle the argument for them. What would you say to them?
Answer:
As long as it works like a game and not a book i would say its a game.
Explanation:
Write a program that takes in a positive integer as input, and outputs a string of 1's and 0's representing the integer in binary. For an integer x, the algorithm is:
As long as x is greater than 0
Output x % 2 (remainder is either 0 or 1)
x = x // 2
Note: The above algorithm outputs the 0's and 1's in reverse order. You will need to write a second function to reverse the string.
Ex: If the input is:
6
the output is:
110
Your program must define and call the following two functions. The function integer_to_reverse_binary() should return a string of 1's and 0's representing the integer in binary (in reverse). The function reverse_string() should return a string representing the input string in reverse.
def integer_to_reverse_binary(integer_value)
def reverse_string(input_string)
Note: This is a lab from a previous chapter that now requires the use of a function.
Answer:
#include <iostream>//header file
#include <string>//header file
using namespace std;
string integer_to_reverse_binary(int integer_value)//defining a method integer_to_reverse_binary
{
string ret = "";//defining string variable
while (integer_value > 0) //using while loop to check integer_value value is greater than 0
{
ret += '0' + (integer_value % 2);//adding zeros in remainder value
integer_value /= 2;//holding quotient value
}
return ret;//return string value
}
string reverse_string(string input_string)//defining a method reverse_string that holds a parameter user_String
{
string result;//defining a string variable
for (int i = 0; i < input_string.length(); ++i)//use for loop to calculate value
{
result += input_string[input_string.length()-i-1];//add value in result variable
}
return result;//result result variable value
}
int main()//defining main method
{
int num;//defining integer variable
string str;//defining string variable
cin >> num;//input num value
str = integer_to_reverse_binary(num);//use str variable to call the integer_to_reverse_binary method
cout << reverse_string(str) << endl;//printing the reverse_string method value
return 0;
}
Output:
6
110
Explanation:
In this code two string method "integer_to_reverse_binary and reverse_string" is defined that holds one parameter "integer_value and input_string".
In the first method a string variable is defined, that use the while loop to check integer value is greater than 0 and add zeros in the value and return its value as a string.
In the second it reverse the string value and store into the result variable, and in the main method the "num and str" variable is defined, and in the num it takes integer value and pass into the above method and print its return value.
Your computer system looses power while you are working on a project for a very important client
isljgaek jadkghdkjhasdkjfhadskj afhdsfkjdahk dh
Answer:
I never knew that, thank you for telling me! I'll note that down
How do I fix a phone if I don't have enough money for me to fix it?
Answer:
depends whats wrong with it
Explanation:
is the screen smashed orr~
1. Write a class Name that stores a person’s first, middle, and last names and provides the following methods:
public Name(String first, String middle, String last)—constructor. The name should be stored in the case given; don’t convert to all upper or lower case.
public String getFirst()—returns the first name
public String getMiddle()—returns the middle name
public String getLast()—returns the last name
public String firstMiddleLast()—returns a string containing the person’s full name in order, e.g., "Mary Jane Smith".
public String lastFirstMiddle()—returns a string containing the person’s full name with the last name first followed by a comma, e.g., "Smith, Mary Jane".
public boolean equals(Name otherName)—returns true if this name is the same as otherName. Comparisons should not be case sensitive. (Hint: There is a String method equalsIgnoreCase that is just like the String method equals except it does not consider case in doing its comparison.)
public String initials()—returns the person’s initials (a 3-character string). The initials should be all in upper case, regardless of what case the name was entered in. (Hint: Instead of using charAt, use the substring method of String to get a string containing only the first letter—then you can upcase this one-letter string. See Figure 3.1 in the text for a description of the substring method.)
public int length()—returns the total number of characters in the full name, not including spaces.
2. Now write a program TestNames.java that prompts for and reads in two names from the user (you’ll need first, middle, and last for each), creates a Name object for each, and uses the methods of the Name class to do the following:
a. For each name, print
first-middle-last version
last-first-middle version
initials
length
b. Tell whether or not the names are the same.
Here is my code. I keep getting a method error with getFullName in the Name.java file. Please help me re-write the code to fix this issue.
//Name.java
public class Name
{
private String firstName, middleName, lastName, fullName;
public Name(String first, String middle, String last)
{
firstName = first;
middleName = middle;
lastName = last;
String fullName = firstName '+' middleName '+' lastName;
}
public String getFirst()
{
return firstName;
}
public String getMiddle()
{
return middleName;
}
public String getLast()
{
return lastName;
}
public String firstMiddleLast()
{
return firstName + ' ' + middleName + ' ' + lastName;
}
public String lastFirstMiddle()
{
return lastName + ", " + firstName + ' ' + middleName;
}
public boolean equals(Name otherName)
{
return fullName.equalsIgnoreCase(otherName.getFullName());
}
public String initials()
{
return firstName.toUpperCase().substring(0,1)
+ middleName.toUpperCase().substring(0,1)
+ lastName.toUpperCase().substring(0,1);
}
public int length()
{
return firstName.length() + middleName.length() + lastName.length();
}
}
//NameTester.java
import java.util.Scanner;
public class NameTester
{
public static void main(String[] args)
{
Scanner input = new Scanner(System.in);
String firstName1 = new String();
String middleName1 = new String();
String lastName1 = new String();
String firstName2 = new String();
String middleName2 = new String();
String lastName2 = new String();
System.out.print("\nPlease enter a first name: ");
firstName1 = input.nextLine();
System.out.print("Please enter a middle name: ");
middleName1 = input.nextLine();
System.out.print("Please enter a last name: ");
lastName1 = input.nextLine();
Name name1 = new Name(firstName1, middleName1, lastName1);
System.out.print("\nPlease enter another first name: ");
firstName2 = input.nextLine();
System.out.print("Please enter another middle name: ");
middleName2 = input.nextLine();
System.out.print("Please enter another last name: ");
lastName2 = input.nextLine();
Name name2 = new Name(firstName2, middleName2, lastName2);
System.out.println();
System.out.println(name1.firstMiddleLast());
System.out.println(name2.firstMiddleLast());
System.out.println(name1.lastFirstMiddle());
System.out.println(name2.lastFirstMiddle());
System.out.println(name1.initials());
System.out.println(name2.initials());
System.out.println(name1.length());
System.out.println(name2.length());
if (name1.equals(name2))
System.out.println("The names are the same.");
else
System.out.println("The names are not the same.");
}
}
i dont know the answer lol thats too long
Explanation:
CH4 has how many of each type of atom?
Its easy that moderators that see this answer can think that my answer isn't without explanation.
• Type of atom C (Carbon)
C = 1
• Type of atom H (Hydrogen)
H = 4
You dont understand? JUST SEE THE FORMULA C MEANS ONLY HAVE 1 CARBON ATOM AND H4 MEANS 4 ATOM OF HYDROGEN
oK. have a nice day hope you understands
What will be the output?
class num:
def __init__(self, a);
self.number = a
def_mul__(self,b):
* return self.number + b.number
#main program
numA = num(8)
numB = num(4)
result = numA* numb
print(result)
O4
O 12
O 32
4096
the variable a & b and A & B are different. So the only program that work is at #main program.
Hence that A = 8 and B = 4 and the result is A * B so 8*4=32.
Sorry if im wrong
32 will be the output of this question
What is the output?An industry's output is the total amount of goods and services generated within that industry over a specific time period and sold to customers or other firms. An industry's annual production of boxes of cookies or tons of sugar, for instance, can be considered output.
The quantity a person produces in a particular period of time. d.: energy or power given or produced by a device or system (as for storage or for conversion in kind or in characteristics)Here is how we might define these two phrases in business terms: The results are what the business requires or wants to accomplish. The acts or things that help achieve an outcome are called the outputs.
Variables a and b and A and B are distinct. Thus, the #main program is the only program that functions. Because A = 8 and B = 4, the outcome is A * B, which equals 8*4=32.
Therefore, the output of this question
Learn more about output here:
https://brainly.com/question/13736104
#SPJ5
______ are special characters that allow you to
search for multiple words at the same time.
-Find expressions
-Defined expressions
-Regular expressions
-Search expressions
Answer:
Defined Expression
Explanation:
This will be your answer
Write a program that calculates the area & perimeter of a rectangle, where
the values for width and length are given by the users.
Answer:
In Python:
Length = float(input("Length: "))
Width = float(input("Width: "))
Area = Length * Width
Perimeter = 2*(Length + Width)
print(Area)
print(Perimeter)
Explanation:
This gets the length from the user
Length = float(input("Length: "))
This gets the width from the user
Width = float(input("Width: "))
This calculates the area
Area = Length * Width
This calculates the perimeter
Perimeter = 2*(Length + Width)
This prints the area
print(Area)
This prints the perimeter
print(Perimeter)
Which of the following is a contact force?
A. friction
B. magnetism
C. gravity
D. electricity
Answer:
A
Explanation:
Your program has a loop. You want to pass control back to the start of a loop if a certain condition is met.
What statement will keep you in the loop but skip the rest of the code in the loop?
continue
exit
quit
break
Answer:
continue
Explanation:
Count operation Lucky twos
Lucky Twos determines and displays the number of digits that are 2s in a whole number. For example, the number of 2s in 3487 is 0, while the number of 2s in 272521 is 3. Note: whole numbers are non-negative integers starting at zero 0, 1, 2, 3, 4.
Assume that the fractional part is discarded in the division:
10 / 4 = 2
8 / 5 = 1
20 / 3 = 6
Read number
set count to 0
while number > 0
If the number module 10 is Then add
1 to count
End If
Compute number as number / 10
End while
Display count.
Let n be the number of digits of the whole number. What is the number of operations that are executed in the code in terms of n?
Answer:
Following are the solution to this question:
Explanation:
Its complexity of both the pseudo-code described is indeed proportional to the number of digits. So, how often number there are in this specific number is the query. Whenever a number is considered, the d digit would be between [tex]10^{(d-1)}.[/tex] inclusive exclusive [tex]10^d[/tex] That would be as, let d become the number of digits at N, and the inequalities, They can tell
[tex]10^{(d-1)} \leq N < 10^d[/tex]
We get, we take a logarithm,
[tex]d-1 \leq \log(N) < d[/tex]
The increase of 1 to the left inequality, [tex]d \leq \log(N)+1[/tex], and Combining the previous outcome, we got, [tex]\log(N) < d \leq \log(N) + 1[/tex]. That's would be to say, that number of number d by [tex]O(\log(N))[/tex] is higher and lower. Consequently, the number of transactions in the code is [tex]O(\log(N))[/tex]
We have that the number of operations that are executed in the code in terms of n is mathematically given as
The quantity of operations done in the code is O(log(N))
Operation
Generally the equation for the is mathematically given as
If we think about a number,
with d digits is between 10^(d-1) inclusive and 10^d exclusive.
Let d be the wide variety of digits in N
10^(d-1) <= N < 10^d
d-1 <= log(N) < d
d <= log(N) + 1,
The Inequality
log(N) < d <= log(N) + 1.
Therefore
The quantity of operations done in the code is O(log(N))
For more information on Inequality visit
https://brainly.com/question/19491153
What is the influence of new technology on society?
Ο Α. .
New technology hardly has any impact on society.
OB.
New technology is only beneficial to society and cannot be detrimental.
OC.
New technology is detrimental, as it makes the existing technology obsolete.
OD. New technology normally utilizes a lot of resources and can adversely affect the economy.
O E.
New technology is beneficial but can also be usedly a detrimental way.
Answer:
E. New technology is beneficial but can also be used in a detrimental way.
Explanation:
New technology such as cryptocurrency (powered by blockchain technology) can be regarded as a welcome development that has benefited the society in so many good ways. However, cryptocurrency as a new technology also has disadvantages it presents to the society. One of such negative influence cryptocurrency has is that it can be used for illicit activities such as money laundering, funding terrorism and so on.
So, in summary, we can conclude that:
"New technology is beneficial but can also be used in a detrimental way."
What infection type can send information on how you use your computer to a third party without you realizing it
Answer:
Spyware collects your personal information and passes it on to interested third parties without your knowledge or consent. they also install trojan horses
Explanation:
Pls help I will give points
Answer:
Desktop
Explanation:
In order to ask for user for input in store the results as a stream, you should use the function. Readline, readlnt, string, algorithm
Answer: String
-DoggyMan5
Why do we use return statements? Choose all that apply
A.
Javascript requires functions to have return values.
B.
To return multiple data types simultaneously
C.
To allow a function to give different values depending on input.
D.
So that we no longer have to use console.log();
E.
To save the result of a function in a variable in other functions
Answer:
A.
Javascript requires functions to have return values.
what is 30 x 30 x 30 x 30
Answer:
its is 810000
Explanation:
hope this helps
ANSWER QUICK 50 POINTS
You have the following code in your program.
from array import *
Which line of code would create an array?
D = array([2.5, 3, 7.4])
D = array('f',[2.5, 3, 7.4])
D = array['f',[2.5, 3, 7.4]]
D = array('f',2.5, 3, 7.4)
Answer:
D = array('f',[2.5, 3, 7.4])
Explanation:
is the answer
A variable must be declared with an array type before the array itself can be created. Array types resemble other Java types, with the exception that square brackets are placed after them ( [] ). Thus, option D is correct.
What line of code would create an array?Using the NumPy library, new data types known as arrays can be produced in Python. NumPy arrays are created for numerical studies and only contain one data type.To build an array, use the array() method after importing NumPy. The input for the array() function is a list.
An array, also known as a database system, is a group of things or data that is held in a contiguous memory area in coding and programming. Several instances of the same kind of data are grouped together in an array.
Therefore, D = array('f',2.5, 3, 7.4) line of code would create an array.
Learn more about array here:
https://brainly.com/question/22296007
#SPJ2
A switch on a circuit board can be in two states what are they
Answer:
on and off
Explanation:
Need help plz with the code
Answer:
its blocked
Explanation:
How does the pay for many Science, Technology, Engineering, and Mathematics workers compare to the overall median for all careers? It is far lower than the overall median. It is far higher than the overall median. It is slightly higher than the overall median. It is about the same as the overall median.
Answer:
B
Explanation:
It just is
Answer:
B is correct
Explanation: