From f6cde2bc820780b8e84a389cd66d4f2e7d259d8c Mon Sep 17 00:00:00 2001 From: Andy <159312225+Mw4mba@users.noreply.github.com> Date: Sat, 3 Aug 2024 22:08:00 +0200 Subject: [PATCH] Add files via upload Signed-off-by: Andy <159312225+Mw4mba@users.noreply.github.com> --- python/activities.html | 25 ++++++++++++++++++++++++ python/assessment.html | 33 +++++++++++++++++++++++++++++++ python/capstone.md | 33 +++++++++++++++++++++++++++++++ python/enrollment.html | 34 ++++++++++++++++++++++++++++++++ python/exercises-data.js | 42 ++++++++++++++++++++++++++++++++++++++++ python/feedback.html | 31 +++++++++++++++++++++++++++++ python/script.js | 23 ++++++++++++++++++++++ python/styles.css | 42 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 263 insertions(+) create mode 100644 python/activities.html create mode 100644 python/assessment.html create mode 100644 python/capstone.md create mode 100644 python/enrollment.html create mode 100644 python/exercises-data.js create mode 100644 python/feedback.html create mode 100644 python/script.js create mode 100644 python/styles.css diff --git a/python/activities.html b/python/activities.html new file mode 100644 index 0000000..93707f0 --- /dev/null +++ b/python/activities.html @@ -0,0 +1,25 @@ + + + + + +Blockchain Basics by Oliver Bodemer + + + +
+

Blockchain Basics by Oliver Bodemer

+

Welcome to the "Blockchain Basics" course for graduates at Pero's Academy. This course is designed to be self-paced a +web-driven, allowing you to access the content from the webpage and complete it within 1-5 days.

+
+ + +
+ + + + \ No newline at end of file diff --git a/python/assessment.html b/python/assessment.html new file mode 100644 index 0000000..935244b --- /dev/null +++ b/python/assessment.html @@ -0,0 +1,33 @@ + + + + + + Assessment Form + + + +
+

Assessment Form

+
+ +

+ +

+ +

+
+

+ +

+ +
+
+ + + \ No newline at end of file diff --git a/python/capstone.md b/python/capstone.md new file mode 100644 index 0000000..93f44d7 --- /dev/null +++ b/python/capstone.md @@ -0,0 +1,33 @@ +# Capstone Project: Blockchain Implementation +## Problem Identification and Justification for Using Blockchain +### Problem Identification +Describe the real-world problem that you have identified and +justify why it is a significathat issue that needs addressing. +### Justification for Using Blockchain +Explain why blockchain technology is the best solution for this problem. +Discuss the benefits that blockchain can bring to solving this problem, such as increased transparency, security, and efficiency. +## Design of the Blockchain Architecture +### Blockchain Type +Specify the type of blockchain you will use (public, private, orconsortium)and justify your choice. +### Network Nodes +Describe the network nodes that will be part of your blockchain architecture. +Explain the role of each node and how they will interact with each other. +### Data Structure +Explain the data structure that will be used in your blockchain. +Describe how data will be stored and accessed within the blockchain. +## Consensus Mechanism Selection and Justification +### Consensus Mechanisms +Discuss the different consensus mechanisms available (Proof of Work, Proof of Stake, etc.). +### Selected Consensus Mechanism +Identify the consensus mechanism you have selected for your blockchain solution and justify your choice. Discuss how +this consensus mechanism will ensure the security and integrity of the blockchain. +## Implementation Strategy +### Development Plan +Outline your development plan for implementing the blockchain solution. Include key milestones, timelines, and resources required. +### Testing and Deployment +Describe your strategy for testing the blockchain solution to ensure it meets the requirements. Explain how you will deploy the solution and monitor its performance. +## Potential Challenges and Solutions +### Challenges +Identify potential challenges you may face during implementation of the blockchain solution. +### Solutions +Propose solutions to address these challenges. Discuss how you will mitigate risks and ensure the successful implementation of the blockchain solution. \ No newline at end of file diff --git a/python/enrollment.html b/python/enrollment.html new file mode 100644 index 0000000..551301f --- /dev/null +++ b/python/enrollment.html @@ -0,0 +1,34 @@ + + + + + +Enrollment Form + + + +
+

