num = int(input("Enter a number: "))
print(str(num)+" is even" if num % 2 == 0 else str(num)+" is odd")
I wrote my code in python 3.8. Best of luck.
3. A year contains 365 days normally, so on
what number day does Christmas fall on?
Answer:
359 is December 25 in a 365 day year.
Explanation:
Answer:
For western christian churches, Christmas day always occurs on December 25, though some cultures observe the main celebration on the night prior, Christmas Eve.
Your organization uses a federated identity provider to login to your Oracle Cloud Infrastructure (OCI) environment. As a developer, you are writing a script to automate some operation and want to use OCI CLI to do that. Your security team doesn't allow storing private keys on local machines. How can you authenticate with OCI CLI?
Answer:
Run OCI session authenticate and provide your credentials
Explanation:
The OCI CLI when in combination with a shell script can be fastly used in the creation of shareable scripts. It uses API keys, private and public scheme as it's default authentication. The command to use is the oci set up keys, to create these keys. Since you cannot store private keys, you run OCI authentication and then you give your credentials
As a sysadmin you will find yourself doing business with a variety of third party vendors which of these are likely to be rented or bought from a vendors
Answer:
Printing devices
Video, Audio devices
Communication machines
Explanation:
Printing devices - Sysadmin needs this type of devices for print important data and information.
Video, Audio devices - Sysadmin needs this type of devices for better communication and interaction.
Communication(fax) machines - Sysadmin needs this type of devices for written communication and interaction and deals.
Several key people were involved in programming-language development in the 1970s and 1980s
Answer:
Brian Kernighan and Dennis Ritchie created the C programming language, and Bjarne Stroustrup took it to the next level by creating C++ in the 80's.
Answer:
Bjarne Stroustrup released C++ programming language in the1980s.
Bill Gates and Paul Allen released the first programming language for a personal computer.
Niklaus Wirth developed Pascal to teach programming.
Explanation:
1,3,4
Application software helps run the computer and coordinates instructions with the hardware.
A. True
B. False
Answer:
A. True
Explanation:
do you agree or disagree with the assertion that edutech transforms teachung and learning
Answer:I agree!
Explanation:
Agree
What is the last usable host IP address on the 192.168.32.9/30 network?
Answer:
192.168.32.10
Explanation:
HOPE THIS HELPS:)
A business owns a printer but the printer is used for cloud printing purposes. What type of resource is this?
_______and ________ enables computers to communicate and it can pass information between two networks.
Answer:
Internet Protocol and Transmission Control Protocol
Explanation:
Internet protocol, which is also known as IP and Transmission Control Protocol, which is also known as TCP are the two important protocols that enables the computers to communicate various information and data and allow it to pass between two networks. It allows computers to connect to each other. They are developed by Bob Kahn and Vint Cerf.
Suppose a webpage contains a single text field. We want to make the page such that a user can immediately start typing in the text field without clicking on it. What is correct way using?
1. .
2. .
3. .
4. Can't be done with only HTML5, need help of Javascript or something else.
Answer:
The answer is "Option 2".
Explanation:
In HTML5, text inputs use an autofocus attribute, which, when the page is loaded, uses a template to concentrate primarily on text fields. This attribute is a Boolean property that represents the HTML autofocus attribute, showing if the related <select> element will receive an output focus whenever the page loads if it is overruled by the user. An only form-associated entity can have this property specified in a text.
A group of students is performing an investigation to measure how much liquid water is produced from a 10 L sample of snow. What must occur in order for the students to perform this investigation?
Answer:
the temperature of the sample must change
Explanation:
Write a program that takes a String containing a text using the method signature
String useProperGrammar(String text)
Your method should replace the word ‘2’ with ‘to’ and return the updated text.
For example,
useProperGrammar("can you go 2 the store?")
should return
"can you go to the store?"
This method should also print out the number of grammatical errors that were fixed.
For example, for useProperGrammar("back 2 back 2 back"), the method would also print:
Fixed 2 grammatical errors:
In the main method, ask the user to input a String, and print the results of useProperGrammar using the user input.
import java.util.*;
public class MyClass {
public static String useProperGrammar(String message){
String newMessage = "";
int count = 0;
for (int i = 0; i < message.length(); i++){
if(message.charAt(i) == '2'){
newMessage = newMessage + "to";
count ++;
}
else{
newMessage = newMessage + message.charAt(i);
}
}
System.out.println("Fixed "+count+" grammatical error(s):");
return newMessage;
}
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter a string: ");
String text = scan.nextLine();
System.out.println(useProperGrammar(text));
}
}
I hope this helps.
PLZ HELP THIS ENDS TODAY
During slide show mode, hitting the B key will do which of these?
End your presentation
Blank the screen with black screen
Move back one page
Move to the first page of your presentation
Answer:
B or Period. Pressing the B key or period key pauses the slideshow and displays a black screen, which you can write on. Press the B or period key again to resume the slideshow.
Answer: It blanks the screen black.
You should use the arrow keys.
Explanation:
I tried it.
which data representation system is based on the digits 0-9 and is mostly easily interpreted In real wrold situations
Answer:
Hexadecimal data representation system is based on the digits 0-9 and is mostly easily interpreted In real word situations .
Explanation:
Hexadecimal manages sixteen different figures: most often the numbers 0–9 to describe values zero to nine, and (A–F) to describe values ten to fifteen. The modern hexadecimal system was first launched into the domain of computing by IBM in 1963. An older description, with 0-9 and u-z, was practiced in 1956 by the Bendix G-15 computer.
If you wanted to divide an integer variable by 2, which of the following lines of code would you use? total = int + 2 total = int * N total int / 2 total = int. 2
Answer:
Yes
Explanation:
Because all answers are intotal (2)