Python Question

  

PART 1 

For each function, describe what it actually does when called with a string argument. If it does not correctly check for lowercase letters, give an example argument that produces incorrect results, and describe why the result is incorrect.

# 1

def any_lowercase1(s):
     for c in s:
          if c.islower():
               return True
          else:
               return False

# 2

def any_lowercase2(s):
     for c in s:
          if ‘c’.islower():
               return ‘True’
          else:
               return ‘False’

# 3

def any_lowercase3(s):
     for c in s:
          flag = c.islower()
     return flag

# 4

def any_lowercase4(s):
     flag = False
     for c in s:
          flag = flag or c.islower()
     return flag

# 5

def any_lowercase5(s):
     for c in s:
          if not c.islower():
               return False
     return True

PART 2

Give at least three examples that show different features of string slices. Describe the feature illustrated by each example. Invent your own examples. Do not copy them for the textbook or any other source

MSN Support Customer 18O5-892-8O71 Phone Number

  

MSN Support Customer 18O5-892-8O71 Phone Number

MSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone NumberMSN Support Customer 18O5-892-8O71 Phone Number

Course Project Phase 1 (Course: Database Systems)

 

Query # 1Write a SQL statement to produce output as follows: Student’s First and Last Name.

Query # 2Write a SQL statement to produce output as follows: the Major of the STUDENT with no duplications. Do not display student names. 

Query # 3Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 32828. 

Query # 4Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 97912 and have the major of CS. 

Query # 5Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 32826 or 33186. Do not use IN.

 Query # 6Write a SQL statement to produce output as follows: the First and Last Name of students who have the major of Business or Math. Use IN. 

Query # 7Write a SQL statement to produce output as follows: the First and Last Name of students who have the Class greater than 1 and less than 5. Use BETWEEN. 

Query # 8Write a SQL statement to produce output as follows: First and Last Name of students who have the Last name that starts with an M. 

Query # 9Write a SQL statement to produce output as follows: First and Last name of students having an o in the second position in their First Name. 

Query # 10Write a SQL expression to produce output as follows: display the Status for, and the number of occurrences that apply to each status. You must 

Building secure web applications

 

You are the web master of a college website. You share a server with other school departments such as accounting and HR.

Based on this chapter, create at least five security-related rules for staff members who are adding web pages being added to your site. Include a justification and explanation for each rule. Rules should relate to college, staff and student, and system information security.

Security basics

 Using the template write 2 tips you learned from the reading material. Each tip should be 2 -3 sentences in length and should be different from others you’ve previously provided.  Citations and references are not required.  

I wrote the topic for each tip in the word doc. 2-3 sentences for each tip.

due March 4 

Information Infrastructure

Do some Internet research on big data best practices. How are businesses managing their growing volumes of data and using the data that they are amassing for competitive advantage? 

 

Total word count must be 250 to 300 words in your posting. (20 points)

Do not cut and paste, please post original work.

Please provide references for your original postings in APA format.

Modify the Week Two Java application using Java

  

Week 3
 

Modify the Week Two Java™ application using Java™ NetBeans™ IDE to meet these additional and changed business requirements:

The company has recently changed its total annual compensation policy to improve sales.
A salesperson will continue to earn a fixed salary of $50,000. The current sales target for every salesperson is $120,000.
The sales incentive will only start when 80% of the sales target is met. The current commission is 5% of
total sales.
If a salesperson exceeds the sales target, the commission will increase based on an acceleration factor. The acceleration factor is 1.5.
The application should ask the user to enter annual sales, and it should display the total annual compensation.
The application should also display a table of potential total annual compensation that the salesperson could have earned, in $5000 increments above the salesperson’s annual sales, until it reaches 50% above the salesperson’s annual sales.
 

Sample Table: Assuming a total annual sales of $100,000, the table would look like this:
 

Total Sales Total Compensation
 

100,000 >
 

105,000 >
 

110,000 >
 

115,000 >
 

120,000 >
 

125,000 >
 

130,000 >
 

135,000 >
 

140,000 >
 

145,000 >
 

150,000 >
 

The Java™ application should also meet these technical requirements:
The application should have at least one class, in addition to the application’s controlling class.
The source code must demonstrate the use of conditional and looping structures.
There should be proper documentation in the source code.

This discussion forum focuses on traditional database processing models used by developers to create a successful database system. Discuss at least three of the database processing models identifying each of their respective advantages and disadvantages.

This discussion forum focuses on traditional database processing models used by developers to create a successful database system. Discuss at least three of the database processing models identifying each of their respective advantages and disadvantages. 

Should be more than 400 words.