Answer:
If you use Google or gravity forms for registration - the data piles into a database that can be exported like excel. Google Forms for registration will automatically pool the data into a google sheet for collection.
Explanation:
Write a script called checkLetter.sh Review Greeting.sh for an example. Use a read statement and ask user to "Enter A, B, or C: "
If user types A, echo "You entered A"
If user types B, echo " You entered B"
If user types C, echo " You entered C"
Use the case structure to test the user’s string.
If user types any letter from lower case ‘a through z’ or upper case ‘D through Z’, echo "You did not enter A, B, or C".
Answer:
The code is given as below: The input and output is as given for one case.
Explanation:
echo -e "Enter A, B or C : \c" #Printing the line on the screen
read -rN 1 test #read the character in the variable test
echo
case $test in #Setting up the case structure for variable test
[[:lower:]] ) #checking all lower case letters
echo You did not enter A, B or C;;
[D-Z] ) #checking upper case letters from D to Z
echo You did not enter A, B or C;;
A ) #Condition to check A
echo You entered A;;
B ) #Condition to check B
echo You entered B;;
C ) #Condition to check C
echo You entered C;;
esac #Exiting the case structure
Which type of appliance can host several functions, such as antimalware, firewall, content filter, and proxy server
Answer:
Web Security Appliance (WSA)
Answer:
utm
Explanation:
UnifiedThreat Management (UTM): A security appliance and/or software tool
which contains a combination of any of the following: antivirus/antimalware, firewall,
proxy server, content filtering, spam filtering, intrusion detection system, intrusion
prevention system, and network access control. The more robust the tool, the
higher the number of features available.
For each of the following, write C++ statements that perform the specified task. Assume the unsigned integer array will be located at 1002500 in memory when the array is declared. An unsigned integer occupies four bytes. The data type of unsigned integer is unsigned. Use the constant integer variable size that is initialized to value 5 to represent the size of the array. The very first element of the array is the 0th element.
Answer:
The answer is given as below.
Explanation
As the complete question is not given, the complete question is found online and is attached here with.
a)
int values[SIZE] = {2,4,6,8,10};
b)
int *aPtr;
c)
for(i=0;i<SIZE;i++)
printf("%d", values[i]);
d)
aPtr=values;
aPtr=&values[0];
e)
for(i=0;i<SIZE;i++)
printf("%d", *(aPtr+i));
f)
for(i=0;i<SIZE;i++)
printf("%d", *(values+i));
g)
for(i=0;i<SIZE;i++)
printf("%d\n", aPtr[i]);
h)
array subscript notation: values[3]
pointer/offset notation: *(values +3)
pointer subscript notation: aPtr[3]
pointer/offset notation: *(aPtr + 3)
i)
1002512 is the address is referenced by aPtr + 3 and 8 is the value stored at that location.
j)
1002500 is the address referenced by aPtr -= 2 and 2 is stored at that location.
Function Name: doubles Parameters: list of int Returns: list of int Description: Write a function, doubles, that takes a list of integers and finds values in the list that are exactly twice the previous integer in the list. Return a list of integers from the parameter that meet the criteria specified.
Answer:
def doubles(numbers):
double_numbers = []
for i in range(len(numbers)-1):
if numbers[i+1] == numbers[i] * 2:
double_numbers.append(numbers[i+1])
return double_numbers
Explanation:
*The code is in Python.
Create a function called doubles that takes one parameter, numbers
Initialize an empty list, double_numbers, to hold the double values in the numbers that are exactly twice the previous integer
Create a for loop that iterates through the numbers
If the value of the integer is exactly twice the previous integer, add the integer to the double_numbers using append function
When the loop is done, return the double_numbers
Which of the following audio file formats is best
suited for listening to music on a portable audio
device?
(A)BWF
(B)RA
(C)Lossy AIFF
(D)WMA
Answer:
D. WMA
Explanation:
The following audio file formats that is the best suited for listening to music on a portable audio device is WMA.
Answer:
(D) is the answer WMA
Explanation:
Give the other person brainliest ↑↑↑
hope it helps
1. Write a program in C++ that can convert a given integer value
into words. Assume the largest integer value to be 999 billion
For an input of say 1108 your out should be ONE THOUSAND
ONE HUNDRED AND EIGHT
Answer:
Hope this works
#include <iostream>
#include <string>
#include <vector>
using namespace std;
string digitName(int digit);
string teenName(int number);
string tensName(int number);
string intName(int number);
vector<string> ones {"","one", "two", "three", "four", "five", "six", "seven", "eight", "nine"};
vector<string> teens {"ten", "eleven", "twelve", "thirteen", "fourteen", "fifteen","sixteen", "seventeen", "eighteen", "nineteen"};
vector<string> tens {"", "", "twenty", "thirty", "forty", "fifty", "sixty", "seventy", "eighty", "ninety"};
string nameForNumber (long number) {
if (number < 10) {
return ones[number];
} else if (number < 20) {
return teens [number - 10];
} else if (number < 100) {
return tens[number / 10] + ((number % 10 != 0) ? " " + nameForNumber(number % 10) : "");
} else if (number < 1000) {
return nameForNumber(number / 100) + " hundred" + ((number % 100 != 0) ? " " + nameForNumber(number % 100) : "");
} else if (number < 1000000) {
return nameForNumber(number / 1000) + " thousand" + ((number % 1000 != 0) ? " " + nameForNumber(number % 1000) : "");
} else if (number < 1000000000) {
return nameForNumber(number / 1000000) + " million" + ((number % 1000000 != 0) ? " " + nameForNumber(number % 1000000) : "");
} else if (number < 999000000001) {
return nameForNumber(number / 1000000000) + " billion" + ((number % 1000000000 != 0) ? " " + nameForNumber(number % 1000000000) : "");
}
return "error";
}
int main()
{
long input;
do
{
cout << "Please enter a positive integer: ";
cin >> input;
cout << "\n" << nameForNumber(input) << endl;
cout << "\n\n" << endl;
}while (input > 0);
return 0;
}
In a system using the relocatable dynamic partitions scheme, given the following situation (and using decimal form): Job Q is loaded into memory starting at memory location 42K. a. Calculate the exact starting address for Job Q in bytes. b. If the memory block has 3K in fragmentation, calculate the size of the memory block. c. Is the resulting fragmentation internal or external
Answer:
a) The exact starting address for Job Q is 43008 bytes
b) The size of the memory block is 46080 bytes
c) Resulting fragmentation is external
Explanation:
a) Job Q starting address
42 k ⇒ 42 × 1024 = 43008.
b) memory block has 3 k in fragmentation ∴ the size of the memory block is calculated as 3 k ⇒ 3 × 1024 = 3072.
The fact that it is a block means that we have end address = 3072 + 43008 = 46080.
c) External Fragmentation: It will come in a system that uses the relocatable dynamic partitions scheme.
Using the chores.csv file fat the very bottom; write an awk script to return the average number of minutes required to complete a chore. Your solution must handle an undefined number of chores. zero points will be given to solutions that use a static number in their calculation.
Format floating point numbers to 2 decimal places.
Example output;
Average: 28.12
chores.csv
Chore Name,Assigned to,estimate,done?
Laundry,Chelsey,45,N
Wash Windows,Sam,60,Y
Mop kitchen,Sam,20,N
Clean cookware,Chelsey,30,N
Unload dishwasher,Chelsey,10,N
Dust living room,Chelsey,20,N
Wash the dog,Sam,40,N
Answer: Provided in the explanation section
Explanation:
According to the question:
Using the chores.csv file fat the very bottom; write an awk script to return the average number of minutes required to complete a chore. Your solution must handle an undefined number of chores. zero points will be given to solutions that use a static number in their calculation.
Format floating point numbers to 2 decimal places.
Example output;
Average: 28.12
chores.csv
Chore Name,Assigned to,estimate,done?
Laundry,Chelsey,45,N
Wash Windows,Sam,60,Y
Mop kitchen,Sam,20,N
Clean cookware,Chelsey,30,N
Unload dishwasher,Chelsey,10,N
Dust living room,Chelsey,20,N
Wash the dog,Sam,40,N
ANSWER:
BEGIN{
FS=","
}
{
if(NR!=1)
sum += $3
}
END{
avg=sum/NR
printf("Average: %.2f ", avg)
}' ./chores.csv
cheers i hope this helped !!
Write a program that prompts the user to input five decimal numbers. The program should then add the five decimal numbers, convert the sum to the nearest integer, and print the result.Use the static_caststatement with an appropriate equation to convert the sum to an integer. Compile and run your program with the following test data:Case 1: Input: 5.1, 5.1, 5.1, 5.1, 5.1. Expected Output: 26.Case 2: Input: 5.0, 5.0, 5.0, 5.0, 5.0. Expected Output: 25
Answer:
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double num1, num2, num3, num4, num5, sum = 0;
cout << "Input: ";
cin >> num1 >> num2 >> num3 >> num4 >> num5;
sum = num1 + num2 + num3 + num4 + num5;
cout << "Output: " << static_cast<int>(round(sum)) << endl;
return 0;
}
Explanation:
Include cmath to use the round function
Declare the variables
Get the five numbers from the user
Sum them and assign the result to the sum
Round the sum using the round function, and convert the sum to an integer using static_cast statement
Print the sum
write a program that takes in a positive integer as input, and output a string of 1's and 0's representing the integer in binary. for an integer x; the algothm is as long as x is greater than 0 output x % (remainder is either 0 or 1 . x=x/2 in coral language
Answer: Provided in the explanation section
Explanation:
The full questions says:
write a program that takes in a positive integer as input, and output a string of 1's and 0's representing the integer in binary. for an integer x; the algothm is as long as x is greater than 0 output x % (remainder is either 0 or 1 . x=x/2 in coral language. Note: The above algorithm outputs the 0's and 1's in reverse order.
Ex: If the input is:
6
the output is:
011
CODE:
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
while (n > 0) {
printf("%d", n % 2);
n /= 2;
}
printf("\n");
return 0;
}
2
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
while (n > 0) {
printf("%d", n % 2);
n /= 2;
}
return 0;
}
cheers i hope this helped !!
In addition to proposing that planetary orbits are elliptical, what other modification did Kepler make to Copernicus’s model? Planets closer to the Sun move faster. Planets spin in an epicycle while orbiting Earth. Venus has phases due to its orbiting of the Sun. Earth’s rotation causes the rising and setting of the Sun.
Answer:
A. planets closer to the sun move faster
Explanation:
Think about it the farther the planets are the more time it takes to orbit around the sun
Answer:
Planets closer to the Sun move faster.
Explanation:
edge2021