1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Valentin [98]
3 years ago
5

Which string method counts the number of characters in a string?

Computers and Technology
1 answer:
soldier1979 [14.2K]3 years ago
7 0
1) len() would do the trick, but it's not a method of the String class, it's a function that returns the number of items in a container.
2)<span> A. string_var[:6:2]
3) I'd expect to see the 4th and 5th characters of the string. Strings are zero indexed. None of the choices is correct.
4) </span><span>A. The pop() function</span>
You might be interested in
Which device is used to direct the flow of data on a computer network?
alexgriva [62]

Answer: router

Explanation:

a router directs flow of information

3 0
1 year ago
A collection of computers and other hardware devices that are connected together to share hardware, software, and data, as well
Gnesinka [82]

Answer:

Computer network

Explanation:

A computer network is a collection of computers and other hardware devices (such as servers, mainframes, network devices, peripherals, or other devices) linked together for the main aim of communicating with each other and sharing of resources and these resources been shared ranges from hardware, software, and even data.

8 0
2 years ago
If parties in a contract are not ____, the contract can be canceled.
Anastasy [175]
Agreed to all the terms mentioned in the contract
5 0
3 years ago
Weber believed that there is an inevitable destructive quality to which one of the four types of action?
weqwewe [10]

Answer:

instrumental-rational                                        

Explanation:

  • A sociologist Max Weber interpreted the effects of Industrial Revolution on social actions. He described the four types of social actions:

                     Traditional Social Action

                      Affective/Affectional Social Action

                     Value Rational Social Action

                  Instrumental-Rational  Social Action

  • Instrumental-rational means to pursue most efficient means to achieve a specific goal.
  • The goals of the actions are also used as a way of achieving certain objectives.
  • So instrumental rational means doing anything it takes to reach a certain goal that does not take into account the consequences of the actions taken to achieve this goal.  
  • For example an organization's goal is to make maximize profit so it will use most effective and economical means to achieve this goal. For example by decreasing workers not considering the affects on the workers of this action.
  • Another example is of a person who wants to gain money. He might rob others or sell drugs etc to get money. A student whose goal is to pass an exam in order to get a degree will give his time to study and might cheat in exam to pass the test.
  • In short any actions can be taken which leads to the achievement of  a certain goal.
  • According to Weber instrumental rationality is destructive because rather than pursuing means and making decisions by taking moral values into consideration, the basic focus is to achieve a goal and make decisions using efficiency not considering moral values.
8 0
3 years ago
A web application starts when a client sends _______ to a server?
vovangra [49]
A web application starts when a client sends a request to a server
6 0
3 years ago
Other questions:
  • Why are resources limited? Why can't we get everything all the time?
    12·1 answer
  • Easy question how the internet has impacted y’all life
    13·1 answer
  • What does subscribing to a website’s RSS feed provide to a subscriber?
    10·1 answer
  • What will the following program display?
    15·1 answer
  • Suppose you have one particular application that is trying to send data on the Internet but none of the data is making it to the
    15·2 answers
  • When parking on hills or an unlevel surface, make sure your_____is
    15·2 answers
  • private int product(int n) { if(n &lt;= 1) return 1; else return n * product(n-2); } What is the output when product(6) is calle
    6·1 answer
  • An mp3 takes up about 16 kilobytes of memory per second of music. if you owned a one terabyte hard drive and filled it with only
    15·1 answer
  • How do I start conversations with ppl??? If u answer right I will try send u more points... So please help me
    7·1 answer
  • What is functionality criteria or alternative word
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!