Haven't taken Computer Science in a year so my answer may be wrong (APCSA).
Defining Column B,
Selection is when a piece of code is run only when its conditions are met. Iteration is typically represented by for loops, enhanced for loops, and while loops, and will all repeat until a condition is met.Sequence is usually the simplest, carrying out commands in order.From what I see, the first box in column A is a sequence as it defines and casts num1 and num2, computes its difference in int form, and prints it out. The second box in column A is a selection even though it counts to 5 in the first segment of code. The key here is the if else statement as it checks that num1 is greater than num2 before it subtracts. The third box in column A is an iteration due to its enhanced for loop.
Hope that helps! :)
You can change the size of text using which block of code?
text ("medium", 130, 200);
textSize (pixels);
text, ("large", 120, 300);
Answer:
B.
Explanation:
Mark Brainliest if correct!
Who is the person that is on location reporting the news?.
Answer:
journalist
Explanation:
A journalist is an individual trained to collect/gather information in form of text, audio or pictures, processes them to a news-worthy form and disseminates it to the public. The act or process mainly done by the journalist is called journalism.
help please! I don’t know how to do this :’).
Which decimal number is equivalent to this binary number?
001100112
A.
15
B.
51
C.
204
D.
240
Answer:
51
Explanation:
multiply the digits with the position value starting from Rightmost
0011 0011
(0*2^7) +(0*2^6)+(1*2^5) +(1*2^4)+(0*2^3) +(0*2^2)+(1*2^1) +(1*2^0)
solve the exponents
= 0+ 0 +32+16+0+0+2+1
=51
the process by which information gets into memory storage is
Answer:
That is the first step and it is called encoding process.
!!help please!!
Which type of data is shown here?
The data shown, "Monkey," is an example of a string data type. Therefore option B is correct.
In programming and computer science, a string is a sequence of characters (letters, numbers, symbols) that represent textual data.
Unlike numeric data types (A), which represent numbers, or Boolean data type (D), which represents true or false values, a string is used to store and manipulate text-based information.
Strings are commonly used to store names, sentences, messages, and other textual data in various programming languages and data structures.
In this case, "Monkey" is a text-based representation of an object or concept, making it a string data type.
Therefore option B string is correct.
Know more about programming languages:
https://brainly.com/question/23959041
#SPJ5
cyber law of nepal and it's provisions
hope it helps .........
FILL IN THE BLANK.
1) The time taken to perform the task by the computer is measured in ................. of seconds.
Answer:
Fractions?
Explanation:
CPU time is measured in clock ticks and CPU speed is measured in MHz or GHz. That makes this question quite confusing.
which key must be pressed in addition to clicking on a hyperlink for it to be followed?
The key you need to press together with the click to be able to redirect to a hyperlink is the Control key.
In an electronic environment, a hyperlink is usually a word or phrase, highlighted in blue and underlined, or even an image, found in a web text and containing the command to "transfer" the user to another relevant web page, from the source node to the destination node.
By selecting this word or phrase the user has the ability to further research a topic from a variety of perspectives to compare information from different sources and actors.
Learn more in https://brainly.com/question/7620368
Java
Given an array of 10 names, complete the main method that outputs the name specified by the array index entered by the user. Use a try block to output the name and a catch block to catch any ArrayIndexOutOfBoundsException. Output the message from the exception object if an ArrayIndexOutOfBoundsException is caught. Output the first element in the array if the index is negative or the last element if the index is greater than the size of the array.
Hint: Format the exception outputs using the getMessage() method from the exception object. Do not hard code the exception messages.
Ex: If the input of the program is:
5
the program outputs:
Name: Jane
Ex: If the input of the program is:
12
the program outputs:
Exception! Index 12 out of bounds for length 10
The closest name is: Johnny
Ex: If the input of the program is:
-2
the program outputs:
Exception! Index -2 out of bounds for length 10
The closest name is: Ryley
import java.util.Scanner;
public class LabProgram {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
String[] names = { "Ryley", "Edan", "Reagan", "Henry", "Caius", "Jane", "Guto", "Sonya", "Tyrese", "Johnny" };
int index;
index = scnr.nextInt();
try {
}
}
}
The program illustrates the use of catching exceptions using try and catch.
Exceptions are simply errors that can crash a programTry and catch are used to prevent errors from crashing a programThe required try and catch block is as follows:
try {
System.out.print(names[index]);
}
catch (ArrayIndexOutOfBoundsException e) {
System.out.println(e.getMessage());
}
The flow of the above code segment is as follows:
First, we begin with the try block
try {
Then the program prints the element at the index
System.out.print(names[index]); }
If the index does not exist in the array (e.g. -1 or 11), then the catch block is executed
catch (ArrayIndexOutOfBoundsException e) {
This prints the appropriate exception
System.out.println(e.getMessage()); }
See attachment for sample run
Read more about similar programs at:
https://brainly.com/question/21330187
What Is What is the difference between system software and application software?
Answer:
Hope it helps have a nice day..
Help please answer the question 1 2 3 4 5 6
help
Answer: A,c,a
Explanation: trust
Just did it
Another term for the plot structure of the hero journey
Viết thuật toán và chương trình: Tính tổng:
S=1+2+...i
Answer:
skdjsjwjdjcdjejxjdjxjdjwjsjxjdwiskxmdjxkdnejxj
Explanation:
justnejedjdfhjxnfbcjccjcuvjjfhedcjcjchcjeidchdjchcjdjcjcucjf
state five differences and similarities between a desktop and a laptop computer
Answer:
Difference:
1. screen size
2. Device needs external power source
3. Not portable
4. Much more powerful cores
5. Multiple internal drives
Similarities:
1. Can access the internet
2. Same operating system
3. components are similar
4. Applications can be run on both
5. They have the same purpose.
Exercise 3.6.9 24 vs “24”
Answer:
that's good exercise
Explanation:
where is the question ⁉️
try drawing the bass clef sign by tracing over the dotted lines. then draw five more on your own
Answer:
ok
Explanation:
did it. It was a little difficult to keep my pencil straight.
g bookmarks
5 4v
Next →
Illustrating Documents: Mastery Test
Type the correct answer in the box. Spell the word correctly.
What aspect should you consider before adding pictures to a document?
You should structure the
first before you search for a relevant picture.
Reset
Next
Before you search for a relevant picture you should first reset the structure.
When adding pictures to a document, you should first structure the reset and then look for a pertinent image. So, the correct option is A.
What are Pictures?A photograph is an image made by light striking a photosensitive surface, either photographic film or an electronic image sensor like a CCD or CMOS chip. It is also referred to as a photo, image, or picture.
Any visual thing that has been edited or manipulated by a computer is referred to as an image, as is any imagined object produced by a computer. Everything captured by a camera, digital camera, or photocopier is a photo or photograph. A picture is a digitally produced sketch, painting, or other piece of art.
For above given example, when adding pictures to a document, we should first structure the reset and then look for a pertinent image.
Thus, the correct option is A.
Learn more about image, here:
https://brainly.com/question/2976060
#SPJ7
7. It is also called as teleconferencing or web conferencing, an online meeting wherein two or more people can see, hear and talk to each other using computer networks to send audio and video data in real time. a. Video b. Call C. Video conferencing d. Telegram
C. Video conferencing
it is a type of online meeting where two or more people engage in a live audio-visual call. With a strong internet connection, the participants can see, hear, and talk to each other in real time, no matter where in the world they are.
!!!!!HELP!!!!! (30PTS)
Suppose you are using a Mac to read your e-mail messages, and your receive an e-mail message with a PowerPoint file attached. PowerPoint is not installed on the Mac you are working with. Which of these could you use to view the file? Choose all answers that are correct.
A. a text editor
B. Keynote
C. PowerPoint Online
D. a photo editor
Answer:
B. KN
C. PP Online
Explanation:
KN is A's own software for creating slideshow presentations. However, since most people using KN are coming from using MS PP, there is the option to open PPs in KN (albeit with some fonts missing).
You can also view the file from PP Online. Just create a MS account (if you don't already have one), download the email attachment and upload it to your cloud, and you should be able to view it there.
Which entry by the user will cause the program to halt with an error statement?
# Get a guess from the user and update the number of guesses.
guess = input("Guess an integer from 1 to 10.)
guess = int(guess)
seven
3
65
-25
Answer:
seven
Explanation:
Look at python data types
float=decimalint=integerstr=stringseven is a string not integer
So it will raise error
which design principle indicates that a project is visually satisfying
Answer: harmony
Explanation:
Took the test on gmetrix ;)
One design principle that indicates a project is visually satisfying is "balance."
Balance refers to the distribution of visual elements within a composition to create a sense of equilibrium and harmony.
When a design is balanced, it feels stable and visually pleasing.
Balance can be achieved in different ways:
a) Symmetrical Balance: This occurs when the elements on one side of the composition are mirrored or closely resemble those on the other side. It creates a sense of equilibrium and order.
b) Asymmetrical Balance: In this case, the visual weight of the elements is balanced by arranging them in a way that creates a sense of equilibrium without mirroring. It relies on contrast, color, texture, and size to achieve balance.
4) Radial Balance: This type of balance occurs when the elements radiate outward from a central point. It creates a circular or spiral arrangement that gives a sense of harmony and unity.
5) Visual Weight Balance: It involves distributing the visual elements in a way that evenly distributes their visual weight. Lighter or smaller elements can be balanced by heavier or larger elements to create equilibrium.
6) Color Balance: Balancing the colors within a design is crucial. Colors can have different visual weights, and distributing them evenly can create a visually satisfying composition.
By considering and applying these principles of balance, designers can create visually satisfying projects that are aesthetically pleasing and engaging to the viewer. However, it's important to note that visual satisfaction is subjective, and different individuals may have different preferences.
Learn more about design principle click;
https://brainly.com/question/32479329
#SPJ6
HELLLLLLLLPPP
Read the list of courses from a technical school (w3schools).
Which courses would prepare for you for a career in web development?
(Choose more than one answer)
Designing for Usability
Introduction to Networks
Technical Writing
Cybersecurity
write a reflection on what you have learned for this week. write your answer on the space inside the cloud.(Minimum of 30 words)
Answer:
“I think it’s about putting yourself in the students’ shoes and seeing how a first-time student, maybe someone who hasn’t even taken chemistry before, is looking at it.”
—Valerie Taraborelli, undergraduate chemistry student, University of Arizona
Sammy’s Seashore Supplies rents beach equipment such as kayaks, canoes, beach chairs, and umbrellas to tourists. Write a program that prompts the user for the number of minutes they rented the piece of sports equipment. Compute the rental cost as $40 per hour plus $1 for each additional minute. (Fix the logic error from Sammy's Rental program)
Display Sammy’s motto “Sammy’s makes it fun in the sun” surrounded by a border composed of repeated “Ss.” Save the file as SammysRental2.java
I just need lines of code and thats it
Answer:
import java.util.*;
public class SammysRentalPrice {
public static void main(String[] args) {
System.out.println("SsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSs");
System.out.println("Sammy's makes it fun in the sun");
System.out.println("SsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSsSs");
Scanner s=new Scanner(System.in);
System.out.print("Enter the rented minutes:");
int min=s.nextInt();
int hours=min/60;
min=min%60;
int tot_cost=(hours*40)+(min*1);
System.out.println("total hours is: "+hours);
System.out.println("total minutes is: "+min);
System.out.println("total cost is: "+tot_cost);
}
}
Explanation: This is the code I made.
Lập trình đếm xem có bao nhiêu số chẵn , bao nhiêu số lẻ trong đoạn từ M đến N
d. 2A116 into binary
2A116₍₁₆₎ = ?₍₂₎
2₍₁₀₎ = 0010₍₂₎
A₍₁₀₎ = 1010₍₂₎
1₍₁₀₎ = 0001₍₂₎
1₍₁₀₎ = 0001₍₂₎
6₍₁₀₎ = (0110)₍₂₎
⇒ 2A116₍₁₆₎ = (0010)(1010)(0001)(0001)(0110)₍₂₎ = 101010000100010110₍₂₎
Which is non executable statement used to write some information.
Answer:
Programming command that is not run or executed when being read by the computer. For example, a commonly used nonexecutable statement is REM (remark) used in batch files and other Microsoft Windows and DOS programs.
What should the car be programmed to do if it encounters an unavoidable accident? (about autonomous vehicles)(help me :c)
Answer:
The nation proposed that: “self-driving cars should always attempt to minimize human death and shouldn't discriminate between individuals based on age, gender, or any factor. Human lives should also always be given priority over animals or property” (Nowak).
Is all the information on the Internet truthful? Why or Why not.
All of the information on the internet is not truthful because some people just say things to say things and they don’t have accurate answers.
Answer:
No
Explanation:
Not all information that you read on the internet is true because some szites let other people post information that has no facts to back it up.