cover photo

COURSEWORK

Jack's CL-CY-001 course work. Lv 2

Jack And jillAUTHORACTIVE

TASK REPORT BY SAJID

10 / 9 / 2023


TASK1

JAVASCRIPT :

After learning the basics of javascript..the given task is to create a small webpage which takes names and marks of students and displays the percentage , rank , and class average ; using queryselecto vent listener and other tags taking input and calculating the percentage and using sort function to sort the students according to their percentages and give ranks and also find the class average . link for code and execution: https://github.com/MPSAJID/Marveltasks/tree/main/TASK1


TASK 2

ASYNC JS :

Learning about asynchronous javascript and implementing a small callback function which means a function which is passed as an argument to another function , when the outer function is called the inner function is also called . for large programs due to complex nesting as arguments the program becomes difficult to debug and creates a situation called callback hell. here is a program which displays recipe using callback function. link for code and execution : https://github.com/MPSAJID/Marveltasks/tree/main/TASK2


TASK 3

PROMISES :

As the callback programs create callback hell ,PROMISES solve this issue.promise is an object returned by async function which represents the state of the operation ,also promises are easier to nest and easier to identify the errors in the code. the same recipe program is implemented using promises. link for code and execution : https://github.com/MPSAJID/Marveltasks/tree/main/TASK3


TASK 4

Get familiar with the command line

In this task we get to know the command line and do the following tasks:

1)create a folder named Test
$mkdir test
2)cd into that folder
$cd test
3)create a blank file without using any text editor
$touch blank.txt
4)list the files in that folder
$ls
5)create 2600 folders in this folder where each folder is named like . For example, M90 or B56.
$mkdir S{1..2600}
6)concatenate two text files containing any random text and display them on the terminal.
$cat one.txt two.txt > three.txt
$cat three.txt

github link :https://github.com/MPSAJID/Marveltasks/tree/main/TASK4


TASK 5

VI :

vi is a text editor which is included in all linux machines even the minimal ones. unlike easy to use nano , vi is a modal text editor which has a command and insert mode. to open a file in vi editor we just type teh command in the terminal : $ vi \filename". when we open vi the editor will be in command mode. some of the commands :

pressing 'x' key to delete the letter under the cursor. typing dd deletes the entire line. to save the file enter escape key to get into command mode then type :wq to save and exit.

github link : https://github.com/MPSAJID/Marveltasks/tree/main/TASK5


TASK 6

LINUX CONTINUED :

In this task we learn about regular expressions(regex) and grep. then we take the login info with the command last an dwith the tag -s which means 'since'. then this information is piped (|) and using grep we find the logins of the month of august and the output is saved in a file called loginfo.txt . then it is moved to a folder named logs and then it is zipped using the tar cvzf command ,which combines tar and gzip. github link : https://github.com/MPSAJID/Marveltasks/tree/main/TASK6


TASK 7

INTRODUCTION TO CLOUD COMPUTING:

In this task we understand the basics of cloud computing . various types of cloud services including Saa aa aas etc. various cloud service providers such as AW zur CPetc. public , private and hybrid models of cloud service. comparision of various cloud service providers. in the HANDS ON task we learn how to share files between connected computers on the same network.


TASK 8

INTRODUCTION TO CYBERSECURITY:

This section provides brief introduction on CYBERSECURIT ndifferent types of hackers(blackha reyha hiteha tc). various types of attacks including but not limited to malwar nphishing, sql injection ,etc. also to introduce cryptography and convert the text Cybersecurity in Marvel into
caesar cipher : Jfilyzljbypaf pu Thycls
morse code : -.-. -.-- -... . .-. ... . -.-. ..- .-. .. - -.-- / .. -. / -- .- .-. ...- . .-..
railfence cipher : Cbreuiyi avlyescrt nMre
polybius cipher : 135412154243151345422444542433321142511531
playfair cipher : MCCHIYHDRYGSSRONVALOEV

"

UVCE,
K. R Circle,
Bengaluru 01