The ways in which one can declare and instantiate a String object called “myString” and containing “abc” are given below.
What is a String Object in Programming?A string is a predefined class that is provided by so many programming languages, including C, C++, Java, Erlang, etc.
A string is a collection of characters that include spaces. It can be described as a one-dimensional array of characters terminated by the NULL character ('0').
The ways in which one can decalre and instantiate a string object defined above are:
A) String myString = "abc";
B) String myString = new String("abc");
C) char temp myString = char temp ("abc");
Learn more about String Objects at;
https://brainly.com/question/14743310
#SPJ1
In a PHP application using PDO, a _____ consists of the host, port, and name of the database that will be used to establish a connection to the database.
The PDO in PHP has data source name that enables the connection of the database.
What is PHP?PHP is a scripting language and is used for the WebPages and the intersection to the relative database management system.
PDO is the PHP data object and can act as providing a data extraction layer for vendor-neutral lightweight data access.
The connection to the database is managed with the data source name consisting of the host, port, and name of the database.
Learn more about PHP, here:
https://brainly.com/question/14114506
#SPJ1
Who runs the Web? Who controls all these protocols? Who's in charge of all this?
Answer:
...Multiple people. But the person who created the internet was Vinton Cerf.
why computer is called versatile memory?
Answer:
Versatility: The capacity of the computer of performing more than one task at the same time is called the versatility of a computer. Versatility means the capacity to perform different types of work completely. Storage: The computer has a mass storage section where we can store a large volume of data for future use.
Explanation:
Treating others with respect, even when they're impolite, is considered
A. good netiquette
B. being a bystander
C. advocating
D. empathy
Treating others with respect, even when they're impolite, is considered good netiquette. The correct option is A.
What is netiquette?Netiquette refers to the standards of behavior for polite and appropriate online conversation. Etiquette for the internet is another name for netiquette. These are suggested politeness guidelines rather than laws.
A set of guidelines known as netiquette promotes polite and appropriate online conduct.
These guidelines are crucial because they encourage effective communication, guard against misunderstandings, and show you what is appropriate in social situations when working and cooperating online.
Online communication can be made more productive with the use of netiquette, which also helps people stay clear of confusion and potential confrontation. It is considered acceptable to treat people with respect, even when they are being rude.
Thus, the correct option is A.
For more details regarding good netiquette, visit:
https://brainly.com/question/29444693
#SPJ2
help please will give brainliest!!!!!!!!!
Answer:
Take a String.
Convert it into array of characters.
Apply for loop till length of char array.
Using isDigit() method we can check the digits in string.
If isDigit() will return true then print that index value.
That digit is in char form. ...
Using sum variable, we will sum it.
Explanation:
What are the advantages to star topology?
Select All that Apply.
A. It is easy to troubleshoot problems.
B. Each node is connected to all other nodes.
C. It is less expensive than bus technology.
D. Nodes can be added without disrupting the network.
E. The malfunction of one workstation doesn't crash the network
The advantage to star topology is that It is less expensive than bus technology.
What are advantages of star topology?The Advantages of Star Topology is that it is a little bit expensive when compared to others.
Note that base on the fact that each device only need one I/O port and may want to be linked with hub with one link, it is therefore easy or less expensive than bus technology. There is also easy fault detection here.
Learn more about star topology rom
https://brainly.com/question/22872621
#SPJ1
Write code to assign x and y coordinates to currCoordinate, and store currCoordinate in criticalPoints. Input first receives an x value, then a y value. Input example: 12 32 88 2 -1 -1
Using the knowledge of the python computational language, it will be possible to write a coordinate code, like this:
Writing coordinate code in python:def __init__(self, x, y):
self.x = x
self.y = y
def getX(self):
directly
return self.x
def getY(self):
return self.y
def __str__(self):
return '<' + str(self.getX()) + ',' + str(self.getY()) + '>'
class Coordinate(object):
def __init__(self,x,y):
self.x = x
self.y = y
def getX(self):
return self.x
def getY(self):
return self.y
def __str__(self):
return '<' + str(self.getX()) + ',' + str(self.getY()) + '>'
def __eq__(self, other):
if other.x == self.x and other.y == self.y:
return True
else:
return False
def __repr__(self):
return "Coordinate"+ str((self.x, self.y))
See more about python at brainly.com/question/13437928
#SPJ1
A series of drawn pictures (like a comic) of key visual shots of planned production for video is a/an
A encoding
B.call sheet
C.shot list
D. storyboard o IN
Answer:
The correct answer is D) Storyboard
Explanation:
A storyboard is used during the initial planning stage of filmmaking. You draw pictures to demonstrate the general idea of what shots you want to get before actually going out and filming on a set/studio.
A network packet contains two kinds of information. what are they?
geolocation data and user data
control information and user password
control information and user data
geolocation data and user password
Answer:
C) control information and user data
Hope this helped you, and have a good day!
how has technology impacted the individual and the society
Answer:It affects the life of people and changes the way of their learning, thinking, and communication.
Explanation: mark me as the brainly-est to get the best answers
The following Python statement instructs the program to open a file for input.
inFile = open("grocerydataFinalPY.txt", "w")
A. True
B. False
The python statement that instructs the program to open a file for input is a false statement.
How to open file for input ?
The code above is a python code.
The python statement to instructs a program to open a file for input can be represented as follows:
The Python function open() is a built-in function that opens a file and allows your program to use it and work with it.
The open functions accepts a file(relative path to the file) and a string or character that indicates what you want to do with the file.
inFile = open("grocerydataFinalPY.txt", "w") is use to open a file and write on it.
learn more on python here: https://brainly.com/question/13696872
#SPJ1
The box on a slide that has a dotted or hatch-marked border and that contains the insertion point is a text ____.
it is known as a text placeholder
Assume that it takes 0. 01 milliseconds to access a disk block if the block is in the disk cache (i. E, in main memory) and 20 milliseconds if the block is on the disk. Assume that 3 level(s) of indexing is used and the cache hit ratio is 88%. What is the effective (average) disk access time in milliseconds (rounded to zero decimal places)
GATE | GATE-CS-2015 (Set 1) | Question 65. Consider a disk pack with a seek time of 4 milliseconds and rotational speed of 10000 rotations per minute (RPM). It has 600 sectors
When you program in Scratch, what are two things you can do with a sprite?
A. Drag it to the scripts area
B. Add it to another variable
C. Change the costume on it
D. Make it move
SUBM
Explanation:
You can change the costume and drag it to the script area
You can change the costume and drag it to the script area.
What is Script area?Visual programming is used in Scratch to make your own games, tales, and animations. A script is a group of instructions used to program in Scratch. It is a group of interconnected blocks stacked on top of one another.
As users choose to engage with sprites, the blocks of instructions are thoughtfully arranged to carry out a certain purpose. It's a good idea to include script comments that explain what is happening.
A sprite in Scratch is an actor, the main character of the program, or a graphic component that carries out all the tasks specified in the script.
Therefore, You can change the costume and drag it to the script area.
To learn more about Script area, refer to the link:
https://brainly.com/question/6975460
#SPJ7
The following assignment statement instructs the computer to initialize a variable with int data type.
howMany = 0
A. True
B. False
The given assignment statement instructs the computer to initialize a variable with int data type: True.
The kinds of data type.In Computer programming, there are five (5) common data types and these include:
Integer type (int)Floating point type (float)Boolean (bool)String (str)Integer type (int)Basically, an integer type (int) is used for storing whole numbers such as 0, 1, 2, 3, 4, etc. Thus, the assignment statement "howMany = 0" would instruct the computer to initialize a variable with int data type.
Read more on a data types here: brainly.com/question/25619349
#SPJ1
need asap!!
one-paragraph response to "The Story of the Animated Drawing" by Walt Disney
class is Principals of AAVTC
"The Story of the Animated Drawing" is a television episode from Walt Disney's Disneyland that was aired on November 30, 1955.
What is "The Story of the Animated Drawing" by Walt Disney?"The Story of the Animated Drawing" is a television episode from Walt Disney's Disneyland that was aired on November 30, 1955.
Walt Disney recounts the evolution of animation through the ages, beginning with prehistoric times and progressing through some early mechanical animation devices in the nineteenth century.
To know more about paragraphs follow
https://brainly.com/question/11600913
#SPJ1
Explain why it is wise to memorize your social security number.
It is memorize your social security number as one can be able to recur it for any given purpose if one did not carry it along with them.
Why memorize your social security number?The reason why it is important to memorize your social security number is that by doing so, one do not need to carry or use their card again.
Conclusively, Note that It is not the card but the number that is very important and as such it is vital that one knows their Social Security number that is the nine digits number off heart and in cases of emergencies when one forgot to carry their cards.
Learn more about social security number from
https://brainly.com/question/5213237
#SPJ4
This is an example of what type of formula?
=(D1-D17)
Question 3 options:
ADDITION
SUBTRACTION
RANGE
AVERAGE
Answer:
Subtraction
Explanation:
That is subtracting the values of two cells.
You know because of the "-" sign
What is output?
x = 2
y = 3
print (x * y + 2)
4
2
8
10
Answer:
8
Explanation:
(2*3+2)=8
Hope this helped, and have a good day!
6.1.4 Guess a Number 2.0
There are different ways of coding, An example of 6.1.4 Guess a Number 2.0 is given in the space below
What is the 6.1.4 Guess a Number 2.0 about?speed(0)
pensize(10)
def green_check():
penup()
setposition(0,0)
color("green")
backward(25)
right(45)
pendown()
forward(35)
left(90)
forward(75)
def higher():
penup()
setposition(0,0)
pendown()
left(90)
forward(100)
right(145)
forward(50)
right(180)
forward(50)
left(105)
forward(50)
def lower():
penup()
setposition(0,0)
pendown()
right(90)
forward(100)
left(145)
forward(50)
left(180)
forward(50)
right(105)
forward(50)
user_number = int(input("Guess a number 1 through 10? "))
secret_number = 6
if user_number < secret_number:
higher()
user_number = int(input("Guess a number 1 through 10? "))
elif user_number == secret_number:
green_check()
else:
lower()
user_number = int(input("Guess a number 1 through 10? "))
Learn more about code from
https://brainly.com/question/4514135
#SPJ1
Why is it necessary that Computer 1 run Windows Professional or a higher edition to implement the security used in this lab
Computer 1 includes a number of defensive measures, including identity protection, threat resistance, and information protection, to ensure that if one fails, another is ready to counter an damage.
What is defensive measures?The word "defensive measure" refers to any action, device, procedure, signature, technique, or other measure used to identify, prevent, or neutralize a known threat to an information system or information stored on, processed by, or traversing an information system.
Thus, Computer 1 includes a number of defensive measures.
For more details about defensive measures, click here
https://brainly.com/question/5961251
#SPJ1
You are an administrator of a growing network. You notice the network you have created is broadcasting, but you cannot ping systems on different segments of your network. What device should you use to fix this issue
Answer:
Network bridge
Explanation:
You are an administrator of a growing network. You notice the network you have created is broadcasting but you cannot ping systems on different segments of your network. What device should you use to fix this issue?
✓ Network bridge
Data files whose records are always retrieved in sequence from the beginning of the file are known as
Answer:
sequential files
Explanation:
Q:
Data files whose records are always retrieved in sequence from the beginning of the file are
A:
sequential files
You come across a useful and free reporting utility which can be easily downloaded from the internet to create appealing reports for your project. Will you go ahead and install it?
When I come across a free reporting utility which can be easily downloaded from the internet I will not download and install it in my computer system.
What is a reporting utility?A reporting utility is an application that can be used to create reports for projects which can save time for a company.
The disadvantage of downloading a free reporting utility is that it can be a malware in a disguise which when downloaded can cause harm to the data of your company.
Therefore, When I come across a free reporting utility which can be easily downloaded from the internet I will not download and install it in my computer system.
Learn more about malware here:
https://brainly.com/question/23294592
#SPJ1
____ loses data when it stops receiving electrical power.
ANSWER OPTIONS:
A graphics processing unit (GPU)
A central processing unit (CPU)
Random-access memory (RAM)
Read-only memory (ROM)
Answer:
gpu
Explanation:
the answer is gpu a graphics processing unit
What is the point of comments in code? Discuss at least two possible uses of code, including specific examples of what a comment might “look like.”
Answer:
Better collabaration and helping find bugs.
Explanation:
When working with a group of people, comments help the other person understand what you are doing.
Ex. //cat sprite
Also, it helps find bugs. For example, if the cat sprite is not working that means you know it has something to do with that peice of code.
Is designed to access a computer or operating system without the knowledge or permission of the user.
Answer:
Spyware
Explanation:
Spyware is a type of program that is installed with or without your permission on your personal computers to collect information about users, their computer or browsing habits tracks each and everything that you do without your knowledge and send it to remote user.
The do/while loop is generally used when the program loop should run at least once before testing for the stopping condition true false
Answer:
In the do-while loop, the body of a loop is always executed at least once. After the body is executed, then it checks the condition.
Explanation:
If the condition is true, then it will again execute the body of a loop otherwise control is transferred out of the loop.
PLS HURRY 43 POINTS
Digital censorship uses automated, intelligent systems with big data storage to _____. Select 3 options.
surveil people’s digital behavior
promote access to information
manage the internet
limit access to digital information
provide efficient internet searches
Answer:
surveil people’s digital behavior
promote access to information
provide efficient internet searches
Explanation:
i just know things
(4, a) and (2, 5) are two points from a direct variation. What is a? Use the step-by-step process you just learned to solve this problem. Step 1: Set up the correct type of variation equation. y =
The value of a for point (4,a) in the direct variation is 10.
What is a direct variation?
The direct variation in mathematics is given as the equation relationship between the two numbers, where one is a constant multiple.
In the given problem, the variation equation is given as:
[tex]y=kx[/tex]
Where k is a constant.
The value of k can be derived from point (2,5):
[tex]5=k2\\\\k=\dfrac{5}{2}\\\\ k=2.5[/tex]
Substituting the values of k for the point (4,a):
[tex]a=2.5\;\times\;4\\a=10[/tex]
The value of a for point (4,a) in the direct variation is 10.
Learn more about direct variation, here:
https://brainly.com/question/14254277
#SPJ1