Posts

Showing posts with the label software engineering student

PintOS : Series : Part 2

Image
I hope you have installed PintOS . Now it's time to move forward... In the first assignment we need to check and pass first six test cases of alarm. These are as under: alarm-single alarm-multiple alarm-simultaneous alarm-priority alarm-negative alarm-zero You will find them in " /tests/threads " directory. You need to make changes to " timer_sleep() " function in " timer.c " file under " devices " directory, to pass these tests. But first you should start learning from : here also I have a paper :  here After reading and understanding the reading material, you will be able to start coding! (exceptional cases are always there...) I also need to read it first, so I will let you know more later (after understanding it fully..) So, let's jump right into it (I mean let's start reading!)

Pintos : Series : Part 1 : Installation

Image
PintOS is an Operating system, but this is not a complete OS. There are many kernel level functions implemented but we need to modify it to implement it correctly. So, if you are taking OS course or interested in Operating Systems then you can follow my PintOS Series. As installation of PintOS is the most important and tedious task, so we need to do it first! Actually I have learnt about the installation steps from various sites, I will share their links side by side. What I grasped from there, I will compose it into this post. I know you might be thinking if the installation steps are already available on-line, then why am I writing them for you? The reason for this is that, when I installed PintOS, I found a lot of problems initially but then it worked. So, what I understood from my experience and from the sites, I will share that. I believe that if learning is done through mutual cooperation,  then this will benefit everyone . So, let's learn together.... First Mist...

Form : Coming Fast..

Image
Form is one of the significant method for data collection. If you want to make forms for any society or for some other work, then you are at right place.  In this blog post we will learn to make a simple but useful form.  First of all: Open any text editor like notepad, then save the file as "form.html"..... Now start coding.. Write the below mentioned code into the form.html file using a test editor. Code: (HTML) <!DOCTYPE html> <html> <head> <title> Form </title> <link rel= "stylesheet" href= "style.css" type= "text/css" > </head> <body> <div id= "container" > <h1> Fill In The Form.. </h1> <div id= "formBody" > <form> Name: &nbsp; <input type= "text" placeholder= "enter your name.." ><br><br> Class: &nbsp;&nbsp; <input type= "text" p...

Harry Potter's Resume

Image
"An excellent piece of resume is required, for an excellent Job" ~A wise Person Creating your own resume is a tedious task, you need to find different softwares for this. But Web engineering is here to make your task easier.  Below is the code for "Harry Potter's" resume. You can reuse it by inserting your own profile in it... <!DOCTYPE html> <html> <head><title> The Resume </title></head> <body> <table style= "border: 9px solid black; " > <tr > <td style= "background: black" width= "100px" rowspan= "70" ></td> <td style= "font-size:100px; font-family:Georgia; text-align:center " ><img src= "2001-harry-potter-and-the-sorcerer-s-stone-promotional-shoot-hq-harry-potter-11097228-1600-1960.jpg" border= "5px solid black" > &nbsp; Harry Potter &nbsp; </td> </tr> ...

Linear Algebra : Non-Linear By the Way!

Image
Linear Algebra is one of the most important courses in software engineering. But, sometimes you feel like its not so linear, rather non-linear. So, if your linear algebra is dangling then don't worry because I have something for you. MIT offers open courses, these courses are taught by the most prominent and amazing Teachers. MIT made a series of videos covering Linear Algebra. Respected Professor Gilbert Strang taught this course. You can find it here . Now, you certainly need some book regarding this very subject, my honorable Professor gave some notes to my class, these are below: you can download them: You can also get the following Linear Algebra book: So enjoy, with the  Solution Manual  too :)

Design A simple Web page!

Image
Today, we will learn how to write simple HTML code, and make a webpage with some important tags. We will also add some styling in that without style sheet. so let's begin... <html> <head> <title>webpage</title> </head> <body> <center> <hr> <h1 style = " font-size:50 px"><ins>Books For You...</ins></h1> <hr> <h2 style= "font-size:20px"><ins>For Programmers:</ins></h2> <h3><a href = "https://arisuchan.jp/λ/src/1493491363210.pdf">Think  Like A Programmer</a></h3> <img src = "https://kbimages1-a.akamaihd.net/ac5e4364-30dc-4d33- 8461-f27f8032e59e/353/569/90/False/think-like-a-programmer-4.jpg" alt = "Book Img"> <hr> <h2 style= "font-size:20px"><ins>For Software Developers:</ins><h2> <h3><a href="https://www.amazon.com/S...

3rd Semester : For Software Engineering Students

Image
One of my juniors, who is about to start her 3rd semester, asked me for some course related videos. I sent her an email. I also want to share that with you. You may find it beneficial. so, here you go... PROBABILITY AND STATISTICS: Video Link:   www.youtube.com/watch? v=kT0865hL1dU&index=12&list= PLJ- ma5dJyAqpSrUIGDy8oT39HjUbLoM2t Video Link:  www.youtube.com/watch? v=9FtHB7V14Fo&list= PL5102DFDC6790F3D0 Video Link:  www.youtube.com/watch? v=Edye4T_lSDE&list= PLauXkHsTK5c8FTwwkzQydT7heXIgp QRN8 Video Link:  www.youtube.com/watch? v=CilB_9ZanpA&list= PLC8478000586FA6F9&t=17 DATA STRUCTURE AND ALGORITHMS: Video Link:  www.youtube.com/watch? v=3fwKlU9AwSY&list= PLfVsf4Bjg79Cu5MYkyJ- u4SyQmMhFeC1C&t=2 Website Link:  www.geeksforgeeks.org/ data-structure-gq/linked-list- gq/ Video Link:  www.youtube.com/watch? v=JTttg85xsbo&index=3&list= PL2_ aWCzGMAwLZp6LMUKI3cc7pgGsa...

Turtle : Not Coming Slow

Image
In the above image Mr.Turtle is looking so angry, but don't worry Mr.Turtle, in this blog post we will talk about you, and your family member python ... Python has many family members (libraries) and one of the Graphical User Interface library of python is Turtle Graphics . Have you ever seen Animal Planet and Discovery channels on TV? There discoverers like to discover real pythons and turtles. On the other hand, kids like drawing and coloring them on paper, but programmers are fond of giving commands to computer via python and turtle, and then they make something out of that. Yes, you guessed right! Today we'll have a look at Python Turtle Graphics , so let's begin... Below is a code, which outputs a car and some scenery around it, (Not a real one, just on the screen!) # -*- coding: utf-8 -*- from turtle import * #code for drawing car begins pensize(10) color("red","black") begin_fill() forward(150) print(pos()) sety(100) print...

Math Functions : Beginner's Level

Image
In this blog post, we will see how can we create simple Mathematics functions by using python programming Language, so here we go... #You can add comments in the below code and share it in the comment box :) #comments make the code easy to understand def add(a,b): return(a+b) def sub(a,b): return(a-b) def div(a,b): if a == b: return 1 elif b == 0: return ("Math Error: division by zero") else: return(float(a//b)) def mult(a,b): return(a*b) def power(a,b): c = 1 for p in range(0,b): c *= a return(c) def main(): print("-------------------------------------------") print("The available functions are the following: ") print("1-Addition\n2-Subtraction\n3-Division\n4-Multiplication\n5-Power") counter = 0 while(counter < 20): print("-------------------------------------------") print("") option = input("Enter the number from 1-5 corresponding to the above fu...

Coding : A to Z

Image
Let's learn, how to draw A to Z alphabets using python 3.6: #function for drawing alphabets def alphabet(data): str = "O" dot = " " j = -1 #for drawing A if data == "A": for a in range(4,5): print(str) * a for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*2 + str for a in range(1,3): print(str) + (dot)*2 + str #for drawing B elif data == "B": for a in range(4,5): print(str) * a for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*3 for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*3 #for drawing C elif data == "C": for a in range(4,5): print(str) * a for a in range(1,4): print(str) for a in range(1,2): print(str) + (str)*3 #for drawing D elif data == "D": for a in range(4,5): print(str) * a for a in ra...

Hollow Diamond

Image
Drawing different shapes with the help of coding is quite  enjoyable and interesting. Mostly the first semester students of software engineering encounter with this. so, let us learn, how to draw a hollow diamond using python? First of all declare variables: Diamond consists of two cones , upper cone with pointed top and lower cone with pointed bottom . so let us write the code for the upper cone, but the cone must be hollow: The resultant of this code is as under: Now, write the code for lower hollow cone: The output for this code is: Now, run both the codes simultaneously, and the output is: the reason for this output: This is one of the possibilities of writing code, to get this output. There might be other ways of doing the same task. Keep finding and trying different ways of coding. And do remember: Programming language doesn't matter but logic matters . So, work mainly on logic building .