Answer:
A. Is a distributed file system
Explanation:
The WAFL is a distributed file system. It is blocked based and it has to make use of inodes to describe it's files. This is a proprietary file system, ystem layout. The WAFL makes use of files for the storage of meta-data which gives a description of the layout of the file system.
The WAFL is named the Write Anywhere File Layout because all data can be written in any part on the disk.
3. Write a function named sum_of_squares_until that takes one integer as its argument. I will call the argument no_more_than. The function will add up the squares of consecutive integers starting with 1 and stopping when adding one more would make the total go over the no_more_than number provided. The function will RETURN the sum of the squares of those first n integers so long as that sum is less than the limit given by the argument
Answer:
Following are the program to this question:
def sum_of_squares(no_more_than):#defining a method sum_of_squares that accepts a variable
i = 1#defining integer variable
t = 0#defining integer variable
while(t+i**2 <= no_more_than):#defining a while loop that checks t+i square value less than equal to parameter value
t= t+ i**2#use t variable to add value
i += 1#increment the value of i by 1
return t#return t variable value
print(sum_of_squares(12))#defining print method to call sum_of_squares method and print its return value
Output:
5
Explanation:
In the program code, a method "sum_of_squares" is declared, which accepts an integer variable "no_more_than" in its parameter, inside the method, two integer variable "i and t" are declared, in which "i" hold a value 1, and "t" hold a value that is 0.
In the next step, a while loop has defined, that square and add integer value and check its value less than equal to the parameter value, in the loop it checks the value and returns t variable value.
You want to draw a rectangle over the moon you added to your slide and then move it behind the moon. You want it to look like a frame.
What ribbon tab would you click to find the tool to add the rectangle?
Animations
Insert
Design
Home
Why are people's visions of utopias and dystopias subjective?
A. Because the vision one person has of paradise will likely match
the vision most people have of a utopia
B. Because only certain technologies make things better and
different ones make things worse in a dystopia
C. Because all technology is dangerous and can lead to the downfall
of all societies, resulting in dystopia
D. Because the technology needed for one person's utopia may be
what creates disaster for another person's dystopia
Answer:
D. Because the technology needed for one person's utopia may be what creates disaster for another person's dystopia.
Explanation:
Because the technology needed for one person's utopia may be what creates disaster for another person's dystopia are people's visions of utopias and dystopias subjective. Thus option D is correct.
What are utopias and dystopias?Speculative fiction categories that study social as well as political structures include utopian and dystopian literature. In order to pique readers' interest, utopian fiction often depicts a world that adheres to the author's ethics and has many elements of a different reality.
Ultimately, it all varies depending on who you ask. A person's dystopia may be another person's utopia. We don't all have the same notions regarding what a utopia would look like, which is, in my opinion, one of the grounds why people don't live in one. Therefore, option D is the correct option.
Learn more about utopias and dystopias, Here:
https://brainly.com/question/905235
#SPJ2
What line of code makes the character pointer studentPointer point to the character variable userStudent?char userStudent = 'S';char* studentPointer;
Answer:
char* studentPointer = &userStudent;
Explanation:
Pointers in C are variables used to point to the location of another variable. To declare pointer, the data type must be specified (same as the variable it is pointing to), followed by an asterisk and then the name of the pointer. The reference of the target variable is also assigned to the pointer to allow direct changes from the pointer variable.
Which interpersonal skill is the most important for a telecom technician to develop?
teamwork
active listening
conflict resolution
social awareness
Answer: Interpersonal communication is the process of face-to-face exchange of thoughts, ideas, feelings and emotions between two or more people. This includes both verbal and nonverbal elements of personal interaction.
Explanation:
i think plz dont be mad
Which of the following are downlink transport channels?
a. BCH.
b. PCH.
C. RACH.
d. UL-SCH.
e. DL-SCH.
can someone help me
Answer:
C
Explanation:
Answer:
B. boringanimals.join()
Explanation:
The ".join" method creates and returns a new string by concatenating, or joining, all of the elements in an array.
Write a query to find the customer balance summary (total, min, max, avg) for all customers who have not made purchases during the current invoicing period
Answer:
SELECT SUM(customer_balance) as Total, MIN(customer_balance) as minimum_balance, Max(customer_balance) as maximum_balance, AVG(customer_balance) as average_balance FROM customers WHERE customer_id NOT IN (SELECT customer_id FROM invoice)
Explanation:
The SQL query statement returns four columns which are aggregates of the column customer_balance from the customers table in the database and the rows are for customers that have not made any purchase during the current invoicing period.
Write a method that draws a circle and a square that is centered in a DrawingPanel. The method will take in the width and height (they are the same for both the circle and square) and a Graphics object as parameters
IN java
current code: turn it into a method along with the main method
import java.awt.*;
public class Graphics {
static final int WIDTH = 300;
static final int HEIGHT = 200;
public static void drawGraphics () {
}
public static void main(String []args) {
DrawingPanel2 draw = new DrawingPanel2(WIDTH,HEIGHT); // Make a DrawginPanel2 of size 300 by 200.
Graphics2D g = draw.getGraphics(); // gets graphics from DrawingPanel so you can draw
g.setColor(Color.RED);
g.fillRect(45, 30, 200, 150);
g.setColor(Color.BLUE);
g.fillOval(70, 30, 150, 150);
}
}
Answer:
public static void drawGraphics (Graphics g, int width, int height) {
int r = Math.round(width/2);
int x = 45;
int y = 30;
g.setColor(Color.RED);
g.fillRect(x, y, width, height);
g.setColor(Color.BLUE);
g.fillOval(Math.round(x/2), Math.round(y/2), r, r);
}
Explanation:
The Java method "drawGraphics" of the Graphics class accepts draws a square with the "fillRect()" method of the Graphics class object and at its center, a circular path is drawn as well.
A strictly dominates choice B in a multi-attribute utility. It is in your best interest to choose A no matter which attribute youare optimizing.
a. True
b. False
Answer:
A strictly dominates choice B in a multi-attribute utility. It is in your best interest to choose A no matter which attribute youare optimizing.
a. True
Explanation:
Yes. It is in the best interest to choose option A which dominates choice B. A Multiple Attribute Utility involves evaluating the values of alternatives in order to make preference decisions over the available alternatives. Multiple Attribute Utility decisions are basically characterized by multiple and conflicting attributes. To solve the decision problem, weights are assigned to each attribute. These weights are then used to determine the option that should be prioritized.
Suppose an application generates chunks 60 bytes of data every 200msec. Assume that each chunk gets put into a TCP packet (using a standard header with no options) and that the TCP packet gets put into an IP packets. What is the % of overhead that is added in because of TCP and IP combines?
1) 40%
2) 10%
3) 20%
4) 70%
Answer:
1) 40%
Explanation:
Given the data size = 60 byte
data traversed through TSP then IP
Header size of TCP = 20 bytes to 60 bytes
Header size of IP = 20 bytes to 60 bytes
Calculating overhead:
By default minimum header size is taken into consideration hence TCP header size = 20 bytes and IP header size = 20 bytes
Hence, the correct answer is option 1 = 40%
What is the output?
class car:
model = "
age = 20
myCar = car()
myCar.age= myCar.age + 10
print(myCar.age)
Output:
Answer:
The answer to this question is 30
The explanation is given below
You can also see the attachment section to see the image of result
Explanation:
This question want use to print the value of myCar.age
print(myCar.age)
If we look at line 3, age=20
So the previous value is 20 and we have to add 10 to add as shown
myCar.age= myCar.age + 10
The value will become 30
Answer:
30
Explanation:
trust
How did NAT help resolve the shortage of IPV4 addresses after the increase in SOHO, Small Office Home Office, sites requiring connections to the Internet?
Question Completion:
Choose the best answer below:
A. It provides a migration path to IPV6.
B. It permits routing the private IPV4 subnet 10.0.0.0 over the Internet.
C. NAT adds one more bit to the IP address, thus providing more IP addresses to use on the Internet.
D. It allowed SOHO sites to appear as a single IP address, (and single device), to the Internet even though there may be many devices that use IP addresses on the LAN at the SOHO site.
Answer:
NAT helped resolve the shortage of IPV$ addresses after the increase in SOHO, Small Office Home Office sites requiring connections to the internet by:
D. It allowed SOHO sites to appear as a single IP address, (and single device), to the Internet even though there may be many devices that use IP addresses on the LAN at the SOHO site.
Explanation:
Network Address Translation (NAT) gives a router the ability to translate a public IP address to a private IP address and vice versa. With the added security that it provides to the network, it keeps the private IP addresses hidden (private) from the outside world. By so doing, NAT permits routers (single devices) to act as agents between the Internet (public networks) and local (private) networks. With this facilitation, a single unique IP address is required to represent an entire group of computers to anything outside their networks.
A series of gentle often open-ended inquiries that allow the client to progressively examine the assumptions and interpretations here she is made about the victimization experience is called:_____.
Answer:
Trauma Narrative
Explanation:
Given that Trauma narrative is a form of narrative or carefully designed strategy often used by psychologists to assists the survivors of trauma to understand the meaning or realization of their experiences. It is at the same time serves as a form of openness to recollections or memories considered to be painful.
Hence, A series of gentle often open-ended inquiries that allow the client to progressively examine the assumptions and interpretations he or she is made about the victimization experience is called TRAUMA NARRATIVE
Which heading function is the biggest?
1. h1
2. h2
3. h3
Answer:
h3
Explanation:
sub to Thicc Panda on YT
Why is a bedroom considered a poor study environment?
Bedrooms are dimly lit.
Bedrooms are too small.
Bedrooms are too comfortable.
Bedrooms are messy and cluttered.
Answer:
It would basically be based on how you study and what your room is like. But my opinion would be
Bedrooms are Too Comfortable- which causes you to want to sleep or not due your work
Bedrooms are dimly lit- Which makes it hard for you to see your work and see anything
Bedrooms are too small- You will fell crushed and hard to focus (I would most likely choose this answer)
Bedrooms are messy and cluttered- You will not be able to concentrate and make it hard to study or do school work. ( I would choose this because I have experienced with this and I score higher in a cleaner environment and able to focus more)
Explanation: This would all depend on how you best work.
Hope this Helps!!
Suppose that a t-shirt comes in five sizes: S, M, L, XL, XXL. Each size comes in four colors. How many possible t-shirts are there?
Answer:
120
Explanation:
This question is basically asking how many ways can we arrange 5 sizes of shirts if they come in 4 colors.
5 permutation of 4
To find permutation, we use the formula
P(n, r) = n! / (n - r)!
Where
n is the size of the shirts available, 5
r is the color of each shirt available, 4
P(5, 4) = 5! / (5 - 4)!
P(5, 4) = (5 * 4 * 3 * 2 * 1) / 1!
P(5, 4) = 120 / 1
P(5, 4) = 120
Therefore, the total number of shirts available is 120
The purpose of __________________ is to isolate the behavior of a given component of software. It is an excellent tool for software validation testing.a. white box testingb. special box testingc. class box testingd. black-box testing
Answer:
d.) black-box testing
Explanation:
Software testing can be regarded as procedures/process engage in the verification of a system, it helps in detection of failure in the software, then after knowing the defect , then it can be corrected. Black Box Testing can be regarded as a type of software testing method whereby internal structure as well as design of the item under test is not known by one testing it. In this testing internal structure of code/ program is unknown when testing the software, it is very useful in checking functionality of a particular application. Some of the black box testing techniques commonly used are; Equivalence Partitioning, Cause effect graphing as well as Boundary value analysis. It should be noted that the purpose of black-box testing is to isolate the behavior of a given component of software.
How do you overload a C2677 error code in c++ for '-'?
what is the operating system on an IBM computer?
Answer:
OS/VS2 and MVS
Explanation:
Create a function copy() that reads one file line by line and copies each line to another file. You should use try-except statements and use either open and close file statements or a with file statement.>>>def copy(filename1, filename2) :
Answer:
See attachment for answer
Explanation:
I could not add the answer; So, I made use of an attachment
The program is written on 9 lines and the line by line explanation is as follows:
Line 1:
This defines the function
Line 2:
This begins a try except exception that returns an exception if an error is encountered
Line 3:
This open the source file using open and with statement
Line 4:
This open the destination file using open and with statement and also makes it writable
Line 5:
This iterates through the content of the source file; line by line
Line 6:
This writes the content to the destination file
Line 7 & 8:
This is returned if an error is encountered
Line 9:
This prints that the file has been successfully copied
To call the function from main; use
copy(filename1, filename2)
Where filename1 and filename2 are names of source and destination files.
Take for instance:
filename1 = "test1.txt"
filename1 = "test2.txt"
copy(filename1, filename2)
The above will copy from test1.txt to test2.txt
The function copies text from one file to another. The program written in python 3 goes thus
def copy(filename1, filename2):
#initialize a function names copy and takes two arguments which are two files
try:
#initiate exception to prevent program throwing an error
with open(filename1, "r") as file1 :
#open file1 in the read mode with an alias
with open(filename2, "w") as file2:
#open file 2 in write mode with an alias
for line in file1:
#loop through each line in file 1
file2.write(line)
#copy / write the line in file2
except:
print("Error copying file")
#display if an error is encountered
print("File Copied")
#if no error, display file copied
Learn more : https://brainly.com/question/22392664
What common variation of the Server Message Block (SMB) sharing protocol is considered to be a dialect of SMB?
Answer:
Common Internet File System
Explanation:
Given that the Server Message Block (SMB) has various types or variations. The most common variation of this Server Message Block sharing protocol that is considered to be a dialect of SMB is known as "Common Internet File System." This is known to serve as a form of a communication protocol for giving shared access to different outlets between nodes on a network.
Hence, in this case, the correct answer is "Common Internet File System"
Pointers are addresses and have a numerical value. You can print out the value of a pointer as cout << (unsigned)(p). Write a program to compare p, p + 1, q, and q + 1, where p is an int* and q is a double*. Explain the results.
Answer:
#include <iostream>
using namespace std;
int main() {
int i = 2;
double j = 3;
int *p = &i;
double *q = &j;
cout << "p = " << p << ", p+1 = " << p+1 << endl;
cout << "q = " << q << ", q+1 = " << q+1 << endl;
return 0;
}
Explanation:
In C++, pointers are variables or data types that hold the location of another variable in memory. It is denoted by asterisks in between the data type and pointer name during declaration.
The C++ source code above defines two pointers, "p" which is an integer pointer and "q", a double. The reference of the variables i and j are assigned to p and q respectively and the out of the pointers are the location of the i and j values in memory.
Write a method called classSplit that accepts a file scanner as input. The data in the file represents a series of names and graduation years. You can assume that the graduation years are from 2021 to 2024.Sample input file:Hannah 2021 Cara 2022 Sarah2022Nate 2023 Bob 2022 Josef 2021 Emma 2022Your method should count the number of names per graduation year and print out a report like this --- watch the rounding!:students in class of 2021: 28.57%students in class of 2022: 57.14%students in class of 2023: 14.29%students in class of 2024: 00.00%You must match the output exactly.You may not use any arrays, arrayLists, or other datastructures in solving this problem. You may not use contains(), startsWith(), endsWith(), split() or related functions. Token-based processing, please.There is no return value.
Answer:
public static void classSplit(Scanner file){
int studentsOf21 = 0, studentsOf22 = 0,studentsOf23 = 0, studentsOf24 = 0;
while (file.hasNext() == true){
String studentName = file.next();
int year = file.nextInt();
switch (year){
case 2021:
studentsOf21++;
break;
case 2022:
studentsOf22++;
break;
case 2023:
studentsOf23++;
break;
case 2024:
studentsOf24++;
break;
}
}
int totalGraduate = studentsOf21+studentsOf22+studentsOf23+studentsOf24;
System.out.printf("students in class of 2021: %.2f%n", students2021*100.0/totalGraduate);
System.out.printf("students in class of 2022: %.2f%n", students2022*100.0/totalGraduate);
System.out.printf("students in class of 2023: %.2f%n", students2023*100.0/totalGraduate);
System.out.printf("students in class of 2024: %.2f%n", students2024*100.0/totalGraduate);
}
Explanation:
The classSplit method of the java class accepts a scanner object, split the object by iterating over it to get the text (for names of students) and integer numbers (for graduation year). It does not need a return statement to ask it prints out the percentage of graduates from 2021 to 2024.
The National Vulnerability Database (NVD) is responsible for actively performing vulnerability testing for every company's software and hardware infrastructure. Is this statement true or false?A. TrueB. False
Answer:
False
Explanation:
The answer to this question is false. This is because the NVD doesn't perform such tests on their own. Instead they they rely on third-party vendors, software researchers, etc to get such reports and do the assignment of CVSS scores for softwares
The National Vulnerability Database (NVD) is the United State governments leading resource for software vulnerability
A substring of some character string is a contiguous sequence of characters in that string (which is different than a subsequence, of course). Suppose you are given two character strings, X and Y , with respective lengths n and m. Describe an efficient algorithm for finding a longest common substring of X and Y .For each algorithm:i. Explain the main idea and approach.Write appropriate pseudo-code.Trace it on at least three different examples, including at least a canonical case and two corner cases.
iv. Give a proof of correctness.v. Give a worst-case asymptotic running time analysis.
Answer:
create a 2-dimensional array, let both rows represent the strings X and Y.
check for the common characters within a string and compare them with the other string value.
If there is a match, append it to the array rows.
After iterating over both strings for the substring, get the longest common substring for both strings and print.
Explanation:
The algorithm should create an array that holds the substrings, then use the max function to get the largest or longest substring in the array.
Write a SELECT statement that returns these columns from the Customers table:
Customer last name customer_last name column
City customer_city column
Zip code customer_zip Column
Return only the rows with customer_state equal to IL .
Sort the results in Descending order of customer last name
SCHEMA:
CREATE TABLE customers
(
customer_id INT NOT NULL,
customer_last_name VARCHAR(30),
customer_first_name VARCHAR(30),
customer_address VARCHAR(60),
customer_city VARCHAR(15),
customer_state VARCHAR(15),
customer_zip VARCHAR(10),
customer_phone VARCHAR(24)
);
INSERT INTO customers VALUES
(1, 'Anders', 'Maria', '345 Winchell Pl', 'Anderson', 'IN', '46014', '(765) 555-7878'),
(2, 'Trujillo', 'Ana', '1298 E Smathers St', 'Benton', 'AR', '72018', '(501) 555-7733'),
(3, 'Moreno', 'Antonio', '6925 N Parkland Ave', 'Puyallup', 'WA', '98373', '(253) 555-8332'),
(4, 'Hardy', 'Thomas', '83 d''Urberville Ln', 'Casterbridge', 'GA', '31209', '(478) 555-1139'),
(5, 'Berglund', 'Christina', '22717 E 73rd Ave', 'Dubuque', 'IA', '52004', '(319) 555-1139'),
(6, 'Moos', 'Hanna', '1778 N Bovine Ave', 'Peoria', 'IL', '61638', '(309) 555-8755'),
(7, 'Citeaux', 'Fred', '1234 Main St', 'Normal', 'IL', '61761', '(309) 555-1914'),
(8, 'Summer', 'Martin', '1877 Ete Ct', 'Frogtown', 'LA', '70563', '(337) 555-9441'),
(9, 'Lebihan', 'Laurence', '717 E Michigan Ave', 'Chicago', 'IL', '60611', '(312) 555-9441'),
(10, 'Lincoln', 'Elizabeth', '4562 Rt 78 E', 'Vancouver', 'WA', '98684', '(360) 555-2680');
Answer:
SELECT customer_last_name, customer_city, customer_zip FROM customers WHERE customer_state = 'IL' ORDER BY customer_last_name DESC;
Explanation:
Here, we are given a SCHEMA with the table name customers.
It's creation command and commands to insert values are also given.
We have to print the customer last name, city and zip code of all the customers who have their state as IL in the decreasing order of their last names.
Let us learn a few concepts first.
1. To print only a specified number of columns:
We can write the column names to be printed after the SELECT command.
2. To print results as per a condition:
We can use WHERE clause for this purpose.
3. To print in descending order:
We can use ORDER BY clause with the option DESC to fulfill the purpose.
Therefore, the answer to our problem is:
SELECT customer_last_name, customer_city, customer_zip FROM customers WHERE customer_state = 'IL' ORDER BY customer_last_name DESC;
Output of the command is also attached as screenshot in the answer area.
When memory allocation is ____, it means all portions of the program and OS are loaded into sequential locations in memory.
Answer:
Contiguous
Explanation:
A Contiguous memory allocation is known to be a classical memory allocation model. In this situation, we have a system which assigns consecutive memory blocks to a process. It is one of the oldest methods of memory allocation. If the process is in need of execution, the memory would be requested by the process. The processes size would then be compared to the amount of Contiguous memory that is available for the execution of the process.
Generally speaking, digital marketing targets any digital device and uses it to advertise and sell a(n) _____.
religion
product or service
governmental policy
idea
Answer:
product or service
Explanation:
Digital marketing is a type of marketing that uses the internet and digital media for the promotional purposes. It is a new form of marketing where the products are not physically present. The products and services are digitally advertised and are used for the popularity and promotion. Internet and digital space are involved in the promotion. Social media, mobile applications and websites are used for the purpose.
Answer:
A.) Product or service
Explanation:
Digital marketing is the practice of promoting products or services through digital channels, such as websites, search engines, social media, email, and mobile apps. The goal of digital marketing is to reach and engage with potential customers and ultimately to drive sales of a product or service. It can target any digital device that can access the internet, and it can use a variety of techniques such as search engine optimization, pay-per-click advertising, social media marketing, content marketing, and email marketing to achieve its objectives.
Write a script that inputs a line of encrypted text and a distance value and outputs plaintext using a Caesar cipher. The script should work for any printable characters.An example of the program input and output is shown below:Enter the coded text: Lipps${svph% Enter the distance value: 4 Hello world!# Request the inputscodedText = input("Enter the coded text: ")distanceValue = int(input("Enter the distance value: "))# Calculate the decryptionplainText = ""for cr in code:ordvalue = ord(ch)cipherValue = ordvalue - distanceif cipherValue < ord('a'):cipherValue = ord('z') - \ (distance - (ord('a') - ordvalue - 1))plainText += chr(cipherValue)print(plainText)
Answer:
# Request the inputs
codedText = input("Enter the coded text: ")
distance = int(input("Enter the distance value: "))
# Calculate the decryption
# see comment for the rest. Brainly won't let me save an answer which contains code.
Explanation:
Above is your program fixed, but it is unclear on how to deal with unprintable characters, i.e., characters that originally were near the highest printable character ('~')