Enrollment Form

+
+ +

+ +
+
+ + +

+ +

+ +
+
+ + + \ No newline at end of file diff --git a/python/exercises-data.js b/python/exercises-data.js new file mode 100644 index 0000000..3a9d4dd --- /dev/null +++ b/python/exercises-data.js @@ -0,0 +1,42 @@ +const exercises = [ + { + title: "Exercise 1: Introduction to Python", + content: "Read the introductory materials on blockchain. Answer the following questions:", + questions: [ + "What is program?", + "Why would you program?" + ] + }, + { + title: "Exercise 2: Capabilies of python", + content: "Research Python libraries from the python libraries folder and choose one and explain its importance and applicability." + }, + { + title: "Exercise 3: Python programs in the real world", + content: "Amongst the list choose a type of program/software you would like to create. Highlight its strength and weaknesses and where it is applicable" + }, + { + title: "Exercise 4: Python programs in the real world", + content: "What type of program would you create to simplify your experience and how would you go about it" + }, + { + title: "Exercise 6: Hardware", + content: "Read chapter three and attempt to apply the concepts discussed there to more real life situations.", + questions: [ + "What is a programs relation to hardware?", + "What aspects of hardware should you take into consideration when creating a program?", + "What are some problems you would face thanks to inadequate hardware?", + "Keeping your choice from the previous excercise in mind what would the hardware requirements for your software be?" + ] + }, + { + title: "Exercise 7:Python as a language", + content: "Reflect on your understanding of python and its nature as a language", + questions: [ + "Discuss why you would use an interpreted language?", + "What is your understanding of dynamic typing?", + "What should one be aware of when using dynamic typing?", + "How does python consider dynamic typing?" + ] + } +]; \ No newline at end of file diff --git a/python/feedback.html b/python/feedback.html new file mode 100644 index 0000000..9642766 --- /dev/null +++ b/python/feedback.html @@ -0,0 +1,31 @@ + + + + + + Feedback Form + + + +
+

Feedback Form

+
+ +

+
+

+
+

+
+

+ +
+
+ + + \ No newline at end of file diff --git a/python/script.js b/python/script.js new file mode 100644 index 0000000..4e94d21 --- /dev/null +++ b/python/script.js @@ -0,0 +1,23 @@ +let currentExercise = 0; + +document.getElementById('next-button').addEventListener('click', + function () { + if (currentExercise < exercises.length) { + const exercise = exercises[currentExercise]; + document.getElementById('exercise-content').innerHTML = + `

${exercise.title}

${exercise.content}

`; + if (exercise.questions) { + exercise.questions.forEach(question => { + document.getElementById('exercise-content').innerHTML += `
Question: ${question}
`; + }); + } + currentExercise++; + } else { + document.getElementById('exercise-content').innerHTML = + '

All exercises completed!

'; + this.style.display = 'none'; + } + }); +window.onload = () => { + document.getElementById('next-button').click(); //Automatic +}; \ No newline at end of file diff --git a/python/styles.css b/python/styles.css new file mode 100644 index 0000000..ac2be05 --- /dev/null +++ b/python/styles.css @@ -0,0 +1,42 @@ +body{ + font-family: 'Arial', sans-serif; + margin: 0; + padding: 20px; + background-color: #f4f4f4; + color: #333; +} + +.container{ + max-width: 800px; + margin: auto; + background: white; + padding: 20px; + box-shadow: 0 2px 4px rgba(0,0,0,0.1); +} + +button{ + padding: 10px; + margin-top: 20px; + background-color: #007BFF; + color: white; + border: none; + cursor: pointer; + font-size: 16px; +} + +button:hover{ + background-color: #0056b3; +} + +.navigation{ + margin-top: 20px; +} + +.navigation a { + color: #007BFF; + text-decoration: none; + margin: 0 10px; +} +.navigation a:hover{ + text-decoration: underline; +} \ No newline at end of file