i dont know the answer lol thats too long
Explanation:
What is the only language that a computer can understand
Answer: Low-Level language is the only language which can be understood by the computer. Low-level language is also known as Machine Language. The machine language contains only two symbols 1 & 0. All the instructions of machine language are written in the form of binary numbers 1's & 0's.
Explanation:
Answer:
Machine Language (low level language)
Low-Level language is the only language which can be understood by the computer. Low-level language is also known as Machine Language. The machine language contains only two symbols 1 & 0. All the instructions of machine language are written in the form of binary numbers 1's & 0's.
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
In a program, write a method that accepts two arguments: an array of integers and a number n. The method should print all of the numbers in the array that are greater than the number n (in the order that they appear in the array, each on their own line).
In the same file, create a main method and call your function using the following data sets:
The array {1, 5, 10, 2, 4, -3, 6} and the number 3.
The array {10, 12, 15, 24} and the number 12.
My code:
public class LargerThanN
{
public static void print(int[] array,int n)
{
for(int i=0; i
{
if (array[i]>n)
System.out.println(array[i]);
}
System.out.println();
}
public static void main(String[] args)
{
int[] array1 = {1,5,10,2,4,-3,6};
int num1=3;
print(array1,num1);
int[] array2 = {10, 12, 15, 24};
int num2 = 12;
print(array2, num2);
}
}
My programming lab does not want extra lines between the output. What am I doing wrong? How do I fix it?
Failed Test Run
The contents of your standard output is incorrect.
Attention: the difference between your stdout and the expected stdout is just a question of spacing.
Standard Output Hide Invisibles
Your Code's Actual Result:
Expected Result: 5
5 10
10 4
4 6
6
15 15
24 24
Answer:
move the System.out.println(); outside the for loop.
Explanation:
see picture. I shortened the main() method a bit, for fun.
Pls help I will get points and brainliest
Answer:
They are both types of interfaces.
Explanation:
Click the answer that includes the word "Interface" or "Interfaces"
Pls help will mark brainliest as soon as u awnser
Answer:
The answer is...
Explanation:
It is A or D I would go with D tho
Hope this helped
:)
In this exercise we will practice using loops to handle collections/containers. Your job is to write a program that asks the user to enter a sentence, then it counts and displays the occurrence of each letter.
Note: your program should count the letters without regard to case. For example, A and a are counted as the same.
Here is a sample run:
Enter a sentence: It's a very nice day today!
a: 3 times
c: 1 times
d: 2 times
e: 2 times
i: 2 times
n: 1 times
o: 1 times
r: 1 times
s: 1 times
t: 2 times
v: 1 times
y: 3 times
Notes:
The purpose of this problem is to practice using loops and collections/containers/strings.
Please make sure to submit a well-written program. Good identifier names, useful comments, and spacing will be some of the criteria that will be used when grading this assignment.
This assignment can be and must be solved using only the materials that have been discussed in class: loops, the index system, strings, lists and/or dictionaries. Do not look for or use alternative methods that have not been covered as part of this course.
How your program will be graded:
correctness: the program performs calculations correctly: 40%
complies with requirements (it properly uses loops, and containers/strings): 40%
code style: good variable names, comments, proper indentation and spacing : 20%
Language is python 3
Answer:
In Python:
chars = 'abcdefghijklmnopqrstuvwxyz'
letter = input("Sentence: ")
for i in range(len(chars)):
count = 0
for j in range(len(letter)):
if chars[i] == letter[j].lower():
count = count + 1
if count > 0 :
print(chars[i]+": "+str(count)+" times")
Explanation:
This initializes the characters of alphabet from a-z
chars = 'abcdefghijklmnopqrstuvwxyz'
This prompts the user for sentence
letter = input("Sentence: ")
This iterates through the initialized characters
for i in range(len(chars)):
This initializes count to 0
count = 0
This iterates through the input sentence
for j in range(len(letter)):
This compares the characters of the sentence with alphabet a-z
if chars[i] == letter[j].lower():
If there is a match, count is incremented by 1
count = count + 1
If there is an occurrence of character,
if count > 0 :
The character and its count is printed
print(chars[i]+": "+str(count)+" times")
In this exercise we have to use the knowledge of computational language in Python, so we have that code is:
It can be found in the attached image.
So, to make it easier, the code in Python can be found below:
chars = 'abcdefghijklmnopqrstuvwxyz'
letter = input("Sentence: ")
for i in range(len(chars)):
count = 0
for j in range(len(letter)):
if chars[i] == letter[j].lower():
count = count + 1
if count > 0 :
print(chars[i]+": "+str(count)+" times")
See more about python at brainly.com/question/26104476
what is volitile memory?
Answer:
do you mean volatile? Volatile memory is a type of storage whose contents are erased when the system's power is turned off or interrupted.
Explanation:
hope this helps have a good rest of your day :) ❤
Which of the following make up atoms? A. weight, mass, and gravity B. protons, electrons, and neutrons C. elements, compounds, and molecules D. matter, non-matter, and air pressure
Answer:
B
Explanation:
protons, electrons and neutrons
use a for loop to create a random forest model for each value of n estimators from 1 to 30;
• evaluate each model on both the training and validation sets using MAE;
• visualize the results by creating a plot of n estimators vs MAE for both the training and validation sets
After that you should answer the following questions:
• Which value of n estimators gives the best results?
• Explain how you decided that this value for n estimators gave the best results:
Why is the plot you created above not smooth?
• Was the result here better than the result of Part 1? Wha: % better or worse was it? in python
Answer:
nvndknnnnnnngjf
Explanation:
f4tyt5erfhhfr
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