Reference no: EM133996839 , Length: Word Count:1000
Advanced Programming
Assessment Title: Coding Task
Your Task
In this assessment, you will individually create Python code to showcase your proficiency in advanced Python concepts, including built-in functions, data types, functional programming, and network programming.
Assessment Description
In this Python coding assessment, you will have the opportunity to test your knowledge across various domains of Python programming, including built-in functions, data types, functional programming, and network programming. This assessment will also challenge you to integrate these concepts into a single, well-structured Python program and in-line documenting.
Scenario:
Imagine you are asked to create a Python program that simulates a real-time data processing and analysis application. Your program should organise multiple incoming data streams, manipulate data structures, employ built-in functions and functional programming, and interact with a remote server using network programming. The program's primary objective is to collect data from various streams, process it, and make real-time decisions based on the incoming data. No AI shortcuts — Only authentic assignment help from real expert tutors.
Complete all the subtasks by following the instructions given below.
Task 1: Organise the Data
Write a Python program that effectively processes multiple incoming data streams. Utilise custom data type and Python tensors to organise the data.
Example data streams and usage of custom data type:
The above code snippet displays five distinct data streams: ISBN, title, author, genre, and publication year, each representing specific book details. One potential way to organise this data involves creating a custom data type in Python using a class (i.e., Book class) to encapsulate book details within a library catalog representation. Similarly, you must use Python tensors to organise another suitable data stream.
Task 2: Use of Built-in Functions and Functional Programming
Use the data streams and the organised data to establish a coherent sequence of operations, showcasing the usages of the following built-in functions and functional programming concepts.
Built-in Functions: (1) All and Any and (2) mathematical functions - at least one of each Functional Programming Concepts: (1) Pure function and (2) lambda function
Task 3: Implement socket Module
Imagine that these data streams are located on the server and the task is to transmit one of these streams to a client. Implement both a client and a server using the socket module in Python to facilitate the transfer of data.
Task 4: In-line documenting
Provide clear and concise explanations within your code to explain the functionality of each segment.
Assessment Instructions
The instructions for this assessment:
Read the case study provided and interpret the program specifications.
Develop a Python 3 program that meets the specifications outlined in the case study.
Submit your Python 3 program code to the designated submission platform by the due date.
You must submit your Python 3 program code in .py format extension. Any other formats will not be accepted.