CYB130 Object-oriented Scripting Language
Need Help in CYB/130 Python Assignments?
We can help you if you are having difficulty with your CYB130 assignments. Just email your assignments at support@assignmentcache.com.
We provide help for students all over the world.
-
CYB/130 Week 5 Python LAB 6.28: Replacement words
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.28: Replacement words
Write a program that replaces words in a sentence. The input begins with word replacement pairs (original and replacement). The next line of input is the sentence where any word on the original list is replaced.Ex: If the input is:
Learn More
automobile car manufacturer maker children kids
The automobile manufacturer recommends car seats for children if the automobile doesn't already have one.
the output is:
The car maker recommends car seats for kids if the car doesn't already have one.
You can assume the original words are unique. -
CYB/130 Week 5 Python LAB 6.27: Word frequencies
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.27: Word frequencies
Write a program that reads a list of words. Then, the program outputs those words and their frequencies.Ex: If the input is:
Learn More
hey hi Mark hi mark
the output is:
hey 1
hi 2
Mark 1
hi 2
mark 1 -
CYB/130 Week 5 Python LAB 6.26: Elements in a range
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.26: Elements in a range
Write a program that first gets a list of integers from input. That list is followed by two more integers representing lower and upper bounds of a range. Your program should output all integers from the list that are within that range (inclusive of the bounds).Ex: If the input is:
25 51 0 200 33
0 50
the output is:
25 0 33
The bounds are 0-50, so 51 and 200 are out of range and thus not output.For coding simplicity, follow each output integer by a space, even the last one. Do not end with newline.
Learn More -
CYB/130 Week 5 Python LAB 6.25: Filter and sort a list
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.25: Filter and sort a list
Write a program that gets a list of integers from input, and outputs non-negative integers in ascending order (lowest to highest).Ex: If the input is:
Learn More
10 -7 4 39 -6 12 2
the output is:
2 4 10 12 39
For coding simplicity, follow every output value by a space. Do not end with newline. -
CYB/130 Week 5 Python LAB 6.24: Varied amount of input data
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.24: Varied amount of input data
Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max.Ex: If the input is:
Learn More
15 20 0 5
the output is:
10 20 -
CYB/130 Week 5 Python LAB 6.8: Acronyms
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.8: Acronyms
An acronym is a word formed from the initial letters of words in a set phrase. Write a program whose input is a phrase and whose output is an acronym of the input. If a word begins with a lower case letter, don't include that letter in the acronym. Assume there will be at least one upper case letter in the input.Ex: If the input is:
Learn More
Institute of Electrical and Electronics Engineers
the output is:
IEEE -
CYB/130 Week 5 Python LAB 6.7: Palindrome
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.7: Palindrome
A palindrome is a word or a phrase that is the same when read both forward and backward. Examples are: "bob," "sees," or "never odd or even" (ignoring spaces). Write a program whose input is a word or phrase, and that outputs whether the input is a palindrome.Ex: If the input is:
bob
the output is:
bob is a palindromeEx: If the input is:
bobby
the output is:
bobby is not a palindromeHint: Start by removing spaces. Then check if a string is equivalent to it's reverse.
Learn More -
CYB/130 Week 5 Python LAB 6.6: Name format
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.6: Name format
Many documents use a specific format for a person's name. Write a program whose input is:
firstName middleName lastName
and whose output is:
lastName, firstInitial.middleInitial.Ex: If the input is:
Pat Silly Doe
the output is:
Doe, P.S.If the input has the form:
firstName lastName
the output is:
lastName, firstInitial.Ex: If the input is:
Learn More
Julia Clark
the output is:
Clark, J. -
CYB/130 Week 5 Python LAB 6.5: Checker for integer string
Regular Price: $8.00
Special Price $5.00
CYB/130 Week 5 Python LAB 6.5: Checker for integer string
Forms often allow a user to enter an integer. Write a program that takes in a string representing an integer as input, and outputs yes if every character is a digit 0-9.Ex: If the input is:
1995
the output is:
yesEx: If the input is:
42,000
or any string with a non-integer character, the output is:
no6.5.1: LAB: Checker for integer string
Learn More -
CYB/130 Week 4 Python LAB 5.24: Even/odd values in a list
Regular Price: $8.00
Special Price $3.00
CYB/130 Week 4 Python LAB 5.24: Even/odd values in a list
Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input begins with an integer indicating the number of integers that follow.Ex: If the input is:
5
2
4
6
8
10
the output is:
all evenEx: If the input is:
5
1
3
5
7
9
the output is:
all oddEx: If the input is:
5
1
2
3
4
5
the output is:
not even or oddYour program must define and call the following two functions. is_list_even() returns true if all integers in the list are even and false otherwise. is_list_odd() returns true if all integers in the list are odd and false otherwise.
Learn More
def is_list_even(my_list)
def is_list_odd(my_list)