Answer:
eggs fishing didn't ysjffj
If not cleared out, log files can eventually consume a large amount of data, sometimes filling a drive to its capacity. If the log files are on the same partition as the operating system, this could potentially bring down a Linux computer. What directories (or mount points) SHOULD be configured on its own partition to prevent this from happening?
Answer:
/var
Explanation:
The /var subdirectory contains files to which the system writes data during the course of its operation. Hence, since it serves as a system directory, it would prevent log files from consuming a large amount of data.
Answer:
/var
Explanation:
Hope this helps
Which of the following operating systems would allow a user to add functionality and sell or give away their versions?
Answer:open source
Explanation: what is's called
Linux is the operating systems would allow a user to add functionality and sell or give away their versions.
What is Linux Operating system?Linux has been defined as known to be a kind of an an Operating system which is known to be an open-source. It is one that is compared to Unix-like form of operating system but it is one that is often based on the the use of Linux kernel.
It has been said that to be an operating system kernel that was said to be released in 1991, by Linus Torvalds. Linux is said to be one that is often packaged as a service of a Linux distribution.
Linux has been used in a lot of ways such as the Server OS that is made for web servers, database servers, as well as file servers. They are known to be set up to aid high-volume as well as multithreading applications and also used for a lot of server types.
Therefore, Linux is the operating systems would allow a user to add functionality and sell or give away their versions. Hence, option A is correct.
Learn more about Linux on:
brainly.com/question/12853667
#SPJ2
Which of the following operating systems would allow a user to add functionality and sell or give away their versions?
-Linux
-macOS
-Windows
-UNIX
# change amount as an integer input, and output the change using the fewest coins, one coin type per line. The coin types are Dollars, Quarters, Dimes, Nickels, and Pennies. Use singular and plural coin names as appropriate, like 1 Penny vs. 2 Pennies
my code produces no output and i cant find why?
coin_change =int(input())
def coin_change(cents):
if cents <= 0:
print( 'Zero cents.')
else:
quarter = cents // 25
dime = (cents % 25) //10
nickle = cents % 25 % 10 // 5
penny = cents % 5
print (coin_change )
# produces no output
Answer:
Explanation:
The Python code provided was not producing any output because you were never printing out the coin variables that you created. The following code adds the needed print statements using the right singular or plural coin name as needed.
cents = int(input())
def coin_change(cents):
if cents <= 0:
print('Zero cents.')
else:
quarter = cents // 25
dime = (cents % 25) // 10
nickle = cents % 25 % 10 // 5
penny = cents % 5
if quarter == 0 or quarter > 1:
print(str(quarter) + " quarters")
else:
print(str(quarter) + " quarter")
if dime == 0 or dime > 1:
print(str(dime) + " dimes")
else:
print(str(dime) + " dime")
if nickle == 0 or nickle > 1:
print(str(nickle) + " nickels")
else:
print(str(nickle) + " nickel")
if penny == 0 or penny > 1:
print(str(penny) + " pennies")
else:
print(str(penny) + " penny")
coin_change(cents)
At the beginning of the semester, we studied partially filled arrays. This is when the number of elements stored may be less than the maximum number of elements allowed. There are two different ways to keep track of partially filled arrays: 1) use a variable for the numberElements or 2) use a sentinel (terminating} value at the end of elements (remember c-strings?). In the code below, please fill in the details for reading the values into the an array that uses a sentinel value of -1. Complete the showArray function as well.
#include
using namespace std;
void showArray(int array[]);
// ToDo: Code showArray function with one array parameter
int main()
{
const int MAX_SIZE=16;
int array[MAX_SIZE]; // store positive values, using -1 to end the values.
cout <<"Enter up to " << MAX_SIZE-1 << " positive whole numbers, use -1 to stop\n";
//To do: Read the int values and save them in the static array variable.
// When the user enters -1 or the array has no more room, leave the loop..
//To do: store -1 at the end of elements in the array
// Show array function
showArray(array);
return 0;
}
// To do: print out for the array
void showArray(int array[])
{
}
Answer:
Complete the main as follows:
int num;
cin>>num;
int i = 0;
while(num!=-1 && i <16){
array[i] = num;
cin>>num;
i++; }
array[i+1] = -1;
The showArray() as follows:
int i =0;
while(array[i]!=0){
cout<<array[i]<<" ";
i++;
}
Explanation:
See attachment for complete program where comments are used to explain difficult lines
whats the most popular social networking in the philippines?
Y o u t u b e
It wont let me say the word above
what is work immersion and its nature
Define an application program and give three of it's uses
Answer:
please give me brainlist and follow
Explanation:
Examples of an application include a word processor, a spreadsheet program, an accounting application, a web browser, an email client, a media player, a console game, or a photo editor. The collective noun application software refers to all applications collectively.
palindrome is a string that reads the same forwards as backwards. Using only a xed number of stacks, and a xed number of int and char variables, write an algorithm to determine if a string is a palindrome. Assume that the string is read from standard input one character at a time. The algorithm should output true or false as appropriate
Solution :
check_palindrome[tex]$(string)$[/tex]
lower_[tex]$case$[/tex]_string[tex]$=$[/tex] string[tex]$. to$[/tex]_lower()
Let stack = new Stack()
Let queue = new Queue();
for each character c in lower_case_string:
stack.push(c);
queue.enqueue(c);
let isPalindrome = true;
while queue is not empty {
if (queue.remove().equals(stack.pop())) {
continue;
} else {
isPalindrome=false;
break while loop;
}
}
return isPalindrome
Input = aabb
output = true
input =abcd
output = false
Suppose you are working as an administrative assistant at a small law firm. Your boss has asked you to send an invitation out to all employees about the upcoming holiday party. You would like to spruce up the invitation with a few festive images and a fancy border. Which file format would allow you to create a visually appealing invitation that can easily be e-mailed?
JPEG
PDF
SVG
TIFF
Answer:
Explanation:
Just did the assignment egde 2021
Answer:
It is B: PDF, as shown in the picture below
Write a program that asks for the user's name, phone number, and address. The program then saves/write all information in a data file (each information in one line) named list.txt. Finally, the program reads the information from the file and displays it on the screen in the following format: Name: User's Name Phone Number: User's Phone Number Address: User's Street Address User's City, State, and Zip Code g
Answer:
Amazon prime
Explanation:
g Write a function named vowels that has one parameter and will return two values. Here is how the function works: Use a while loop to determine if the parameter is greater than 1. If it is not greater than 1, do the following: Display a message to the user saying the value must be greater than 1 and to try again. Prompt the user to enter how many numbers there will be. Use a for loop that will use the parameter to repeat the correct number of times (if the parameter is 10, the loop should repeat 10 times). Within this for loop, do the following: Generate a random integer between 65 and 90 Convert this integer to is equivalent capital letter character by using the chr function. If num is the variable with this integer, the conversion is done like this: ch
Given a number count the total number of digits in a number
Answer:
round up the log of the number
Explanation:
The ¹⁰log of a number gives you the number of digits if you round it up.
How does social network use message to entertain?
Answer:
Explanation:
Social Network allows for easy creation of large groups of people that have the same tastes or are looking for the same thing. This allows for easy ways to entertain by providing what these individuals are looking for. Whether it is funny pictures, animal videos, news, celebrity videos, etc. Basically this ability to group individuals together by taste is what allows social networks to entertain through mass messaging in a way that is effective and gets the media in front of huge audiences.
Describe how data is shared by functions in a procedure- oriented program
Activity No.5
Project Implementation
Based on the Community Based Results, proposed programs/project to be implemented in your barangay/community
I. Title
II Project Proponents
III Implementing Proponents
IV Project Duration
V Objectives of the Project
VI Project Description
VII Methodology
VIIIDetailed Budgetary Requirements
IX Gantt Chart/ Detailed schedule of activities
In the activity related to Project Implementation, the following components are listed:
I. Title: This refers to the name or title given to the proposed program or project to be implemented in the barangay/community.
II. Project Proponents: These are the individuals or groups who are responsible for initiating and advocating for the project. They may include community leaders, organizations, or individuals involved in the project.
III. Implementing Proponents: These are the parties or organizations who will be responsible for executing and implementing the project on the ground. They may include government agencies, non-profit organizations, or community-based organizations.
IV. Project Duration: This refers to the estimated timeframe or duration within which the project is expected to be completed. It helps in setting deadlines and managing the project timeline.
V. Objectives of the Project: These are the specific goals or outcomes that the project aims to achieve. They define the purpose and desired results of the project.
VI. Project Description: This section provides a detailed explanation and overview of the project, including its background, context, and scope.
VII. Methodology: This outlines the approach, methods, and strategies that will be used to implement the project. It may include activities, processes, and resources required for successful project execution.
VIII. Detailed Budgetary Requirements: This section provides a comprehensive breakdown of the financial resources needed to implement the project. It includes estimates of costs for personnel, materials, equipment, services, and other relevant expenses.
IX. Gantt Chart/Detailed Schedule of Activities: This visual representation or detailed schedule outlines the specific activities, tasks, and milestones of the project, along with their respective timelines and dependencies.
These components collectively form a framework for planning and implementing a project, ensuring that all necessary aspects are addressed and accounted for during the execution phase.
For more questions on barangay, click on:
https://brainly.com/question/31534740
#SPJ8
Write a program that lets the user enter the loan amount and loan period in number of years and displays the monthly and total payments for each interest rate starting from 5% to 8%, with an increment of 1/8.
Answer:
Following are the code to this question:
import java.util.*;//import package
public class Main //defining a class
{
public static void main(String[] axc)//main method
{
double Loan_Amount,years,Annual_Interest_Rate=5.0,Monthly_Interest_Rate,Total_Amount,Monthly_Payment;//defining variables
Scanner ax = new Scanner(System.in);//creating Scanner class object
System.out.print("Enter loan amount:");//print message
Loan_Amount = ax.nextDouble();//input Loan_Amount value
System.out.print("Enter number of years: ");//print message
years= ax.nextInt();//input number of years value
System.out.printf(" %-20s%-20s%-20s\n", "Interest Rate", "Monthly Payment","Total Payment");//print message
while (Annual_Interest_Rate <= 8.0) //use while loop to calculate Interest rate table
{
Monthly_Interest_Rate = Annual_Interest_Rate / 1200;//calculating the interest Rate
Monthly_Payment = Loan_Amount * Monthly_Interest_Rate/(1 - 1 / Math.pow(1 + Monthly_Interest_Rate,years * 12));//calculating monthly payment
Total_Amount = Monthly_Payment * years * 12;//calculating yearly Amount
System.out.printf("\t %-19.3f%-19.2f%-19.2f\n", Annual_Interest_Rate,Monthly_Payment,Total_Amount);//use print meethod to print table
Annual_Interest_Rate = Annual_Interest_Rate + 1.0 / 8;//use Annual_Interest_Rate to increating the yearly Rate
}
}
}
Output:
Please find the attached file.
Explanation:
In this code inside the class, several double variables are declared in which the "Loan_Amount and years" is used for input value from the user-end, and another variable is used for calculating the value.
In this code a while loop is declared that checks the "Annual_Interest_Rate" value and creates the interest rate table which is defined in the image file please find it.
In "PUBATTLEGROUNDS” what is the name of the Military Base island?
Answer:
Erangel
Explanation:
Answer:
Erangel
Explanation:
The Military Base is located on the main map known as Erangel. Erangel is the original map in the game and features various landmarks and areas, including the Military Base.
The Military Base is a high-risk area with a significant amount of loot, making it an attractive drop location for players looking for strong weapons and equipment. It is situated on the southern coast of Erangel and is known for its large buildings, warehouses, and military-themed structures.
The Military Base is a popular destination for intense early-game fights due to its high loot density and potential for player encounters.
Hope this helps!
Four major communication points
Answer:
Reading, writing, speaking, and listening are basic communication skills necessary for effective communication
Explanation:
I hope its right
Your organization, which sells manufacturing parts to companies in 17 different countries, is in the process of migrating your inventory database to the cloud. This database stores raw data on available inventory at all of your company's warehouses globally. The database will be accessible from multiple cloud-based servers that reside on your cloud provider's hardware located in three regions around the world. Each redundant database will contain a fully synchronized copy of all data to accelerate customer access to the information, regardless of the customer's geographical location.What database trend is your company implementing
Answer:
Disributed database
Explanation:
A distributed database stores data on multiple servers sometimes placed in distinct geographical locations.
Add my epic games account "Lil Carr OXB" and if that not work, then "swish4444"
Or on Xbox "Lil Carr OXB" Thanks.
Answer:
-_________________________________-
Explanation:
-__________________________________________________________-
Answer:
okExplanation:
Write a client program ClientSorting2 and in the main() method: 1. Write a modified version of the selection sort algorithm (SelectionSorter()) that sorts an array of 23 strings (alphabetically) rather than one of integer values. Print the array before it is sorted in the main() method, then after it is sorted in SelectionSorter().
Answer:
The program in Java is as follows:
import java.util.*;
public class Main{
public static void SelectionSorter(String[] my_array){
System.out.print("\nAfter sort: ");
for (int ind=0; ind < 22; ind++ ){
int min = ind;
for (int k=ind+1; k < 23; k++ )
if (my_array[k].compareTo(my_array[min] ) < 0 ){ min = k; }
String temp = my_array[ind];
my_array[ind] = my_array[min];
my_array[min] = temp; }
for (int j=0; j < 23; j++){ System.out.print(my_array[j]+" ");}
}
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String [] myarray = new String [23];
for(int i= 0;i<23;i++){ myarray[i] = input.nextLine(); }
System.out.print("Before sort: ");
for ( int j=0; j < 23; j++ ){ System.out.print(myarray[j]+" "); }
SelectionSorter(myarray);
}
}
Explanation:
This defines the function
public static void SelectionSorter(String[] my_array){
This prints the header for After sort
System.out.print("\nAfter sort: ");
This iterates through the array
for (int ind=0; ind < 22; ind++ ){
This initializes the minimum index to the current index
int min = ind;
This iterates from current index to the last index of the array
for (int k=ind+1; k < 23; k++ )
This compares the current array element with another
if (my_array[k].compareTo(my_array[min] ) < 0 ){ min = k; }
If the next array element is smaller than the current, the elements are swapped
String temp = my_array[ind];
my_array[ind] = my_array[min];
my_array[min] = temp; }
This iterates through the sorted array and print each array element
for (int j=0; j < 23; j++){ System.out.print(my_array[j]+" ");}
}
The main begins here
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
This declares the array
String [] myarray = new String [23];
This gets input for the array elements
for(int i= 0;i<23;i++){ myarray[i] = input.nextLine(); }
This prints the header Before sort
System.out.print("Before sort: ");
This iterates through the array elements and print them unsorted
for ( int j=0; j < 23; j++ ){ System.out.print(myarray[j]+" "); }
This calls the function to sort the array
SelectionSorter(myarray);
}
}
Select the correct answer.
Which graphic file format is used for commercial purposes?
OA.
TIFF
B.
GIF
C. JPG
OD.
PNG
O E.
BMP
Dat
Answer:
png or jpg
Explanation:
Which of the following will display a string whose address is in the dx register: a.
mov ah, 9h
int 21h
b.
mov ah, 9h
int 22h
c.
mov ah, 0h
int 21h
d.
None of these
e.
mov ah, 2h
int 20h
Answer:
a)
Explanation:
Function 9 of interrupt 21h is display string.
Consider the following two data structures for storing several million words.
I. An array of words, not in any particular order
II. An array of words, sorted in alphabetical order
Which of the following statements most accurately describes the time needed for operations on these data structures?
A. Finding the first word in alphabetical order is faster in I than in II.
B. Inserting a word is faster in II than in I.
C. Finding a given word is faster in II than in I.
D. Finding the longest word is faster in II than in I.
Answer:
The correct answer is C.
Explanation:
Finding a given word requires the search operation. The search operation is faster in a sorted array compared to an unsorted array. In a sorted array the binary search method is used which runs on logarithmic time while in an unsorted array, there's no other way than linear search which takes O(n) time on the worst case where the required word is not in the array.
The statement which most accurately describes the time needed for operations on these data structures is: C. Finding a given word is faster in II than in I.
What is a binary search?Binary search can be defined as an efficient algorithm that is designed and developed for searching an element (information) from a sorted list of data, especially by using the run-time complexity of Ο(log n)
Note: n is the total number of elements.
In Computer science, Binary search typically applies the principles of divide and conquer. Thus, to perform a binary search on an array, the array must first be sorted in an alphabetical or ascending order.
In conclusion, the statement which most accurately describes the time needed for operations on these data structures is that, finding a given word is faster in data structure II than in I.
Read more on data structure here: https://brainly.com/question/24268720
You work for a small company that exports artisan chocolate. Although you measure your products in kilograms, you often get orders in both pounds and ounces. You have decided that rather than have to look up conversions all the time, you could use Python code to take inputs to make conversions between the different units of measurement.
You will write three blocks of code. The first will convert kilograms to pounds and ounces. The second will convert pounds to kilograms and ounces. The third will convert ounces to kilograms and pounds.
The conversions are as follows:
1 kilogram = 35.274 ounces
1 kilogram = 2.20462 pounds
1 pound = 0.453592 kilograms
1 pound = 16 ounces
1 ounce = 0.0283 kilograms
1 ounce = 0.0625 pounds
For the purposes of this activity the template for a function has been provided. You have not yet covered functions in the course, but they are a way of reusing code. Like a Python script, a function can have zero or more parameters. In the code window you will see three functions defined as def convert_kg(value):, def convert_pounds(value):, and def convert_ounces(value):. Each function will have a block showing you where to place your code.
Answer:
Answered below.
Explanation:
def convert_kg(value){
ounces = value * 35.274
pounds = value * 2.20462
print("Kilograms to ounces: $ounces")
print("Kilograms to pounds: $pounds)
}
def convert_pounds(value){
kg = value * 0.453592
ounce = value * 16
print("pounds to kg; $kg")
print ("pounds to ounce; $ounce")
}
def convert_ounces(value){
kg = value * 0.0283
pounds = value * 0.0625
print ("ounces to kg; $kg")
print ("ounces to pounds; $pounds")
}
match the following Microsoft Windows 7
Answer:
Explanation: will be still function but Microsoft will no longer provide the following: Technical support for any issues
Write a Java program that uses a value-returning method to identify the prime numbers between 2 bounds (input from the user). The method should identify if a number is prime or not. Call it in a loop for all numbers between the 2 bounds and display only prime numbers. Check for errors in input.Note:A number is prime if it is larger than 1 and it is divisible only by 1 and itself(Note: 1 is NOT a prime number)Example:15 is NOT prime because 15 is divisible by 1, 3, 5, and 15; 19 is prime because 19 is divisible only by 1 and 19.
Answer:
Answered below.
Explanation:
public int[] primeNumbers(int lowBound, int highBound){
if(lowBound < 0 || highBound < 0 || lowBound >= highBound){
System.out.print("invalid inputs");
else if(highBound <= 1){
System.out.print("No prime numbers);
}
else{
int[] nums;
for(int I = lowBound; I <= highBound; I++){
if(isPrime (I)){
nums.add(I);
}
}
return nums;
}
Which of the following best describes the safety of blogging
Generally safe, but there may be some privacy and security concerns. Therefore option B is correct.
While blogging can offer a relatively safe platform for expressing ideas and connecting with an audience, it is not entirely risk-free.
Privacy and security concerns can arise, especially when bloggers share personal information or discuss sensitive topics.
Cybersecurity threats, such as hacking or data breaches, can also compromise a blogger's personal information or their readers' data.
Additionally, bloggers should be mindful of online harassment and potential legal issues related to content ownership or copyright infringement.
Being aware of these risks and implementing best practices for online safety can help ensure a more secure and enjoyable blogging experience.
Therefore option B is correct.
Know more about Cybersecurity:
https://brainly.com/question/31928819
Your question is incomplete, but most probably your full question was.
Which of the following best describes the safety of blogging?
A. Completely safe, with no risks involved.
B. Generally safe, but there may be some privacy and security concerns.
C. Moderately safe, but potential risks exist, especially with sensitive topics.
D. Highly unsafe, with significant risks to personal information and security.
The value at index position x in the first array corresponds to the value at the
same index position in the second array. Initialize the array in (a) with hardcoded random sales values. Using the arrays in (a) and (b) above, write Java
statements to determine and display the highest sales value, and the month in
which it occurred. Use the JOptionPane class to display the output.
Sure! Here's a Java code snippet that demonstrates how to find the highest sales value and its corresponding month using two arrays and display the output using the JOptionPane class:
import javax.swing.JOptionPane;
public class SalesAnalyzer {
public static void main(String[] args) {
// Array with hardcoded random sales values
double[] sales = {1500.0, 2000.0, 1800.0, 2200.0, 1900.0};
// Array with corresponding months
String[] months = {"January", "February", "March", "April", "May"};
double maxSales = sales[0];
int maxIndex = 0;
// Find the highest sales value and its index
for (int i = 1; i < sales.length; i++) {
if (sales[i] > maxSales) {
maxSales = sales[i];
maxIndex = i;
}
}
// Display the highest sales value and its corresponding month
String output = "The highest sales value is $" + maxSales +
" and it occurred in " + months[maxIndex] + ".";
JOptionPane.showMessageDialog(null, output);
}
}
Explanation:
The code defines two arrays: sales for the hardcoded random sales values and months for the corresponding months.The variables maxSales and maxIndex are initialized with the first element of the sales array.A loop is used to iterate through the sales array starting from the second element. It compares each value with the current maxSales value and updates maxSales and maxIndex if a higher value is found.After the loop, the output message is constructed using the highest sales value (maxSales) and its corresponding month from the months array (months[maxIndex]). Finally, the JOptionPane.showMessageDialog() method is used to display the output in a dialog box.When you run the program, it will display a dialog box showing the highest sales value and the month in which it occurred based on the provided arrays.
For more questions on array, click on:
https://brainly.com/question/28061186
#SPJ8
Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile's points added to any points provided by the word's placement on the game board. Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Ex: If the input is: PYTHON the output is: 14
Complete question:
Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile's points added to any points provided by the word's placement on the game board. Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Ex: If the input is: PYTHON
the output is: 14
part of the code:
tile_dict = { 'A': 1, 'B': 3, 'C': 3, 'D': 2, 'E': 1, 'F': 4, 'G': 2, 'H': 4, 'I': 1, 'J': 8, 'K': 5, 'L': 1, 'M': 3, 'N': 1, 'O': 1, 'P': 3, 'Q': 10, 'R': 1, 'S': 1, 'T': 1, 'U': 1, 'V': 4, 'W': 4, 'X': 8, 'Y': 4, 'Z': 10 }
Answer:
Complete the program as thus:
word = input("Word: ").upper()
points = 0
for i in range(len(word)):
for key, value in tile_dict.items():
if key == word[i]:
points+=value
break
print("Points: "+str(points))
Explanation:
This gets input from the user in capital letters
word = input("Word: ").upper()
This initializes the number of points to 0
points = 0
This iterates through the letters of the input word
for i in range(len(word)):
For every letter, this iterates through the dictionary
for key, value in tile_dict.items():
This locates each letters
if key == word[i]:
This adds the point
points+=value
The inner loop is exited
break
This prints the total points
print("Points: "+str(points))
Answer:
Here is the exact code, especially if you want it as Zybooks requires
Explanation:
word = input("").upper()
points = 0
for i in range(len(word)):
for key, value in tile_dict.items():
if key == word[i]:
points+=value
break
print(""+str(points))