Answer:
Explanation:
Using an Excel VBA string function to write the sub
Initially:
To loop from the last character back unto the first, we have to Offset in order to increase the column with each iteration of the for loop, as well as Mid$ just to return the characters one at a time.
Public Sub Question() Dim Word As String Dim Cnt As Integer Word = InputBox("Please Enter a word") For Cnt = Len(Word) To 1 Step -1 Range("C2").Offset(, Len(Word) - Cnt).Value = Mid$(Word, Cnt, 1) Next End Sub
Similarly, suppose we want to use StrReverse: Then; we can write it as;
Public Sub Question2() Dim Word As String Dim Cnt As Integer Word = InputBox("Please Enter a word") Word = StrReverse(Word) For Cnt = 1 To Len(Word) Range("C2").Offset(, Cnt - 1).Value = Mid$(Word, Cnt, 1) Next End Sub
Write an expression that prints 'You must be rich!' if the variables young and famous are both True.
young = True
famous = False
if ''' Your solution goes here ''':
print('You must be rich!')
else:
print('There is always the lottery...')
Python 3 language
Answer:
Following are the expression to this question:
if (young and famous==True):
Explanation:
For print, the given expression the code requires some modification that can be defined as follows:
young = True#defining a bool variable that holds a value True
famous = True#defining a bool variable that holds a value True
if (young and famous==True):#defining if block that check variable value
print('You must be rich!')#print message
else:#else block
print('There is always the lottery...')#print message
Output:
You must be rich!
Code explanation:
In the above-given code, two variable "young and famous" is declared, that hold a "True" which is a bool value, in this code, a conditional statement has used, that checks variable value, which can be defined as follows:
In the if block, it uses the above declared variable with and gate to check its value is equal to true. If the condition is true, it will print the true block message, otherwise, go to the else block in this, it will print the else block message.Write the definition of a function that takes as input three numbers. The function returns true if the floor of the product of the first two numbers equals the floor of the third number; otherwise it returns false. (Assume that the three numbers are of type double.) (4)
Answer:
Written in C++
bool checkfloor(double num1, double num2, double num3) {
if(floor(num1 * num2) == floor(num3)){
return true;
}
else {
return false;
}
}
Explanation:
The function written in C++
This line defines the function
bool checkfloor(double num1, double num2, double num3) {
The following if condition checks if the floor of num1 * num2 equals num3
if(floor(num1 * num2) == floor(num3)){
return true; It returns true, if yes
}
else {
return false; It returns false, if otherwise
}
}
See attachment for full program including the main
What is the role of CPU in the computer system?
Answer:
role of cpu in computer is ut is a brain nd a power point if a computer
Explanation:
It helps of shut down and open it
Answer:
CPU is considered as the brain of the computer. CPU performs all types of data processing operations. It stores data, intermediate results, and instructions (program). It controls the operation of all parts of the computer.
Because all the IEEE WLAN features are isolated in the PHY and ____________ layers, practically any LAN application will run on a WLAN without any modification.
Answer:
MAC
Explanation:
MAC Layer is the acronym for Media Access Control Layer. This said Media Access Control Layer happens to be one of the two sublayers that comprises of the Data Link Layer of the OSI model. The Media Access Control layer is majorly responsible or in charge of moving various data packets to the Network Interface Card, and also from the Network Interface Card (NIC) across a particular shared channel. The Media Access Control sublayer and the logical link control sublayer together are what makes up the data link layer.
identify 5 products/services needed by the people in our current situation.
Answers with Explanations:
5 Products/Services Needed by People These Days.
1. Face mask/Surgical mask - The use of face mask is considered a common sense. Most countries mandate people to wear this every time they go out.
2. Food Delivery service - To prevent contracting corona virus, most people prefer to have their food delivered than to dine out. This increases the demand for the food delivery service.
3. Alcohol - It has become an important habit recently to disinfect hands and other things. This is also being advertised on TV, thus many people carry it along with them.
4. Infrared Forehead Thermometer - Many establishments use this in order to quickly check the temperature of people entering.
5. Internet service - The increase use of this service is due to online learning and remote-working situations.
We all need different product and services. In this pandemic time, the products/services needed by the people are;
Face mask or Surgical mask
All round Food Delivery service
Humanitarian gestures by people or firms and also Good Tv programs that are educative and one can watch with kids them.
Infrared Forehead Thermometer
Internet service
A product is known to be a tangible goods that one buys or acquisition, consume, etc. Service is known as an intangible item.
A key reason for any new development is to give the best or new value to the customer and in this present time. Helping those who have lost their jobs, having mask mask, etc., readily available will go a long way to help.
Learn more about Products from
https://brainly.com/question/10873737
________ help(s) prevent a hard drive from being a single point of failure. __________ help(s) prevent a server from being a single point of failure. _________ help(s) prevent a person from being a single point of failure.
Answer:
RAID, Failover clusters, Cross-training
Explanation:
RAID function by preventing a hard drive from being a single point of failure. It is called Redundant array of independent disks (RAID). Failover cluster duties is to prevent a server from being a single point of failure.requires at least 2 node
How does a search engine use algorithms to provide search results?
by creating keywords and phrases
by recording and storing data for worldwide use
by retrieving and ranking relevant search results
by limiting the type of search terms that it will accept
Answer:
By retrieving and ranking relevant search results
Explanation:
A search engine use algorithms to provide search results by retrieving and ranking relevant search results. The correct option is c.
What is an algorithm?When a user enters a search query into a search engine, all of the sites that are considered relevant are pulled from the index and ranked in a set of results using a hierarchical algorithm.
Each search engine uses a different set of algorithms to determine which results are the most pertinent. Through tags like HREF and SRC, they may detect new links on these pages, and they add such pages to their list of sites to index.
Then, based on the search phrases you entered, search engines utilize their algorithms to produce a prioritized list from their index of the pages you should be most interested in.
Therefore, the correct option is c. by retrieving and ranking relevant search results
To learn more about the algorithm, refer to the link:
https://brainly.com/question/13092388
#SPJ6
Corina has added animations to objects on a particular slide within a presentation. She needs to reorder the animations. How should she achieve this goal?
A. Use the Preview button.
B. Access the Advanced timeline.
C. Use the Animation pane.
D. Delete and recreate the animations in the correct order.
I think it's B but im not 100% sure sorry if im wrong
Answer: C
Explanation:
If you need to download something for a class, first
Answer:
left click, then click save image
Explanation:
Answer:
first try to do it on kami, then on Google docs, then on doc-hub
g You and your friend both send documents to the printer, but the printer can only print one document at a time. What does it do with the other document
Answer:
It places the document in a buffer
Explanation:
Since the printer can only print a document at a time, the other document is going to be placed in a buffer.
The print buffer can be described as a location in memory that has the function of holding data that is going to be sent to a computers printer. A print job such as in this scenario may remain in the buffer because another document is to be printed first.
Sometimes a document could be put in the buffer because the computer is waiting for the printer to respond. This is just another reason why documents are placed in a buffer.
Why would an information systems security practitioner want to see network traffic on both internal and external network traffic?
Answer:
To see who is accessing data and also where it is going
Explanation:
An information systems practitioner is a person who is involved in the planning and and also implementation of IT resources for any organization which he at she works.
The information systems practitioner would want to want to see network traffic on both internal and external network traffic so as to know who is accessing data and to also know where it is going.
Sometimes young adults may want to experience physical intimacy, and their lack of knowledge may result in .
Answer:
Unexpected outcome: Sometimes young adults may want to experience physical intimacy, and their lack of knowledge may result in pregnancy. ... Parents may experience emotions of frustration and anger when they have to deal with a cranky or troublesome child.
if you make homemade knitted garments and you sell them to individuals online, what e-commerce are you participating in?
is it B2B or B2C or C2C or SaaS
The Answer Of This Question Is C2C.
Why is it useful to teach Karl new commands
Answer:
It's important to teach karl more commands so karl can do more tasks and create more complex algorithms
Explanation:
How did Aryan religion contribute to class differences in India?
Write a method called rotate that moves the value at the front of a list of integers to the end of the list. For example, if a variable called list stores the values [8, 23, 19, 7, 45, 98, 102, 4], then the call of list.rotate(); should move the value 8 from the front of the list to the back of the list, changing the list to store [23, 19, 7, 45, 98, 102, 4, 8]. If the method is called for a list of 0 elements or 1 element, it should have no effect on the list. You may neither construct any new nodes to solve this problem nor change any of the data values stored in the nodes. You must solve the problem by rearranging the links of the list.
Answer:
Explanation:
public void rotate()
{
if(front == null)
return;
ListNode current = front;
ListNode firstNode = current;
while(current.next != null)
{
current = current.next;
}
current.next = front;
front = firstNode.next;
firstNode.next = null;
}
Given two integer variables distance and speed, write an expression that divides distance by speed using floating point arithmetic, i.e. a fractional result should be produced.
1. Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double variable avg. Assume the variables num1, num2, and num3 have been declared and assigned values, and the variable avg declared.
Creating objects
2. Declare a reference variable of type File named myFile.
3. Declare a variable named myMenu suitable for holding references to Menu objects.
4. Suppose a reference variable of type File called myFile has already been declared. Create an object of type File with the initial file name input.dat and assign it to the reference variable myFile.
invoking methods
Answer:
Following are the solution to this question:
Explanation:
In this question, the result value which would be produced are as follows:
[tex]= \frac{distance}{(double) \ speed}[/tex]
In point 1:
The formula for the avg variable:
[tex]\to avg = \frac{(num_1 + num_2 + num_3)}{(double)\ 3};[/tex]
In point 2:
The variable for the file is:
File myFile;
In point 3:
The variable for the mymenu:
Menu myMenu;
In point 4:
myString = new String();
Which function converts the users input to a number without a decimal?
Answer:
Explanation: integer is the meaning of int() if you payed attention to programming class, int() would be a WHOLE number and not a decimal number, 2nd of all, a decimal number would be float() so the answer is int() hope i helped!
Explanation:
hope this helped byyyyyyyyyyye
Write a Pandas program to import excel data (coalpublic2013.xlsx) into a dataframe and draw a bar plot where each bar will represent one of the top 10 production.
Answer:
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
df = pd.read_excel('coalpublic2013.xlsx')
sorted_by_production = df.sort_values(['Production'], ascending=False).head(10)
sorted_by_production['Production'].head(10).plot(kind="bar")
plt.show()
Explanation:
The python program plot a bar chart of the top ten productions in the excel worksheet. The excel file is read in as a pandas dataframe, sorted in descending order and the first ten of the dataframe is plotted as a bar plot.
Write code which takes a sentence as an input from the user and then prints the length of the first word in that sentence.
Hint: think about how you know where the first word ends - you may assume that the sentence contains more than one word.
Input a code in the following:
/* Lesson 3 Coding Activity Question 4 */
import java.util.Scanner;
public class U2_L3_Activity_Four{
public static void main(String[] args){
/* Write your code here */
}
}
import java.util.Scanner;
public class U2_L3_Activity_Four {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Enter a sentence.");
String sent = scan.nextLine();
int count = 0;
for (int i = 0; i < sent.length(); i++){
char c = sent.charAt(i);
if (c != ' '){
count++;
}
else{
break;
}
}
System.out.println("The first word is " + count +" letters long");
}
}
We check to see when the first space occurs in our string and we add one to our count variable for every letter before that. I hope this helps!
Following are the java code to the given question:
import java.util.Scanner;//import package
public class U2_L3_Activity_Four //defining a class U2_L3_Activity_Four
{
public static void main(String[] args) //defining main method
{
String s;//defining String variable
int x,v=0;//dclaring integer variable x,v
Scanner obx = new Scanner(System.in);//creating Scanner class Object
System.out.println("Enter a sentence.");//print message
s = obx.nextLine();//input string value
for (x = 0; x < s.length(); x++)//defining loop to count string length
{
char c = s.charAt(x);//defining char variable that hold char value
if (c != ' ')//defining if that check space value
{
v++;
}
}
System.out.println("The first word is " + v +" letters long");//print length of first word
}
}
Output:
Please find the attached file.
Program Explanation:
Import package.Defining a class U2_L3_Activity_Four, inside the class main method is declared.Defining a string variable "s" and an integer variable "x,v=0", and a scanner class object is created that inputs string value.In the next step, a for loop is defined that checks the first word in the string value and prints its length value.Learn more:
brainly.com/question/16092924
How do I charge my ACDC Halo bolt?
Answer:
To recharge your HALO Bolt, using the provided AC wall adapter cable, plug the AC adapter tip into the charger's charge input DC 20V/0.6A port. Next, connect the AC adapter into a wall outlet. Your HALO Bolt will automatically begin charging. Charge your HALO Bolt for a full eight hours.
Explanation:
PLzzzzzz help me!! I will mark brainiest to the one who answers it right!!
Answer it quickly!!
Write a pseudo code for an algorithm to center a title in a word processor.
Answer: abstract algebra
Explanation: start with the algorithm you are using, and phrase it using words that are easily transcribed into computer instructions.
Indent when you are enclosing instructions within a loop or a conditional clause. ...
Avoid words associated with a certain kind of computer language.
Answer:
(Answers may vary.)
Open the document using word processing software.
In the document, select the title that you want to center. The selected word is highlighted.
On the Menu bar, select the Format tab.
In the Format menu, select Paragraph.
The Paragraph dialog box opens with two sub tabs: Indents and Spacing, and Page and Line Breaks. The first tab is selected by default.
Adjust the indentation for the left and right side. Ensure that both sides are equal.
Preview the change at the bottom of the dialog box.
Click OK if correct, otherwise click Cancel to undo changes.
If you clicked OK, the title is now centered.
If you clicked Cancel, the title will remain as it is.
Explanation:
I took the unit activity
Which of the following would be appropriate to create using the CMYK color model?
Select all that apply.
a printed takeout menu a printed takeout menu , ,
a photography blog a photography blog , ,
a tri-fold brochure a tri-fold brochure , ,
a mobile app logo
Answer:
B, and C
Explanation:
they look like the only two answers that make sence
The document ____ controls the variety of fonts, colors, and other visual effects available for formatting a document.
Answer:
Theme
Explanation:
In Microsoft Office particularly Microsoft Word, the document THEME is where a user can quickly go to in order to controls the variety of fonts, colors, and other visual effects available for formatting a document.
To do this, a user can click on the Design menu, then click on the THEME option, after that, a user can hover the mouse on different themes to preview how the effects will show on the text or page in the document, before settling for one.
As a user of media what will you say to those people who are under of misleading use media
Answer:
search more sa google
Review how to write a for loop by choosing the output of this short program.
for counter in range(3):
print(counter * 2)
2
3
4
0
2
4
0
1
2
2
4
6
Answer:
The answer is 0 2 4. I hope this helps you out. Have a wonderful day and stay safe.
Explanation:
Answer: 0 2 4
Explanation: got it right on edgen
Which choices correctly describe an Else
statement? Check all that apply.
a conditional statement that will show
different information if the answer to the If
statement is true
a conditional statement that will show
different information after the If statement
answer is false
a statement that contains the code to be
executed when the If value is false or zero
a conditional statement that runs a piece of
code when all program statements are true
Answer: B C
Explanation:
Answer:B,C,D
Explanation:
Create a new program with a struct, Data, that contains: an int a char[80] Write a function newData(char[]), that takes char[] as a parameter
Answer:
#include <iostream>
#include <cstring>
using namespace std;
struct Data {
int userId;
char name[80];
}
void newData(string data char[]){
int counts= 0;
struct Data name;
data.userId = ++counts;
data.name = char[];
cout<< data.userId << "\n"<< data.name ;
}
int main( ) {
char myName;
string mydata;
cin>> myName;
cin>> mydata;
newData( myName, mydata);
}
Explanation:
The c++ source code above stores its data in a struct called "Data". The function newData dynamically creates new data from the struct defined.
Write pseudocode for a function that translates a telephone number with letters in it (such as 1-800-FLOWERS) into the actual phone number. Use the standard letters on a phone pad.
Answer:
Explanation:
Function telToNumbers with one parameter of a String input for the telephoneNumber
String var newTelephoneNum;
for loop through telephoneNumber {
Char var currentChar = current Character in the loop;
currentChar to lower Case;
Switch statement (currentChar) {
case "a" or "b" or "c" : newTelephoneNum += "2"; break;
case "d" or "e" or "f" : newTelephoneNum += "3"; break;
case "g" or "h" or "i" : newTelephoneNum += "4"; break;
case "j" or "k" or "l" : newTelephoneNum += "5"; break;
case "m" or "n" or "o" : newTelephoneNum += "6"; break;
case "p" or "q" or "r" or "s" : newTelephoneNum += "7"; break;
case "t" or "u" or "v" : newTelephoneNum += "8"; break;
case "w" or "x" or "y" or "z" : newTelephoneNum += "9"; break;
default : newTelephoneNum += currentChar; break;
}
}
print newTelephoneNum;
Type the correct answer in the box. Spell the word correctly.
Under which menu option of a word processing program does a star appear?
A star appears under the
menu of the word processing program.
Reset
Next
Answer:
"a callout is a type of text box that also includes a line for pointing to any location on the document. A callout appears under the SHAPES menu of the word processing program. The answer that completes this statement is the word "shapes". Hope this answers your question."
Explanation:
The correct answer in the box is as follows:
A star appears under the shapes menu of the word processing program. What is the word processing program?The word processing program may be characterized as a type of MS software that is significantly used to create, edit, save, and print documents on a computer. It permits a user to create documents that mimic the format and style of the original document along with diverse functions.
The Shapes menu in the word processing program has numerous shapes like rectangles, Ellipses, and Freehand polygons. There are some other numbers of other shapes such as arrows, speech balloons, various stars, and others are also included in this menu tool.
If a user wants to add any specific shape, he/she is allowed to click Insert, click Shapes, select a shape, and then click and drag to draw the shape. That specific shape is now inserted in the word processing documents.
Therefore, a star appears under the shapes menu of the word processing program.
To learn more about Word processing documents, refer to the link:
https://brainly.com/question/1596648
#SPJ7