Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

1. Give the output:

a=3

 a=a+1

 if a>5:

 print(a)

 else:

 print(a+5)



Write a program that print the third last digit of the given number. The third last digit is being referred to the digit in the hundreds place in the given number.

For example, if the given number is 3197, the third last digit is 1.

Note 1 - The third last digit should be printed as a positive number. i.e. if the given number is -197, the third last digit is 1.

Note 2 - If the given number is a single-digit or double-digit number, then the third last digit does not exist. In such cases, the program should print -1. i.e. if the given number is 5, the third last digit should be print as

-1.


Draw a realistic but complex office network setup showing its main components and devices (firewall, routers,switches, wireless access points, PC etc). You must consider that these days many companies use cloud services,

rather than buying and maintaining their own HW servers. Implement cloud service in your diagram.

Give a detailed description of the process followed to define this realistic complex network setup.

Give an excellent summary of the network characteristics, types (e.g. LAN, WAN), and purpose (e.g., LAN, WAN, etc.), its purpose (e.g., home network,

SME network with only company devices or both company and BYOD devices, campus network,

hospital network, etc.).


Develop a C++ program to get the temperature and print the following status according to the given temperature by using else if ladder statement.


1. T<=0 "Its very very cold"

2. 0 < T <=10 "Its cold"

3. 10 < T < =20 "Its cool out"

4. 20 < T < =30 "Its warm"

5. T>30 "Its hot"


Create a class Armstrong and include startnumber and endnumber as data member and aslo include member function findArmstrongNumbers() to find all the Armstrong numbers between startnumber and endnumber. If sum of cubes of each digit of the number is equal to the number itself, then the number is called an Armstrong number


Part 2

Provide your own examples of the following using Python lists. Create your own examples. Do not copy them from another source. 

  • Nested lists 
  • The “*” operator 
  • List slices 
  • The “+=” operator 
  • A list filter 
  • A list operation that is legal but does the "wrong" thing, not what the programmer expects 

Provide the Python code and output for your program and all your examples. 



Part 1

Write a Python program that does the following. 

  • Create a string that is a long series of words separated by spaces. The string is your own creative choice. It can be names, favorite foods, animals, anything. Just make it up yourself. Do not copy the string from another source. 
  • Turn the string into a list of words using split
  • Delete three words from the list, but delete each one using a different kind of Python operation. 
  • Sort the list. 
  • Add new words to the list (three or more) using three different kinds of Python operation. 
  • Turn the list of words back into a single string using join
  • Print the string. 

Describe the difference between objects and values using the terms “equivalent” and “identical”. Illustrate the difference using your own examples with Python lists and the “is” operator.  

Describe the relationship between objectsreferences, and aliasing. Again, create your own examples with Python lists.

Finally, create your own example of a function that modifies a list passed in as an argument. Describe what your function does in terms of argumentsparametersobjects, and references

Create your own unique examples for this assignment. Do not copy them from the textbook or any other source.




Cite a situation where you can apply the knowledge of creating crossover cable. In three to five sentences. Thank you so much!


The list of random numbers stored in an integer and float array. Perform search operation to find the search number is present or not from an array using templates concept.

 

* Print - Element Found or Element Not Found


LATEST TUTORIALS
APPROVED BY CLIENTS