Answer:
The uncertainty of inventiveness and futuristic ideas usually deal with science and technology.
Inventibility is something uncertain which promotes a risk in any system in which it is inserted. With that, we can naturally associate it with the maintenance of science and technology, because both are in need of inventing new creations, which may or may not be effective for the defeat of uncertainties and the creation of certainties.
This is usually linked to futuristic ideas, which may not fit in today's society, but which impose improvements, or not, for societies in the future. Leading to the creation of more technologies and more sciences.
Which Chart Tool button allows you to quickly toggle the legend on and off?
Chart Styles button
Chart Filters button
Chart Elements button
Chart Font button
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct answer to this question is:
Chart Element button
When you will insert a chart in excel, after inserting a chart in excel, when you click on the chart, then at the top right corner a button "+" will appear. This is called the Chart Elements button. By using this button, you can quickly toggle the legend on and off. By using this button you can add, remove, or change chart elements such as gridlines, title, legend, and data label, etc.
While other options are not correct because:
Chart Style button is used to change the style and color of a chart. Chart Filter button is used to filter the name and series of the chart and display them. While the chart font button is used to change the font of the chart.
Answer:
C. Chart Element Button
Explanation:
NEED HELP
In a worksheet with the ages of 20 people listed in a column, what could you do to easily identify the oldest person?
A.
format the numbers as text
B.
filter the data in that column
C.
paste that column of data in a new worksheet
D.
sort the data in that column
Answer: the correct answer is D) sort the data in that column
Explanation: got the question right
Please write in Java, 35PTS
Write a program called Teen that takes a sentence and returns a new sentence based on how a teenager might say that. The method that creates the new string should be called teenTalk and should have the signature shown in the starter code.
The way to do that is to put the word "like" in between each of the words in the original sentence.
For example, teenTalk("That is so funny!") would return "That like is like so like funny!".
Sample output:
Sonequa Martin-Green is in grade 10 and wants to send this text:
Enter the text message being sent:
Hello world how are you doing?
The teen talk text would be:
Hello like world like how like are like you like doing?
import java.util.Scanner;
public class JavaApplication76 {
public static String teenTalk(String message){
String newMessage = "";
for (int i = 0; i < message.length(); i ++){
char c = message.charAt(i);
if (Character.isWhitespace(c)){
newMessage += " like ";
c = Character.MIN_VALUE;
}
newMessage += c;
}
return newMessage;
}
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter the text message being sent:");
String message = scan.nextLine();
System.out.println("The teen talk text would be:");
System.out.println(teenTalk(message));
}
}
I hope this helps!
Guess The Song
She said What you know bout love
I got what you need
Walk up in the store and get what you want
Give a non-network example of hierarchical addressing and discuss how it reduces the amount of work needed in physical delivery. Do not use the postal service, or the telephone network..
HIERARCHICAL EXAMPLE.
Many examples of hierarchical addressing exists which reduces the amount of work needed in locating or in delivering,and one of such examples is the 'sorting of books in a library'.
Looking at a library having books kept randomly on any stack and shelf,it will make it difficult finding any book easily or locating any book of a specific genre.so,to avoid such problems, books are orderly sorted in a library and each book is given or has a unique identification number.
Books that has the same or related subject are kept in the same stack and books of the same genre are also kept together.
In a library,there are many stacks having different rows.
Take for an example; If one need to find a book on computer network,the user can search for the books in stacks of books that are related to Computer Science instead of searching the whole library for the book.
So,the hierarchical addressing saves lots of work and also time required for searching a specific book in the library.
You are given with a list of integer elements. Make a new list which will store square of elements of previous list. How can I do this on Python
We declare our lst variable with a list of different integers.
We then use list comprehensions to create a list of all of the elements in our lst variable squared. We print the new list to the console.
Melissa is updating her class Cell. She has written the following code, but it will not compile. Where is her error?
public class Cell
{
private int chromosomes, rna;
public double time, h2o;
private static int cellCount = 0;
private static double mCount = 4.0;
public Cell()
{
chromosomes = 23;
rna = 1;
h20 = 2.0;
cellCount++;
System.out.println(“There are now ” + cellCount + “ cells”);
}
public Cell(int a_chromosomes, int a_rna, double a_h20)
{
chromosomes = a_chromosomes;
rna = a_rna;
this();
h20 = a_h20;
cellCount++;
System.out.println(“There are now ” + cellCount + “ cells”);
}
public void printInfo() {
System.out.println(“chromosomes: ” + chromosomes);
System.out.println(“rna: ” + rna);
System.out.println(“h2o: ” + h2o);
}
public int getChromosomes()
{
if (chromosomes < 1) {
throw new IllegalArgumentException(“chromosomes is less than 1”);
}
return chromosomes;
}
public double get_mCount()
{
return mCount;
}
}
Reset
A. chromosomes = a_chromosomes;
B. this();
C. cellCount++;
D. return chromosomes;
Answer:
C. cellCount++ -- is incementing a static variable
b. Some of Company X's new practices and systems are unethical. Business ethics is a set of codes
about how a business should conduct itself. In what ways is Company X not applying ethical practices?
(1 point)
Answer:
They are changing schedules without proper notice, cutting workers without proper notice and falsely advertising.
Explanation:
Define a function called 'findWordFreq, which takes two parameters. The first parameter, 'text" is an nltk.text.Text object and the second parameter, 'word' is a string. The function definition code stub is given in the editor. Perform the given operation for the 'text' object and print the results: 11 Determine the frequency distribution of all words having only alphabets in "text", store into a variable 'textfreq 15 • Find the frequency for the given 'word, and store it into the variable 'wordfreq'. • Find the word which has a maximum frequency from the textfreq , and store into the variable 'maxfreq! 16 17 19 Return 'wordfreq' and 'maxfreq. variables from the function. Input Format for Custom Testing Input from stdin will be processed as follows and passed to the function. Python 3 • Autocomplete Ready O 8 import zipfile from nltk.corpus import gutenberg 10 from nltk. text import Text import nltk 12 13 14 # Complete the 'findWordFreq' function below. def findWordFreq(text, word): # Write your code here textfreq = nltk. FreqDist(text) 18 wordfreq = nltk.FreqDist(word) maxfreq = nltk.FreqDist(text) 20 return wordfreq, maxfreq 21 22 vif -_name__ == '__main__': 23 text = input() 24 word = input() 25 if not os.path.exists(os.getcwd() + "/nltk_data"): 26 with zipfile.ZipFile("nltk_data.zip", 'r') as zip_ref: 27 zip_ref.extractall(os.getcwd()) 28 os.environ['NLTK_DATA'] = os.getcwd() + "/nltk_data" 30 text = Text(gutenberg.words (text)) 31 32 word_freq, max_freq = findWordFreq(text, word) 33 34 print(word_freq) 35 print(max_freq) The first line contains a string 'text', which should be one of the text collection file names from gutenberg corpora. The second line contains a string 'word. Find the frequency for the word, Sample Case Sample Input 29 Function Parameters STDIN ----- ------- austen-sense.txt John → text = nltk.Text(nltk.gutenberg.words ('austen-sense.txt → word = 'John! Line: 19 Col Sample Output Test Results Custom Inpus Run Submit Cod 163 to No test case passed. Input (stdin) 1 austen-sense.txt 2. John Your Output (stdout) 1 2. Expected Output 1 163 2 to
Answer:
import os
import nltk
import zipfile
from nltk. corpus import gutenberg
from nltk. text import Text
def findWordFreq(text, word):
textfreq = nltk. FreqDist(text)
wordfreq = nltk.FreqDist(word)
maxfreq = max(textfreq)
return wordfreq, maxfreq
if -_name__ == '__main__':
text = input()
word = input()
if not os.path.exists(os.getcwd() + "/nltk_data"):
with zipfile.ZipFile("nltk_data.zip", 'r') as zip_ref:
zip_ref.extractall(os.getcwd())
os.environ['NLTK_DATA'] = os.getcwd() + "/nltk_data"
text = Text(gutenberg.words (text))
word_freq, max_freq = findWordFreq(text, word)
print(word_freq)
print(max_freq)
Explanation:
The natural language package in python is used to get and analyse word from voice input. The python code above get words from a zipfile extract, and the 'findWordFreq' function gets the word count and the maximum number of alphabet used in the word distribution.
Gina was waiting for her friend at the airport. When she arrived, her friend could see the joy on Gina’s face. Which component of intelligence plays a role here? A. reasoning B. problem solving C. perception D. linguistic intelligence
Answer:
c
Explanation:
In considering a sorting problem, how important is it to you that some of the data is likely to be ordered?
Answer:
It depends on the size of the data structure and the algorithm used, if the data structure is small, then an ordered data is not relevant considering the choice of speed.
Explanation:
There are various data structures and algorithms. The time taken to iterate through a small unordered list or array data is relevant (a linear sort of O(n) would not be harmful), but as the size increases, the execution time increases.
So, for larger data structures, an ordered data and a more time-efficient algorithm is adopted.
Write code that creates a Python set containing each unique character in a string named my_string. For example, if the string is 'hello', the set would be {'h', 'e', 'l', 'o'} (in any order). Assign the set to a variable named my_set. Assume that my_string has already been initialized.
my_set = set(my_string)
This creates a set of the unique characters of the variable my_string
The code that creates a Python set containing each unique character in a string is as follows:
my_string = "Hello"
my_set = set(my_string)
print(my_set)
Code explanation:The code is written in python.
The first line of code, we named a variable "my_string" and stored a string "hello" in it.The my_set variable is used to store the set value of our the string "Hello".Finally, we print the my_set value to get the sets of our string.learn more on string here: https://brainly.com/question/15292660
In binary, the second digit from the right is multiplied by the first power of two, and the _____ digit from the right is multiplied by the fourth power of two.
A. Fourth
B. Fifth
C. Sixth
Answer:
Your answer would be, B. Fifth digit ftom the right.
Explanation:
Binary with letters works like this,
the first 3 bits from the left, determine if the character is caps or lowercase, 010 is capital and 011 is lowercase, the next 5 are like this,
First - 2 to the power of four
Second - 2 to the power of three
Third - 2 to the power of two
Fourth - 2 to the powet of one
Fifth - 2 to the power of zero
So, given that information, the fourth digit from the right is 2 to the power of the three. The sixth digit is a bit to determine the capitalization, so the only answer left is B.
In binary, the second digit from the right is multiplied by the first power of two, and the fifth digit from the right is multiplied by the fourth power of two.
What is a binary number?The base-2 numeral system, often known as the binary numeral system, is a way of expressing numbers in mathematics that employs only two symbols, typically "0" and "1."
The character's case is determined by the first three bits from the left, 010 is capitalized, 011 is lowercase, and so on for the following 5.
First - 2 to the power of four
Second - 2 to the power of three
Third - 2 to the power of two
Fourth - 2 to the powet of one
Fifth - 2 to the power of zero
The fourth digit from the right is therefore 2 to the power of three given the information above. The only option left is B because the sixth digit is a bit to determine capitalization.
Therefore, the correct option is B. Fifth.
To learn more about binary numbers, refer to the link:
https://brainly.com/question/15766517
#SPJ2
Write a Java program called Pattern that prints an 8-by-8 checker box pattern using a For loop structure as follows:
# # # # # # # #
# # # # # # # #
# # # # # # # #
# # # # # # # #
# # # # # # # #
# # # # # # # #
# # # # # # # #
# # # # # # # #
public class JavaApplication79 {
public static void main(String[] args) {
int count = 0;
for(int i = 0; i < 64; i ++){
if (count == 8){
System.out.println("");
count = 0;
}
System.out.print("#");
count ++;
}
}
}
I hope this helps!
Edhesive 3.4 practice 1
Answer:
This is not a question bud
Explanation:
Project 15A - Math Application
package: proj15A
Classes: Main, Circle, Rectangular
Using your new knowledge of methods and classes create a program with an interface. The program must allow a user to enter values and calculate: Areas, Perimeters, Surface Area, and Volumes for circular and rectangular shapes.
The program must have three classes. A main class, circle class and a rectangular class.
Submit all code one after the other as text into Canvas in the following order.
• main.class
• circle.class
• rect.class
I have it all done just need to finish this code
package math;
import java.util.Scanner;
public class Main
{
public static void main(String[] args)// main method
{
Scanner nScan = new Scanner(System.in);
DecimalFormat mf = new DeciamlFormat("0.0");
Circle cir1 = new Circle(0,0);
Rectangle rec1 = new Rectangle (0,0,0);
//variables
boolean runProg = true;
int choice =0;
while(runProg)
{
System.out.print("Math calculator 3000 ver1");
System.out.print("choose a mode. \n"
+ "1 circle mode \n"
+ "2 Rectangle mode \n"
+ "3 End program");
choice = nScan.nextInt();
if(choice==1) //circle mode
{
}
else if(choice == 2) //Rectangle Mode
{
}
else if(choice == 3) //Program Shutdown
{
}
else
{
System.out.println("You may only choose 1-3. Try again.");
}
}
nScan.close();
}
}
Answer:
A simple php code for the following is given below:
Explanation:
interface Calculate {
public function area($lenght,$width);
public function perimeter($length,$width);
public function surfaceArea($length_side_1,$length_side_2);
public funcction volume($length, $width, $height):
}
interface Calculate2 {
public function area($raidus);
public function perimeter($radius);
public function surfaceArea($radius);
public funcction volume($radius):
}
Class Mian{
width=please Enter the value of width
height=please Enterr the value of height
length=please enter the value of length
lenght2=please enter the value of lenth of side 2
ridus= please enter the value of radius
Circle = new circle()
Rectangle = new rectangle()
}
Class Circle implements Calculate2{
public function area(){
area= pi*r
return area
}
public function perimeter(){
perimeter=2*pi*r
return perimeter
}
public function surfaceArea(){
surfacearea= pi*r*r
}
public function volume(){}
area=area()
volume=area*height
return volume
}
Class Rectangle implements Calculate{
public function area(lenght,width){
area= length * width
return area
}
public function perimeter(lenght,width){
perimenter=2(lenght+width)
return perimeter
}
public function surfaceArea(length_side_1, withd right place){}
surface_area 2*length_side_1 f* length_side_2_
public function volume(){}
public surface volume(length,width,height)
volume= length * width * height
return volume
}
Melissa is writing a class called Cell. Which method has she set up to return a double?
public class Cell
{
private int chromosomes, rna;
public double time, h2o;
private static int cellCount = 0;
private static double mCount = 4.0;
public Cell()
{
chromosomes = 23;
rna = 1;
h20 = 2.0;
cellCount++;
System.out.println(“There are now ” + cellCount + “ cells”);
}
A. public Cell(int a_chromosomes, int a_rna, double a_h20)
{
chromosomes = a_chromosomes;
rna = a_rna;
h20 = a_h20;
}
B. public int getChromosomes()
{
if (chromosomes < 1) {
throw new IllegalArgumentException(“chromosomes is less than 1”);
}
return chromosomes;
}
C. public double get_mCount()
{
return mCount;
}
Answer:
C. public double get_mCount()
How does data structure affect the programs we use
Answer The data structure and algorithm provide a set of techniques for that program in order for it to function. think of it like yt
Explanation:
Guess The Song:
She don't like her body, left the doctor with a new shape
Blowing up my phone 'cause she just see me with my new bae
Heart breaker, ladies love me like I'm Cool J
Answer:pop out
Explanation:
In addition to assuming that n is a power of 2, we made, for the sake of simplicity, another, more subtle, assumption in setting up the recurrences for M(n) and A(n), which is not always true (it does not change the final answers, however). What is this assumption?
When we are to make use of decimal numbers,we can use multiplication by the power of 10 just by a shift,so that is it not really necessary to consider the said multiplication in the evaluation of (M (n).
However,in the evaluation of c1, for the multiplication of large integers,the sum we have from n/2 - digits cannot have n/2 digits,but it can actually have n/2+1.
Note that these assumptions were made for the sake of computational convenience.
The Learning Journal is a tool for self-reflection on the learning process. The Learning Journal will be assessed by your instructor as part of your Final Grade.
Your learning journal entry must be a reflective statement that considers the following questions:
Describe what you did. This does not mean that you copy and paste from what you have posted or the assignments you have prepared. You need to describe what you did and how you did it.
Describe your reactions to what you did.
Describe any feedback you received or any specific interactions you had. Discuss how they were helpful.
Describe your feelings and attitudes.
Describe what you learned.
Another set of questions to consider in your learning journal statement include:
What surprised me or caused me to wonder?
What happened that felt particularly challenging? Why was it challenging to me?
What skills and knowledge do I recognize that I am gaining?
What am I realizing about myself as a learner?
In what ways am I able to apply the ideas and concepts gained to my own experience?
Finally, describe one important thing that you are thinking about in relation to the activity.
ghfwkjefffffffffffwhlej,fwhn
Answer:
huh
Explanation:
Answer:
you good?
Explanation:
There are a few errors in the code provided in the Code Editor. Your task is to debug the code so that it outputs the verses correctly.
animal = input("Enter an animal: ")
sound = input ("Enter a sound: ")
e = "E"
print ("Old Macdonald had a farm, " + e)
print ("And on his farm he had a" + animal + "," + e)
print ("With a " + animal + "-" + animal + " here and a" + sound + "-" + sound + " there")
print ("Here a "+ sound+ " there a " +sound)
print ("Everywhere a" + sound + "-" + animal )
print ("Old Macdonald had a farm," + e)
animal = input("Enter an animal: ")
sound = input("Enter a sound: ")
e = "E"
print("Old Macdonald had a farm, " + e)
print("And on his farm he had a " + animal + ", " + e)
print("With a " + animal + "-" + animal + " here and a " + sound + "-" + sound + " there")
print("Here a " + sound + " there a " + sound)
print("Everywhere a " + sound + "-" + animal)
print("Old Macdonald had a farm, " + e)
This works for me. Best of luck.
Answer:
animal = input("Enter an animal: ")
sound = input ("Enter a sound: ")
e = "E-I-E-I-O"
print ("Old Macdonald had a farm, " + e)
print ("And on his farm he had a " + animal + ", " + e)
print ("With a " + sound + "-" + sound + " here and a " + sound + "-" + sound + " there")
print ("Here a "+ sound+ " there a " +sound)
print ("Everywhere a " + sound + "-" + sound )
print ("Old Macdonald had a farm, " + e)
Explanation:
You need to subnet a network that has 5 subnets, each with at least 16 hosts. Which classful subnet mask would you use?A. 255.255.255.192B. 255.255.255.224C. 255.255.255.240D. 255.255.255.248
Answer:
B. 255.255.255.224
Explanation:
Subnetting in networking is a process of reducing the number of wasted IP addresses used in a network. There are three major classes of IP address, they are, Class A, B, and C with respective network addresses of 1,2, and 3 octets of the subnet mask.
255.255.255.0 is a class C IP address, it only has one subnet mask and 256 host address. In a network of 16 to 30 hosts, 226 to 240 addresses would be wasted. Subnetting the address to have five subnets reduces the IP addresses used.
The new subnet mask becomes 255.255.255.224 borrowing 3 bits from the fourth octet to give 8 subnet masks and 30 host IP addresses.
Using the estimated regression model, what median house price is predicted for a tract in the Boston area that does not bound the Charles River, has a crime rate of 0.1, and where the average number of rooms per house is 6?
Answer:
The predicted median house price "medv" is $20,775.
Explanation:
The python code below uses the python's scikit-learn package to program the housing model using multiple factor linear regression.
import pandas as pd
from sklearn.linear_model import LinearRegression
from sklearn.model_selection import train_test_split
df = pd.read_csv('Boston.csv')
df.head(10)
y = df[['medv']]
x = df[['crim', 'chas', 'rm']]
x_train, x_test, y_train, y_test = train_test_split(x, y, train_size=0.75, test_size=0.25, random_state=0)
regr = LinearRegression()
regr.fit(x_train, y_train)
print(regr.coef_)
result = (regr.predict([[0.1,0,6]])).tolist()
print(f"The mean price of house in boston with 6 rooms: {round(result[0][0], 2)}")
PLEASE HELP
what are some benefits of using graphic on web page?
Images help tell a story where describing with words is either too lengthy, or practically impossible. For instance, you could have a map of a location and various arrows and other markings to describe movements of troops during a battle of the civil war. This is one example of many that you could have as an image on a website. Describing the troop movements with words only may be really difficult to do. Plus many people are visually oriented learners, so they benefit with images every now and then. Of course, it's best not to overdo things and overload the site with too many images. A nice balance is needed.
Date Time Manipulation Exploration If you start from Jan 1st, 1757, and repeatedly add 8 days, until you hit 1800, how many times will it be a Monday? # YOUR CODE HERE def calcDays (): my_date = date(1757, 1, 1) m = 0 while my_date.year != 1800 : my_date = my_date + timedelta(days = 8) if my_date.isoweekday () == 1: m += 1 return m Make a function Once you have answered this question, convert your code into a generalized function. This function, call it count_weekdays should take: start_date: a start date (a datetime object) add_days : a number of days to add (an int) • stop_year: a stop year (an int) • weekday : a day to count, represented in isoweekday format (an int) It should return the number of weekday is that occur from the start date, until stop year, when adding add_days days.
Answer:
from datetime import datetime, date, timedelta
def count_weekdays(start_date, add_days, stop_year, weekday):
my_date = start_date
m = 0
while my_date.year != stop_year:
my_date = my_date + timedelta(days = add_days)
if my_date.isoweekday() == weekday:
m += 1
return m
date_val = date(1757,1,1)
try:
date_val = datetime.fromisoformat(input("Enter date in the format yyyy-mm-dd: "))
except ValueError:
print("Wrong isoformat string")
print(count_weekdays(date_val, 8, 1800, 1))
Explanation:
The datetime package of the python programming language has several time modules like the date, datetime, pytz, timedelta, etc, used to manipulate date and time in documents. The function count_weekdays has four parameters and returns the number of a specified weekday in a period of time.
thoughts on copyright?
Answer:
Don't do it. People will sue you even though it was put on the internet.
Explanation:
You defined a book data type.
class book:
title = ''
author = ''
pages = 0
Then, you created an instance of your book.
myBook = book()
Which statement assigns a value to the title?
myBook.book.title = myBook.title = 'To Kill a Mockingbird'
myBook.title('To Kill a Mockingbird')
myBook.title = 'To Kill a Mockingbird'
title = 'To Kill a Mockingbird'
myBook.title = 'To Kill a Mockingbird'
pog 2022
By default, Outlook displays messages in the Content pane grouped by the
Answer: c
Explanation: