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
Alisiya [41]
3 years ago
5

Will a logic error be found if a program is compiled?

Computers and Technology
1 answer:
natali 33 [55]3 years ago
6 0
No. The computer dose not understand what you are attempting to do, therefore it will not understand how to check for logic errors. The compiler will only check for syntax errors.
You might be interested in
the function must find the substrings of s that start with a vowel and end with a consonant, then print the alphabetically first
PolarNik [594]

According to the parameters given in the questions above, the alphabetically lowest and highest substrings that start with a vowel and end with a Consonant is given below.

<h3>What is the determined substrings described above?</h3>

The determined substring is given by the following:

def findSubstrings(s):

   sub_strings_list=[]    #the required substrings list

   vowels=['a','e','i','o','u']    #vowels list

   for i in range(0,len(s)):    

       for j in range(i+1,len(s)+1):

           sub_string=s[i:j]    #slicing the original string into substring

           #checking whether the substring starts with a vowel and ends with a consonant

           if(sub_string[0] in vowels and sub_string[-1] not in vowels):    

               if(sub_string not in sub_strings_list):    #checking if the substring is already in the list

                   sub_strings_list.append(sub_string)    #if all conditions are satisfied adding the substring to the list

   sub_strings_list.sort()    #sorting the list alphabetically

   print(sub_strings_list[0])    #printing the first substring in the list

   print(sub_strings_list[-1])    #printing the last substring in the list

s=input()

findSubstrings(s)

Learn more about substrings:
brainly.com/question/21306076
#SPJ4

Full Question:

Consider a string, s — An alphabetically-ordered sequence Of Of s would be {"a", "ab•, "abc • , "bcu, If the sequence is reduced to only those substrings that start with a vowel and end with a consonant, the result is Cab", •abc"}. The alphabetically first element in this reduced list is •ab", and the alphabetically last element is "abc'. As a reminder:

Vowels: a, e, i, o, and u.

Consonants: b, c, d, f, g, h, i, k, l, m, n, p, q, r, s, t, v, w, x, y, and z.

For a given string, determine the alphabetically lowest and highest substrings that start with a vowel and end with a Consonant.

7 0
2 years ago
Assume your using a three button mouse to access shortcut menus you would
sergeinik [125]
Normally you would click the right hand/secondary mouse button, but you may configure any of the buttons to work within the Keyboard and Mouse section of the System Preferences, that can lead u to right clicking and it brings up a menu of the things that your possibly able to do .


 hOpe thiss theory hass helped you anyy :)
7 0
4 years ago
17. Ano ang tawag sa pahina ng Excel?
kompoz [17]

D

Explanation:

D.spread sheet

........,,............:-)

5 0
3 years ago
LIST THE BEST 10 CAMERAS FOR FILMING 2022.
arlik [135]

1. Fujifilm X-T4

2. Blackmagic Pocket Cinema Camera 6K

3. Nikon Z6 II

4. Sony a7S III

5. Panasonic Lumix S1H

6. Canon EOS R5

7. Sony Alpha 1

8. Blackmagic URSA Mini Pro 12K

9. Canon C300 Mark III

10. ARRI ALEXA Mini LF

6 0
3 years ago
Write a paper, 2-3 paragraphs that discuss how to defend ideas objectively through effective communication. Include the skills n
mojhsa [17]

Wot in tarnation? -_-

  • how to defend ideas objectively the effective communication
  1. Being clear and concrete so that your point gets across without any ambiguity that might make someone else interpret your idea in the wrong way
  2. Use language that is neutral and does not have any negative or positive connotations that might the listener or reader assume you have a bias
  3. Use evidence and data to back up your claim from reputable sources and not just your own personal opinion

  • Skills to prevent conflicts and promote buy-ins
  1. You need to know how to listen in order to communicate effectively, pay attention to how other people respond to what you say so you can either apologize for your behavior or look out for in the future. Listening also shows that you value the other person's opinion and thus might make them more likely to treat you with the same respect
  2. Encourage other people to buy into your ideas by being confident about them and again using evidence so that people can trust what you're saying has some merit to it.
8 0
3 years ago
Other questions:
  • Marie can now edit her photos, send them in emails, print them on a printer, and use them as wallpaper on her computer. This is
    9·2 answers
  • Which signal types are represented by a continuous wave form?
    11·1 answer
  • Both k-means and k-medoids algorithms can perform effective clustering. (a)Explain the strength and weakness of k-means in compa
    5·1 answer
  • Given the class definition: class CreateDestroy { public: CreateDestroy() { cout &lt;&lt; "constructor called, "; } ~CreateDestr
    6·1 answer
  • Which of these is an example of rebranding ?
    6·2 answers
  • What is NOT a built-in function in python?<br> sqrt()<br> string()<br> fabs()<br> O print()
    12·2 answers
  • ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
    14·1 answer
  • Which is the correct notation to specify the following inheritance?
    8·1 answer
  • Is anyone a robIox moderator?
    13·2 answers
  • 3.4 code practice question 2 edhesive
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!