Answer:
A. days of vacation time left
B. days of school left in the year
D. years of service someone performed
Explanation:
The NETWORKDAYS function is a built in excel function which makes it easy to calculate the number of days between two specified dates the start date and the end date, this function when applied excludes weekends from the days calculated and one has the opportunity of specifying certain holidays. With this function. The number of days till vacation, the number school days left. The NETWORKDAYS is a very versatile function.
Can you write a global keyword in a program with capital letters instead
small in php
Answer:
Variable names in PHP are case sensitive (including the global variables!), although function names are not.
Using the adjacency matrix implementation, extend the class GraphType (C++) to include
a Boolean EdgeExists operation, which determines whether two vertices are connected by an edge
a DeleteEdge operation, which deletes a given edge.
Create main to test EdgeExists and DeleteEdge operations.
Answer: What grade work is this i would really like to know?
Explanation:
which of the following is not a hardware component a) input devices b)storage devices c)operating systems d)processing
Answer:
C. Operating systems
Explanation:
Operating systems are software components, not hardware. (Think about Apple OS or Android, they are softwares that are ON the hardware, which is the physical device.)
Write a program that reads an integer and determines and prints whether it's odd or even. [Hint: Use the remainder operator (%). An even number is a multiple of two. Any multiple of 2 leaves a remainder of zero when divided by 2.]
The source code, written in Java, and a sample output have been attached to this response. It contains comments explaining certain parts of the code.
A few things to note are;
(i) The Scanner class is imported to allow user's interact with the program. This is done by writing the import statement at the top of the code as follows;
import java.util.Scanner;
(ii) An object of the Scanner class is created to receive inputs from the user. The object is called input and created as follows;
Scanner input = new Scanner(System.in);
(iii) Since the user is expected to enter an integer, the nextInt() method of the Scanner object is used to receive the integer and this is saved in a variable called number. i.e
int number = input.nextInt();
(iv) A number x, is even if its remainder when divided by 2 is 0. i.e
if x % 2 = 0, then x is even. Otherwise it is odd.
The user's input received and saved in a variable called number is then checked using if and else blocks to check if it is even or not and can be written as follows;
if(number % 2 == 0){
System.out.println(number + " is even");
}else {
System.out.println(number + " is odd");
}
Which statement describes what happens when a user configures No Automatic Filtering in Junk Mail Options?
O No messages will ever be blocked from the user's mailbox.
Messages can still be blocked at the server level.
O Messages cannot be blocked at the network firewall.
O Most obvious spam messages will still reach the client computer,
PLEASE ANSWER CORRECTLY WILL GIVE 15pts
Write a function (subroutine) that inputs a data value in register r0 and returns value in r0. The function returns y 5 a 1 bx 1 cx2, where a, b, and c are parameters built into the function (i.e., they are not passed to it). The subroutine also performs clipping. If the output is greater than a value d, it is constrained to d (clipped). The input in r0 is a positive binary value in the range 0 to 0xFF. Apart from r0, no other registers may be modified by this subroutine. Write ARM code to implement the following C operation.
Int s=0;
for ( i = 0; i < 10; i++) { s = s + i*i;)
Solution :
int f(int x){
[tex]\text{return a + b*x +c*x*x}[/tex];
}*/
int f([tex]\text{int R0}[/tex]){
int stack[2] = {[tex]\text{R1,R2}[/tex]};
[tex]\text{R1 = R0}[/tex];
[tex]\text{R1 = R1}\times \text{ R1}[/tex];
[tex]\text{R2 = C}[/tex];
R1 = R1 * C; /*R1 = [tex]cx^2[/tex]*/
[tex]\text{R2 = B}[/tex];
[tex]\text{R0 = R0}[/tex] * R2; /* R0 = bx */
[tex]\text{R0 = R0 + R1}[/tex]; /*R0 = [tex]bx + cx^2[/tex] */
[tex]\text{R2 = C}[/tex];
[tex]\text{R0 = R0 + R2}[/tex]; /*R0 = a+bx+cx^2 */
[tex]\text{R1 = stack[0];}[/tex]
[tex]\text{ R2 = stack[1];}[/tex]
[tex]\text{ return R0;}[/tex]
}
/*[tex]\text{ARM code to implement the following C operation}[/tex]
int s=0;
[tex]\text{for ( i = 0; i < 10; i++)}[/tex]
{ [tex]\text{s = s + i } \times i[/tex];)
*/
AREA SumSquares, code, readWrite
ENTRY
[tex]\text{MOV r0, #0}[/tex] ;loop [tex]\text{ counter i present at 0}[/tex]
MOV r1, #0 ; s = 0
Loop [tex]\text{MUL r2, r0, r0}[/tex] ;calculate i*i
[tex]\text{ADD r1, r1, r2}[/tex] ;s = s+ i*i
[tex]\text{ADDS r0, r0}[/tex], #1 ; i = i+1
[tex]\text{CMP r0}[/tex],#10 ; test for end
[tex]\text{BNE}[/tex] Loop ; [tex]\text{continue until all added}[/tex]
END
................. are used to summarize data (option) (a) report (b) action
i think report is right for the question
what is the mean of "*" in wild card?
Answer:
a playing card that can have any value,suit,color or other property in a game at the discretion of player holding it
plss. give me briniest ty.
find the summation of even number between (2,n)
Answer:
The program in python is as follows:
n = int(input("n: "))
sum = 0
for i in range(2,n+1):
if i%2 == 0:
sum+=i
print(sum)
Explanation:
This gets input n
n = int(input("n: "))
This initializes sum to 0
sum = 0
This iterates through n
for i in range(2,n+1):
This checks if current digit is even
if i%2 == 0:
If yes, take the sum of the digit
sum+=i
Print the calculated even sum
print(sum)
Write a function called random_marks. random_marks should #take three parameters, all integers. It should return a #string. # #The first parameter represents how many apostrophes should #be in the string. The second parameter represents how many #quotation marks should be in the string. The third #parameter represen
Answer:
Explanation:
The following code is written in Java. It creates the function random_marks as requested. It uses three for loops to go concatenating the correct number of apostrophes, quotes, and pairs to the output string before returning it to the user. A test case was added in main and the output can be seen in the attached picture below.
class Brainly {
public static void main(String[] args) {
String output = random_marks(3,2,3);
System.out.println(output);
}
public static String random_marks(int apostrophe, int quotes, int pairs) {
String output = "";
for (int x = 0; x < apostrophe; x++) {
output += '\'';
}
for (int x = 0; x < quotes; x++) {
output += '\"';
}
for (int x = 0; x < pairs; x++) {
output += "\'\"";
}
return output;
}
}
how can you reduce the size of icons on the Taskbar by using the control panel is there another method of doing the same using right click explain
Answer:
Right-click on any empty area of the taskbar and click “Taskbar Settings.” In the settings window, turn on the “Use small taskbar icons” option. As you can see, almost everything is the same except that the icons are smaller and you can cram a few more into the space.
A palindrome is a string that reads the same from left to right and from right to left. Design an algorithm to find the minimum number of characters required to make a given string to a palindrome if you are allowed to insert characters at any position
Answer:
Explanation:
The following code is written in Python. It is a recursive function that tests the first and last character of the word and keeps checking to see if each change would create the palindrome. Finally, printing out the minimum number needed to create the palindrome.
import sys
def numOfSwitches(word, start, end):
if (start > end):
return sys.maxsize
if (start == end):
return 0
if (start == end - 1):
if (word[start] == word[end]):
return 0
else:
return 1
if (word[start] == word[end]):
return numOfSwitches(word, start + 1, end - 1)
else:
return (min(numOfSwitches(word, start, end - 1),
numOfSwitches(word, start + 1, end)) + 1)
word = input("Enter a Word: ")
start = 0
end = len(word)-1
print("Number of switches required for palindrome: " + str(numOfSwitches(word, start, end)))
please help me I mark you brilliant thanks
Answer:
B attaches to C, and C goes into A. (Sequence: A, then insert C into A, then insert B into C.)
Explanation:
You can quite literally get the answer from treating it like a puzzle. There is only 1 solution you can have, and they are marked with shapes. This is also the correct solution to clear the text box with button2 on click.
A Windows user is locked out of her computer, and you must log into the local administrator account Helpdesk Admin. Which would you use in the username field?
a. WHelpdeskAdmin
b. // HelpdeskAdmin
c. HelpdeskAdmin
d. /HelpdeskAdmin
e. HelpdeskAdmin
Answer:
B is the correct answer
Write a program that reads a string and outputs the number of times each lowercase vowel appears in it. Your program must contain a function with one of its parameters as a string variable and return the number of times each lowercase vowel appears in it. Also write a program to test your function. (Note that if str is a variable of type string, then str.at(i) returns the character at the ith position. The position of the first character is 0. Also, str.length() returns the length of the str, that is, the number of characters in str.)
Answer:
Here the code is given as follows,
Explanation:
#include <iostream>
#include <string>
using namespace std;
void Vowels(string userString);
int main()
{
string userString;
//to get string from user
cout << "Please enter a string: ";
getline(cin,userString,'\n');
Vowels(userString);
return 0;
}
void Vowels(string userString)
{
char currentChar;
//variables to hold the number of instances of each vowel
int a = 0, e = 0, i = 0, o = 0, u = 0;
for (int x = 0; x < userString.length(); x++)
{
currentChar = userString.at(x);
switch (currentChar)
{
case 'a':
a += 1;
break;
case 'e':
e += 1;
break;
case 'i':
i += 1;
break;
case 'o':
o += 1;
break;
case 'u':
u += 1;
break;
default:
break;
}
}
// to print no of times a vowels appears in the string
cout << "Out of the " << userString.length() << " characters you entered." << endl;
cout << "Letter a = " << a << " times" << endl;
cout << "Letter e = " << e << " times" << endl;
cout << "Letter i = " << i << " times" << endl;
cout << "Letter o = " << o << " times" << endl;
cout << "Letter u = " << u << " times" << endl;
}
Hence the code and Output.
Please enter a string
Out of the 16 characters you entered.
Letter a = 2 times
Letter e = 1 times
Letter i = 0 times
Letter o = 1 times
Letter u = 0 times.
two things every professional PowerPoint presentation should have
LAB: Warm up: Drawing a right triangle This program will output a right triangle based on user specified height triangle_height and symbol triangle_char. (1) The given program outputs a fixed-height triangle using a character. Modify the given program to output a right triangle that instead uses the user-specified triangle_char character. (1 pt) (2) Modify the program to use a loop to output a right triangle of height triangle_height. The first line will have one user-specified character, such as % or* Each subsequent line will have one additional user-specified character until the number in the triangle's base reaches triangle_height. Output a space after each user-specified character, including a line's last user-specified character. (2 pts) Example output for triangle_char = % and triangle_height = 5: Enter a character: Enter triangle height: 5 273334.1408726 LAB ACTIVITY 16.6.1: LAB: Warm up: Drawing a right triangle 0/3 main.py Load default template... 1 triangle_char - input('Enter a character:\n') 2 triangle_height = int(input('Enter triangle height:\n')) 3 print('') 4 5 print ('*') 6 print ("**') 7 print ("***') 8
Answer:
The modified program in Python is as follows:
triangle_char = input('Enter a character:\n')
triangle_height = int(input('Enter triangle height:\n'))
for i in range(triangle_height):
print(triangle_char * (i+1))
Explanation:
This gets the character from the user
triangle_char = input('Enter a character:\n')
This gets the height of the triangle from the user
triangle_height = int(input('Enter triangle height:\n'))
This iterates through the height
for i in range(triangle_height):
This prints extra characters up to the height of the triangle
print(triangle_char * (i+1))
Here's the modified program that incorporates the requested changes:
python
Copy code
triangle_char = input('Enter a character:\n')
triangle_height = int(input('Enter triangle height:\n'))
print('')
for i in range(1, triangle_height + 1):
line = triangle_char * i + ' ' * (triangle_height - i)
print(line)
This program uses a loop to iterate from 1 to triangle_height. In each iteration, it creates a line by concatenating triangle_char repeated i times with spaces (' ') repeated (triangle_height - i) times. The resulting line is then printed.
For example, if the user enters % as the character and 5 as the height, the output will be to make sure to maintain the indentation properly in your code for it to work correctly.
Learn more about python on:
https://brainly.com/question/30391554
#SPJ6
The keyboard is used to select pictures on the computer.
#True# or False#
We use the keyboard to type. it's false.
Answer:
False is the answer of your question
hope it is helpful to you
Assume that a, b, and c have been declared and initialized with int values. The expression
!(a > b || b <= c)
is equivalent to which of the following?
a. a > b && b <= c
b. a <= b || b > c
c. a <= b && b > c
d. a < b || b >= c
e. a < b && b >= c
Answer:
Option c (a <= b && b > c) and Option e (a < b && b >= c) is the correct answer.
Explanation:
According to the question, the given expression is:
⇒ !(a > b || b <= c)
There will be some changes occur between the values such as:
! = It becomes normal> = It becomes <|| = It becomes &&So that the expression will be:
⇒ a <= b && b > c
and
⇒ a < b && b >= c
Other choices are not connected to the expression or the rules. So the above two alternatives are the correct ones.
Write a class named Pet, with should have the following data attributes:1._name (for the name of a pet.2._animalType (for the type of animal that a pet is. Example, values are "Dog","Cat" and "Bird")3._age (for the pet's age)The Pet class should have an __init__method that creates these attributes. It should also have the following methods:-setName -This method assigns a value to the_name field-setAnimalType - This method assigns a value to the __animalType field-setAge -This method assigns a value to the __age field-getName -This method returns the value of the __name field-getAnimalType -This method returns the value of the __animalType field-getAge - This method returns the value of the __age fieldWrite a program that creates an object of the class and prompts the user to enter the name, type, and age of his or her pet. This should be stored as the object's attributes. Use the object's accessor methods to retrieve the pet's name, type and age and display this data on the screen. Also add an __str__ method to the class that will print the attributes in a readable format. In the main part of the program, create two more pet objects, assign values to the attirbutes and print all three objects using the print statement.Note: This program must be written using Python language
Answer:
Explanation:
The following is written in Python, it contains all of the necessary object attributes and methods as requested and creates the three objects to be printed to the screen. The first uses user input and the other two are pre-built as requested. The output can be seen in the attached image below.
class Pet:
_name = ''
_animalType = ''
_age = ''
def __init__(self, name, age, animalType):
self._name = name
self._age = age
self._animalType = animalType
def setName(self, name):
self._name = name
def setAnimalType(self, animalType):
self._animalType = animalType
def setAge(self, age):
self._age = age
def getName(self):
return self._name
def getAnimalType(self):
return self._animalType
def getAge(self):
return self._age
def __str__(self):
print("My Pet's name: " + str(self.getName()))
print("My Pet's age: " + str(self.getAge()))
print("My Pet's type: " + str(self.getAnimalType()))
name = input('Enter Pet Name: ')
age = input('Enter Pet Age: ')
type = input('Enter Pet Type: ')
pet1 = Pet(name, age, type)
pet1.__str__()
pet2 = Pet("Sparky", 6, 'collie')
pet3 = Pet('lucky', 4, 'ferret')
pet2.__str__()
pet3.__str__()
A method named 'withdraw' in the CheckingAccount class throws a custom exception named 'OverdrawnException'. You want to scan in the value of the withdrawal amount from a file, and you need to make sure that the scanner is closed whether the withdrawal is successful or not. Fill in the blank to complete the code below to do that.
Scamner sconfiLe -muil: try t scanFile new Scanner(myFile); myAccount.withdrow(scanFile.nextDouble)); System.out.println(oe.getMessageC); if (scanFile! null) catch (OverdrawnException oe) f th all of
scanFile.close ():
}
}
Solution :
Scanner scanFile = null;
try {
scanFile = new Scanner(myFile);
myAccount.withdraw(scanFile.nextDouble());
} catch (OverdrawnException oe){
System.out.println(oe.getMessage());
} finally {
if (scanFile != null){
scanFile.close();
}
}
Provide a 3 to 4 sentence overview of the Microsoft Windows features.
Answer:
there is an app that can tell you everything
Explanation:
just go to Microsoft and go to details or something like that and copy and paste
The paragraph for Microsoft Windows features is written in explanation part.
What is Microsoft Windows?Windows is a combination of a few restrictive graphical working framework families created and showcased by Microsoft.
Microsoft Windows (likewise alluded to as Windows or Win) is a graphical working framework created and distributed by Microsoft. It gives a method for putting away records, run programming, mess around, watch recordings, and interface with the Internet. Microsoft Windows was first presented with form 1.0 on November 10, 1983
Microsoft Windows Features on Demand is a component that permits framework managers to add or eliminate jobs and elements in Windows 8 and Windows Server 2012, and later variants of the client and server working framework to change the document size of those working frameworks.
Learn more about Microsoft Windows.
https://brainly.com/question/2312568
#SPJ2
I get an error message on my code below. How can I fix it?
import java.util.Scanner;
public class CelsiusToFahrenheit {
public static void main (String [] args) {
Scanner scnr = new Scanner(System.in);
double tempF;
double tempC;
System.out.println("Enter temperature in Celsius: ");
tempC = scnr.nextDouble();
System.out.print("Fahrenheit: ");
System.out.println(tempF);
return;
}
}
CelsiusToFahrenheit.java:16: error: variable tempF might not have been initialized
System.out.println(tempF);
^
1 error
Answer:
tempF = (tempC * 1.8) + 32;
Explanation:
Required
Correct the error in the program
The error is due to tempF not been initialized or being calculated
Correct the error by writing the formula for tempF before tempF was printed
tempF = (tempC * 1.8) + 32;
Writing the formula ensures that tempF is initialized with the expected equivalent value for tempC
management is as old as human civilization. justify this statement
Answer:
Indeed, management is as old as the human species, as human nature is itself dependent on the natural resources that it needs for its subsistence, therefore needing to exercise a correct administration of said resources in such a way as to guarantee that those resources can satisfy the greatest number of individuals. That is, the human, through the correct management of resources, seeks to avoid the scarcity of them.
To create a manual metric draft you should use: A. The architect scale B. The engineer scale C. The metric 1:100 scale
Answer:
Option C, The metric scale
Explanation:
The metric scale is used to draft manual metric draft drawings. The metric scale is generally represented as 1:100
Architect scale is used for interior and exterior dimensions of structures and buildings
Engineer's scale is used for detail drawings of structures referred to as working plans
Hence, option C is correct
What does internet prefixes WWW and HTTPs stands for?
Answer:
World Wide Web - WWW
Hypertext Transfer Protocol (Secure) - HTTPS
Explanation:
WWW means that the source and content is available to the whole world. Regarding what browser or registrar you have, the content will appear. HTTPS means Hypertext Transfer Protocol Secure. This means that it is a safe way to send info from a web system. I hope I helped you!
Globally, most cell phone carriers use GSM technology, a combination of time division and frequency multiplexing.
Why do you think this has become the multiplexing technology of choice for most carriers?
Why not code division, for example, which some major US cell phone carriers still use?
Answer:
The many reason why we still use Global System for Mobile communication is for the ability to transfer data and voice both at once. But others like Code Division does not have this feature.
Explanation:
Please in Paython. thank you.
Miles to track laps One lap around a standard high-school running track is exactly 0.25 miles. Write the function miles_to_laps() that takes a number of miles as an argument and returns the number of laps. Complete the program to output the number of laps. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f}'.format(your_value)) Ex: If the input is: 1.5 the output is: 6.00 Ex: If the input is: 2.2 the output is: 8.80 Your program must define and call the following function: def miles_to_laps(user_miles)
Answer:
Here is the code in python.
Explanation:
def miles_to_laps(user_miles):
return user_miles / 0.25
if _name_ == '_main_':
print("{:.2f}".format(miles_to_laps(float(input()))))
EXERCISE 3
A student's examination scores at the end of the session
have been listed as follows: 67, 89, 56, 34, 60, 95, 43, 55,
51, 42, 77, 44, 89, 67, 81, 70, 49, 45, 54, and 62. Write a
BASIC program to read, find the sum, and calculate the
average score for the student
Answer:
The BASIC program is as follows:
SUM = 0
FOR I = 1 TO 20
INPUT SCORES
SUM = SUM + SCORES
NEXT I
AVERAGE = SUM/20
PRINT AVERAGE
Explanation:
This initializes sum to 0
SUM = 0
This iterates through 20
FOR I = 1 TO 20
This reads each score
INPUT SCORES
This calculates the total scores
SUM = SUM + SCORES
NEXT I
This calculates the average
AVERAGE = SUM/20
This prints the calculated average
PRINT AVERAGE
A student is conducting an experiment in which he adds an inhibitor to an enzyme-catalyzed reaction that contains alkaline phosphatase. When the student first adds the inhibitor, the reaction rate decreases, however, he can return the reaction rate to normal by adding a large quantity of substrate. What type of inhibitor is the student using, non-competitive or competitive?
Answer:
competitive
Explanation:
An inhibitor is a substance that hinders the action of an enzyme. An inhibitor may be competitive or non competitive.
A competitive inhibitor is an inhibitor that is very similar to the substrate hence it binds to the enzyme instead of the substrate. A noncompetitive inhibitor binds to a site that is different from the active site. This site is called an allosteric site.
If we look at the experiment described in the question, the reaction rate decreases upon addition of the inhibitor. This effect is reversed by adding a large quantity of substrate.
The implication of this observation is that the enzyme and the inhibitor compete for the active site on the substrate.
Hence the inhibitor is a competitive inhibitor.
Answer:
competitive inhibitor is the students using