Answer:
Option D, This PC allows a user to save a presentation on a computer
Explanation:
If one choses the option C, the file will be saved in the folder in which the user is working. Hence, option C is incorrect.
Like wise option A is also incorrect as it will require user to provide a location as option for saving the file
Option B is also incorrect as it will allow the user to save files in the C drive/D drive or one drive
Option D is correct because if the user choses this option file will be saved on the computer.
Hence option D is correct
Answer:
Option D : This PC allows a user to save a presentation on a computer
Explanation:
Edg 2021
Which options are available when using a combo box rather than a list box? Check all that apply. A user can type in the values. A user can search for a record. The combo box can sort through records. A user can get values from another query. The combo box includes drop-down menus. A user can retrieve values from another table.
Answer:
A, B, D, F
Explanation:
Earth, Wind & Fire were NOT known for combining many different styles of music together.Required to answer. Single choice.
(1 Point)
True
False
Answer:
false
Explanation:
Cause I don't believe you can't use earth, wind,and fire to create music.
What is the molar mass of AuCI2
Answer:267.8726
Explanation:
Choose a problem that lends to an implementation that uses dynamic programming. Clearly state the problem and then provide high-level pseudocode for the algorithm. Explain why this algorithm can benefit from dynamic programming. Try to choose an algorithm different from any already posted by one of your classmates.
Answer:
Explanation:
The maximum weighted independent collection of vertices in a linear chain graph is a straightforward algorithm whereby dynamic programming comes in handy.
Provided a linear chain graph G = (V, E, W), where V is a collection of vertices, E is a set of edges margins, and W is a weight feature function applied to each verex. Our goal is to find an independent collection of vertices in a linear chain graph with the highest total weight of vertices in that set.
We'll use dynamic programming to do this, with L[k] being the full weighted independent collection of vertices spanning from vertex 1 \to vertex k.
If we add vertex k+1 at vertex k+1, we cannot include vertex k, and thus L[k+1] would either be equivalent to L[k] when vertex k+1 is not being used, or L[k+1] = L[k-1] + W[k+1] when vertex k+1 is included.
[tex]Thus, L[k+1] = max \{ L[k], \ L[k-1] + W[k+1] \}[/tex]
As a result, the dynamic programming algorithm technique can be applied in the following way.
ALGO(V, W, n) // V is a linearly ordered series of n vertices with such a weight feature W
[tex]\text{1. L[0] = 0, L[1] = W[1], L[2] = max{W[1], W[2]} //Base cases} \\ \\ \text{2. For i = 3 to n:- \\} \\ \\\text{3........ if ( L[i-1] > L[i-2] + W[ i ] )} \\ \\ \text{4............Then L[ i ] = L[i-1]} \\ \\ \text{5.........else} \\ \\ \text{6................L[i] = L[i-2] + W[i] }\\ \\ \text{7. Return L[n] //our answer.}[/tex]
As a result, using dynamic programming, we can resolve the problem in O(n) only.
This is an example of a time-saving dynamic programming application.
What are the advantages and disadvantages of the lenses used on cameras in capturing black and white film?
The lenses that are used on cameras in capturing black and white film are vital for creating timeless pictures and highlighting the shape and pattern in the image.
Black and white photography is an image where all the colors have been removed. This can be by choice of the photographic film.
The advantage of the lenses used on cameras in capturing black and white film:
It's vital for creating a timeless picture.It highlights form, shape, and pattern.It's vital in distancing the content material from reality.The disadvantage of the lenses used on cameras in capturing black and white film is that it lacks emotions which a colored photograph will have reflected.
Read related link on:
https://brainly.com/question/22250013
Advantages that can be associated with the lens of of camera that is utilized in capturing black and white film are:
It helps to give the highlight of the pattern and shape of the content.
It can be stored for longer time ( timelessness).
disadvantages that can be associated with the lens of of camera that is utilized in capturing black and white film is that it doesn't portray emotions.
Black and white photography can be regarded as one that doesn't contain variety of color.It is a photography that doesn't portray an emotion, emotions in this sense means color, which serves a disdvantage.We can conclude that this type of photography give room fir a picture that can remain for long time, it's timeless and this serve as one of the advantage.
Learn more at:
https://brainly.com/question/20176933?referrer=searchResults
Which of the following statements is true?
Group of answer choices
A.Only products made from plastic damage the environment
B.Products mostly of metal do the most damage to the environment
C.All products have some effect on the environment
D.Reducing the enciroment impact of products can be both dangerous and frustrating for users
Answer:
It due to the dirt subsatnces that get wired polluted and the chloroflurocarbons that destroy the ozone layer
Explanation:
is pseudocode obtained from Algorithm or is Algorithm obtained from pseudocode?
Answer:
An algorithm is defined as a well-defined sequence of steps that provides a solution for a given problem, whereas a pseudocode is one of the methods that can be used to represent an algorithm.
hope this gives you at least an idea of the answer:)
Now you are ready to implement a spell checker by using or quadratic. Given a document, your program should output all of the correctly spelled words, labeled as such, and all of the misspelled words. For each misspelled word you should provide a list of candidate corrections from the dictionary, that can be formed by applying one of the following rules to the misspelled word:
a) Adding one character in any possible position
b) Removing one character from the word
c) Swapping adjacent characters in the word
Your program should run from the command line as follows:
% ./spell_check
You will be provided with a small document named document1_short.txt, document_1.txt,
and a dictionary file with approximately 370k words named wordsEnglish.txt.
As an example, your spell checker should correct the following mistakes.
deciive -> decisive (Case A)
deciasion -> decision (Case B)
ocunry -> counry (Case C)
//spell_check.cc file
#include "quadratic_probing.h"
#include
#include
#include
using namespace std;
int testSpellingWrapper(int argument_count, char** argument_list) {
const string document_filename(argument_list[1]);
const string dictionary_filename(argument_list[2]);
// Call functions implementing the assignment requirements.
// HashTableDouble dictionary = MakeDictionary(dictionary_filename);
// SpellChecker(dictionary, document_filename);
return 0;
}
// Sample main for program spell_check.
// WE WILL NOT USE YOUR MAIN IN TESTING. DO NOT CODE FUNCTIONALITY INTO THE
// MAIN. WE WILL DIRECTLY CALL testSpellingWrapper. ALL FUNCTIONALITY SHOULD BE
// THERE. This main is only here for your own testing purposes.
int main(int argc, char** argv) {
if (argc != 3) {
cout << "Usage: " << argv[0] << " "
<< endl;
return 0;
}
testSpellingWrapper(argc, argv);
return 0;
}
//quadratic_probing.h file
#ifndef QUADRATIC_PROBING_H
#define QUADRATIC_PROBING_H
#include
#include
#include
namespace {
// Internal method to test if a positive number is prime.
bool IsPrime(size_t n) {
if( n == 2 || n == 3 )
return true;
if( n == 1 || n % 2 == 0 )
return false;
for( int i = 3; i * i <= n; i += 2 )
if( n % i == 0 )
return false;
return true;
}
// Internal method to return a prime number at least as large as n.
int NextPrime(size_t n) {
if (n % 2 == 0)
++n;
while (!IsPrime(n)) n += 2;
return n;
}
} // namespace
// Quadratic probing implementation.
template
class HashTable {
public:
enum EntryType {ACTIVE, EMPTY, DELETED};
explicit HashTable(size_t size = 101) : array_(NextPrime(size))
{ MakeEmpty(); }
bool Contains(const HashedObj & x) const {
return IsActive(FindPos(x));
}
void MakeEmpty() {
current_size_ = 0;
for (auto &entry : array_)
entry.info_ = EMPTY;
}
bool Insert(const HashedObj & x) {
// Insert x as active
size_t current_pos = FindPos(x);
if (IsActive(current_pos))
return false;
array_[current_pos].element_ = x;
array_[current_pos].info_ = ACTIVE;
// Rehash; see Section 5.5
if (++current_size_ > array_.size() / 2)
Rehash();
return true;
}
bool Insert(HashedObj && x) {
// Insert x as active
size_t current_pos = FindPos(x);
if (IsActive(current_pos))
return false;
array_[current_pos] = std::move(x);
array_[current_pos].info_ = ACTIVE;
// Rehash; see Section 5.5
if (++current_size_ > array_.size() / 2)
Rehash();
return true;
}
bool Remove(const HashedObj & x) {
size_t current_pos = FindPos(x);
if (!IsActive(current_pos))
return false;
array_[current_pos].info_ = DELETED;
return true;
}
private:
struct HashEntry {
HashedObj element_;
EntryType info_;
HashEntry(const HashedObj& e = HashedObj{}, EntryType i = EMPTY)
:element_{e}, info_{i} { }
HashEntry(HashedObj && e, EntryType i = EMPTY)
:element_{std::move(e)}, info_{ i } {}
};
std::vector array_;
size_t current_size_;
bool IsActive(size_t current_pos) const
{ return array_[current_pos].info_ == ACTIVE; }
size_t FindPos(const HashedObj & x) const {
size_t offset = 1;
size_t current_pos = InternalHash(x);
while (array_[current_pos].info_ != EMPTY &&
array_[current_pos].element_ != x) {
current_pos += offset; // Compute ith probe.
offset += 2;
if (current_pos >= array_.size())
current_pos -= array_.size();
}
return current_pos;
}
void Rehash() {
std::vector old_array = array_;
// Create new double-sized, empty table.
array_.resize(NextPrime(2 * old_array.size()));
for (auto & entry : array_)
entry.info_ = EMPTY;
// Copy table over.
current_size_ = 0;
for (auto & entry :old_array)
if (entry.info_ == ACTIVE)
Insert(std::move(entry.element_));
}
size_t InternalHash(const HashedObj & x) const {
static std::hash hf;
return hf(x) % array_.size( );
}
};
#endif // QUADRATIC_PROBING_H
Answer:
Sorry po idont know po ehhh sorry
Which element adjusts the space around the data in each cell of a table? adjusts the space around the data in each cell of a table.
Answer:
Increase/decrease indentation
Explanation:
Answer:
(Cellpadding) is actually the correct answer.
Explanation:
Cellpadding and cellspacing are two important features of an HTML table. Cellpadding sets the space around the data in each cell. Cellspacing sets the space around each cell in the table.
6.22 LAB: Output values below an amount - methods
Write a program that first gets a list of integers from input. The input begins with an integer indicating the number of integers that follow. Then, get the last value from the input, and output all integers less than or equal to that value. Assume that the list will always contain less than 20 integers.
Ex: If the input is:
5 50 60 140 200 75 100
the output is:
50 60 75
The 5 indicates that there are five integers in the list, namely 50, 60, 140, 200, and 75. The 100 indicates that the program should output all integers less than or equal to 100, so the program outputs 50, 60, and 75. For coding simplicity, follow every output value by a space, including the last one.
Such functionality is common on sites like Amazon, where a user can filter results.
Write your code to define and use two methods:
public static void getUserValues(int[] myArr, int arrSize, Scanner scnr)
public static void outputIntsLessThanOrEqualToThreshold(int[] userValues, int userValsSize, int upperThreshold)
Utilizing methods will help to make main() very clean and intuitive.
My Code & Error Message Attached
import java.util.Scanner;
public class LabProgram {
public static void GetUserValues(int[] myArr, int arrSize, Scanner scnr){
int i;
for(i=0;i
myArr[i] = scnr.nextInt();
}
}
public static void outputIntsLessThanOrEqualToThreshold(int[] userValues, int userValsSize, int upperThreshold) {
int i;
for(i=0;i
if(userValues[i] <= upperThreshold)
System.out.print(userValues[i]+" ");
}
}
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
int[] userValues = new int[20];
int upperThreshold;
int numVals;
numVals = scnr.nextInt();
GetUserValues(userValues, numVals, scnr);
upperThreshold = scnr.nextInt();
outputIntsLessThanOrEqualToThreshold(userValues, numVals, upperThreshold);
System.out.println();
}
}
Answer:
hope this helps.
Explanation:
n = int(input())
lst = []
for i in range(n):
lst.append(int(input()))
threshold = int(input())
for x in lst:
if x < threshold:
print(x)
Following are the Java program to find the less number from 100 in 5 number of the array:
Java Program to check array numbers:please find the code file in the attachment.
Output:
Please find the attached file.
Program Explanation:
import package.Defining class LabProgram Inside the class two methods "GetmyArr, outputIntsLessThanOrEqualToThreshold" is defined that takes three variable inside the parameters.In the "GetmyArr" method it takes one array and one integer variable and a scanner that inputs the array value "myArr" which limits set into the "arrSize" variable. In the "outputIntsLessThanOrEqualToThreshold" method it takes three parameters "myArr, arrSize, and upperThreshold". In this, it checks array value is less than "upperThreshold", and prints its value.Outside this main method is defined that defines array and variable and class the above method.Find out more about the java code here:
brainly.com/question/5326314
When the function below is called with 1 dependent and $400 as grossPay, what value is returned?
double computeWithholding (int dependents, double grossPay)
{
double withheldAmount;
if (dependents > 2)
withheldAmount = 0.15;
else if (dependents == 2)
withheldAmount = 0.18;
else if (dependnets == 1)
withheldAmount = 0.2;
else // no dependents
withheldAmount = 0.28;
withheldAmount = grossPay * withheldAmount;
return (withheldAmount);
}
a. 60.0
b. 80.0
c. 720.0
d. None of these
Answer:
b. 80.0
Explanation:
Given
[tex]dependent = 1[/tex]
[tex]grossPay = \$400[/tex]
Required
Determine the returned value
The following condition is true for: dependent = 1
else if (dependnets == 1)
withheldAmount = 0.2;
The returned value is calculated as:
[tex]withheldAmount = grossPay * withheldAmount;[/tex]
This gives:
[tex]withheldAmount = 400 * 0.2[/tex]
[tex]withheldAmount = 80.0[/tex]
Hence, the returned value is 80.0
Which are characteristics of Outlook 2016 email? Check all that apply.
The Inbox is the first folder you will view by default
While composing an email, it appears in the Sent folder.
Unread messages have a bold blue bar next to them.
Messages will be marked as "read" when you view them in the Reading Pane.
The bold blue bar will disappear when a message has been read.
Answer: The Inbox is the first folder you will view by default.
Unread messages have a bold blue bar next to them.
Messages will be marked as "read" when you view them in the Reading Pane.
The bold blue bar will disappear when a message has been read
Explanation:
The characteristics of the Outlook 2016 email include:
• The Inbox is the first folder you will view by default.
• Unread messages have a bold blue bar next to them.
• Messages will be marked as "read" when you view them in the Reading Pane.
• The bold blue bar will disappear when a message has been read.
It should be noted that while composing an email in Outlook 2016 email, it doesn't appear in the Sent folder, therefore option B is wrong. Other options given are correct.
Answer:
1
3
4
5
Explanation:
just did it on edge
What is the size of type int on 64 bit system
(1/1 Point)
4 byte
8 byte
16 byte
None of the given
63. Name the 4 main lights & and their primary purpose.
Do my Twitter posts count as opinions or facts?
What does it NOT mean for something to be open source?
It’s available for anyone to use
It’s free for all
It’s available for anyone to modify
Free to use but you have to pay a fee to modify
Answer:
Free to use but you have to pay a fee to modify
Explanation:
You NEVER have to pay for OPEN SOURCE
Which of the following is a goal of summarizing?
Answer:
b
Explanation:
its B mygee
Because filling a pool/pond with water requires much more water than normal usage, your local city charges a special rate of $0.77 per cubic foot of water to fill a pool/pond. In addition, it charges a one-time fee of $100.00 for filling. This water department has requested you, as a programmer, write a C program that allows the user to enter a pool's length, width, and depth, in feet measurement. The program will then calculate the pool's volume, the volume of water needed to fill the pool with the water level 3 inches below the top, and the final cost of filling the pool, including the one-time fee. And then, all the entered sizes of the pool (in feet) and the three calculated values will be displayed on the screen. Finally, your full name as the programmer who wrote the program must be displayed at the end. To find the volume of the pool in cubic feet, use the formula: volume
Answer:
In C:
#include <stdio.h>
int main(){
float length, width, depth,poolvolume,watervolume,charges;
printf("Length (feet) : "); scanf("%f",&length);
printf("Width (feet) : "); scanf("%f",&width);
printf("Depth (feet) : "); scanf("%f",&depth);
poolvolume = length * width* depth;
watervolume = length * width* (12 * depth - 3)/12;
charges = 100 + 0.77 * watervolume;
printf("Invoice");
printf("\nVolume of the pool: %.2f",poolvolume);
printf("\nAmount of the water needed: %.2f",watervolume);
printf("\nCost: $%.2f",charges);
printf("\nLength: %.2f",length);
printf("\nWidth: %.2f",width);
printf("\nDepth: %.2f",depth);
printf("\nMr. Royal [Replace with your name] ");
return 0;}
Explanation:
This declares the pool dimensions, the pool volume, the water volume and the charges as float
float length, width, depth,poolvolume,watervolume,charges;
This gets input for length
printf("Length (feet) : "); scanf("%f",&length);
This gets input for width
printf("Width (feet) : "); scanf("%f",&width);
This gets input for depth
printf("Depth (feet) : "); scanf("%f",&depth);
This calculates the pool volume
poolvolume = length * width* depth;
This calculates the amount of water needed
watervolume = length * width* (12 * depth - 3)/12;
This calculates the charges
charges = 100 + 0.77 * watervolume;
This prints the heading Invoice
printf("Invoice");
This prints the volume of the pool
printf("\nVolume of the pool: %.2f",poolvolume);
This prints the amount of water needed
printf("\nAmount of the water needed: %.2f",watervolume);
This prints the total charges
printf("\nCost: $%.2f",charges);
This prints the inputted length
printf("\nLength: %.2f",length);
This prints the inputted width
printf("\nWidth: %.2f",width);
This prints the inputted depth
printf("\nDepth: %.2f",depth);
This prints the name of the programmer
printf("\nMr. Royal [Replace with your name] ");
return 0;}
See attachment for program in text file
First, open two separate terminal connections to the same machine, so that you can easily run something in one window and the other. Now, in one window, run vmstat 1, which shows statistics about machine usage every second. Read the man page, the associated README, and any other information you need so that you can understand its output. Leave this window running vmstat for the rest of the exercises below. Now, we will run the program mem.c but with very little memory usage. This can be accomplished by typing ./mem 1 (which uses only 1 MB of memory). How do the CPU usage statistics change when running mem
NO LINKS
write a shell script to find the sum of all integers between 100 and 200 which are divisible by 9
Answer:
#!/usr/bin/env bash
for num in {100..200}
do
if [ $((num % 9)) -eq 0 ]
then
((sum += num))
fi
done
echo $sum
Explanation:
The output will be 1683.
Write a program whose input is two integers. Output the first integer and subsequent increments of 10 as long as the value is less than or equal to the second integer. Ex: If the input is: -15 30 the output is: -15 -5 5 15 25
Answer:
Explanation:
The following program is written in Python. It asks the user for two number inputs. Then it creates a loop that prints the first number and continues incrementing it by 10 until it is no longer less than the second number that was passed as an input by the user.
number1 = int(input("Enter number 1: "))
number2 = int(input("Enter number 2: "))
while number1 < number2:
print(number1)
number1 += 10
What can a developer do to customize a macro beyond the simple tools of the Macro Design tab?
O Edit the macro in the SQL view.
O Make the macro a security risk.
O Eliminate restricted actions from the macro.
O Edit the macro in the Visual Basic language.
Answer: D is the answer I did the assignment.
Explanation:
Given two integers as user inputs that represent the number of drinks to buy and the number of bottles to restock, create a VendingMachine object that performs the following operations:
Purchases input number of drinks Restocks input number of bottles.
Reports inventory Review the definition of "VendingMachine.cpp" by clicking on the orange arrow.
A VendingMachine's initial inventory is 20 drinks.
Ex: If the input is: 5 2
the output is: Inventory: 17 bottles
Answer:
In C++:
#include <iostream>
using namespace std;
class VendingMachine {
public:
int initial = 20;};
int main() {
VendingMachine myMachine;
int purchase, restock;
cout<<"Purchase: "; cin>>purchase;
cout<<"Restock: "; cin>>restock;
myMachine.initial-=(purchase-restock);
cout << "Inventory: "<<myMachine.initial<<" bottles";
return 0;}
Explanation:
This question is incomplete, as the original source file is not given; so, I write another from scratch.
This creates the VendingMachine class
class VendingMachine {
This represents the access specifier
public:
This initializes the inventory to 20
int initial = 20;};
The main begins here
int main() {
This creates the object of the VendingMachine class
VendingMachine myMachine;
This declares the purchase and the restock
int purchase, restock;
This gets input for purchase
cout<<"Purchase: "; cin>>purchase;
This gets input for restock
cout<<"Restock: "; cin>>restock;
This calculates the new inventory
myMachine.initial-=(purchase-restock);
This prints the new inventory
cout << "Inventory: "<<myMachine.initial<<" bottles";
return 0;}
Which of the following is not part of the four ways you can avoid problems with email communication?
a.
Be brief.
b.
Proofread your message.
C.
Reply right away after you get an email.
d.
Seek other ways to relay your message
Answer:
d is the correct answer for this problem
What is artificial Intelligence ?
Answer:
Artificial intelligence (AI) is intelligence demonstrated by machines, unlike the natural intelligence displayed by humans and animals, which involves consciousness and emotionality. The distinction between the former and the latter categories is often revealed by the acronym chosen. 'Strong' AI is usually labelled as artificial general intelligence (AGI) while attempts to emulate 'natural' intelligence have been called artificial biological intelligence (ABI). Leading AI textbooks define the field as the study of "intelligent agents": any device that perceives its environment and takes actions that maximize its chance of successfully achieving its goals.Colloquially, the term "artificial intelligence" is often used to describe machines that mimic "cognitive" functions that humans associate with the human mind, such as "learning" and "problem solving".
As machines become increasingly capable, tasks considered to require "intelligence" are often removed from the definition of AI, a phenomenon known as the AI effect.A quip in Tesler's Theorem says "AI is whatever hasn't been done yet." For instance, optical character recognition is frequently excluded from things considered to be AI,having become a routine technology. Modern machine capabilities generally classified as AI include successfully understanding human speech,]competing at the highest level in strategic game systems (such as chess and Go), and also imperfect-information games like poker,[11] self-driving cars, intelligent routing in content delivery networks, and military simulations.
Artificial intelligence was founded as an academic discipline in 1955, and in the years since has experienced several waves of optimism,followed by disappointment and the loss of funding (known as an "AI winter") followed by new approaches, success and renewed funding.[ After AlphaGo successfully defeated a professional Go player in 2015, artificial intelligence once again attracted widespread global attention.For most of its history, AI research has been divided into sub-fields that often fail to communicate with each other. These sub-fields are based on technical considerations, such as particular goals (e.g. "robotics" or "machine learning"),the use of particular tools ("logic" or artificial neural networks), or deep philosophical differences. Sub-fields have also been based on social factors (particular institutions or the work of particular researchers
Explanation:
Hopefully u will satisfy with my answer of ur question..!!Please Mark on brainleast please..!!Have a nice day ahead dear..!!Answer:
Uhm
Explanation:
What the other person said.
ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP ASAP NEED HELP
Answer:
13.c
14.d
15.b
16.a
17.c
Explanation:
please brainleist please ☻☺️❤♨️
FREE YOU KNOW WHAT DIG IN
Answer:
Thank you so much!!!!!!
Have a great day!
Explanation:
tnx for ponits .........
What career opportunities are available within the floral industry?
Answer: The floral industry has quite an array of possible occupation pathways. You can do flower production, design, publishing, marketing, home design, engineering, retailing, commercial, research, and lots more.
Ralph and his team need to work together on a project. If they need a device that will provide shared storage with access to all team members, which of these devices would work best? *
USB Flash Drive
2 TB HDD installed on one of their computers
BD-RW installed on one of their computers
Network attached storage appliance
Which of the following does PXE use?
a) USB
b) DVD-ROM
c) CD-ROM
d) NIC
Answer:
The answer is d) NIC.
Explanation:
PXE Stands for Preboot Execution Environment and a PXE uses an NIC also know as Network Interface Controller. For an example: If you have a DELL Inspiron 8500 and you couldn't get it to work you would need to go through all boot-up system including a Preboot Execution Environment in the booting code protocols it would say connecting to NIC after 6 seconds it would say NIC connected then it would search for a boot device after a few munities since the DELL Inspiron 8500 is obsolete you would get this message:
No Boot Device found