Tuesday, February 16, 2010

So Sad From Couple Of Days

2 comments

From the past few days I have been feeling little sick of manything. ....Feeling like my studies is going waste....Heared from my colleagues that now-a-days even a highly talented B.Tech passed students is paid a mere 15K in MNCs...Is this going to be enough for your food, clothing, and for your parents???? This makes me feel that all my 15 academic years have gone waste....Even though I have knowledge about business, I dont want to get into it... my interest is computer....and that's what I want to work on....
My mind says to enter into business while my hearts says to go with computers.....Moreover I am disappointed with the way my project is going on.....got sick of the exceptions I get when I execute the code.....
And to add to the worries...SHE(forgot her name) started becoming my nightmare again.....
Hope get rid of all these things soon....

Friday, February 12, 2010

Started Off ma Project!

4 comments
From many days I have been either worried about the idea or implmentation of the mini-project, we have to do this sem. Fortunately Gautam, ma project partner got a very good idea day before yesterday. A typical engg student is always worried about his attendance and don't really care what is posted on the notice board, let it be important also. Keeping this in view, Gautam thought of to develop an application, which would send sms to students regarding their marks and the college notifications. We have v.good idea now, but are little worried about the implementation. Got v.good resources for our project( our seniors are our best resource..lol). We informed HOD about this project, and we were well appreciated. We were also permitted to have 3-4 member group. As of now me, Gautam are the members. The remaining two seats are vacant. Shiva, vyas and Ajay are bit doubtful our partnering.
Hope everything goes well and we have a successful project

Tuesday, February 9, 2010

My OS Assignment No.1

0 comments

In a multi tasking computer system, processes may occupy a variety of states. These distinct states may not actually be recognized as such by the operating system kernel however they are a useful abstraction for the understanding of processes.
Following fig describes the life cycle of the process state in typical computer.

Created

(Also called New) When a process is first created, it occupies the "created" or "new" state. In this state, the process awaits admission to the "ready" state


Ready or Running

(Also called waiting or runnable) A "ready" or "waiting" process has been loaded into main memory and is awaiting execution on a CPU (to be context switched onto the CPU by the dispatcher, or short-term scheduler). There may be many "ready" processes at any one point of the systems execution - for example, in a one processor system, only one process can be executing at any one time, and all other "concurrently executing" processes will be waiting for execution.

Blocked

A process that is waiting for some event (such as I/O operation completion or a signal).

Terminated

A process may be terminated, either from the "running" state by completing its execution or by explicitly being killed. In either of these cases, the process moves to the "terminated" state.

Process control block

A Process Control Block (PCB, also called Task Controling Block or Task Struct) is a data structure in the OS kernel containing the information needed to manage a particular process. The PCB is "the manifestation of a process in an operating system"

Process control blocks are found in all modern operating
systems. The structure of pcbs will be different on each operating system
though.

The process table. The pcbs may be put into a number of lists at the same time.
The process table describes the system by which the operating system finds a pcb
by its process id.

Linux PCBs:

/* memory management info */
struct mm_struct *mm;
/* open file information */
struct files_struct *files;
/* tss for this task */
struct thread_struct tss;
int pid;
volatile long state; /* -1 unrunnable, 0
runnable, >0 stopped */
long priority;
unsigned short uid,euid,suid,fsuid;
#ifdef __SMP__
int processor;
#endif
struct task_struct *p_opptr, *p_pptr,
*p_cptr, *p_ysptr, *p_osptr;
/* limits */
struct rlimit rlim[RLIM_NLIMITS];
long utime, stime, cutime, cstime,
start_time;

Windows NT PCBs:
Information is scattered in a variety of objects.
Executive Process Block (EPROCESS)
includes
• KPROCESS and PEB
• pid and ppid (the ppid is not visible to Win32)
• file name of program
• window station (terminal?)
• exit status
• create and exit times
• links to next process
• memory quotas
• memory management info
• Ports for exceptions and debugging
• Security information

NT PCB :
Kernel Process Block (KPROCESS) includes
info the kernel needs to schedule threads
• Kernel and user times.
• Pointers to threads.
• Priority information.
• Process state
• Processor affinity

Process Table:

A data structure within the kernel that stores information about all the current processes.


Sunday, February 7, 2010

My First Backlog!!!

5 comments



Yesterday when when I woke up and checked my phone for msgs, I was shocked to know from my friends that I got only one backlog.... I was expecting atleast two.....You might think am happy with this...No I'm not... I might have expected two backlogs but the percentage which I got, was not expected.. I was expecting around 68% with two backlogs, but secured 62 with one backlog(69% without backlog). Here are my marks....
SubName Int Ext Total Result
S0523MICROPROCESSORS AND INTERFACING 87078P
S0524DATA COMMUNICATION SYSTEMS 91120F
S0521SOFTWARE TESTING METHODOLOGIES 123850P
S0522COMPUTER GRAPHICS 124860P
R0524MICROPROCESSORS AND INTERFACING LAB 224163P
R0522DESIGN AND ANALYSIS OF ALGORITHMS 142842P
R0523ADV. ENGLISH COMMUNICATION SKILLS LAB 234669P
R0521FORMAL LANGUAGES AND AUTOMATA THEORY 176784P
As you can see I got 70 out of 80 in the MPI externals....I don't know how its been possible....I was actually expecting backlog in this subject.....My second expectation was correct.... I got my first backlog in the form of DCS....The main reason behind my downfall of percentage was CG and STM...I was expecting very good marks in these two subjects.....Such miracles can happen only in JNTU.... Coming to ma frnds marks.....
Gautam: he told he'll give party in cafe latte if he gets less than 2 backlog...To his surprise he didn't get any..got 64%... Party bakki hai mere dost...
Ankit:Ankit will kill me If i post his marks.....
Ajay: 3 wicket down.... Clean bowled by JNTU
Vyas: As usual topper of our gang....68%
Shivaaaa:Expected much better marks..UNluckily got 60%
Neha:...........................................................................................
Siddiqueee: sorry this guy is the topper of our gang....Mr. CHATUR LINGAM ....with 71%
Veneela: ALL CLear... She scolded me when I first posted this post without specifying her %...Here it is Veneela...65%..lol
Mayuri:errrr........68%
Nirupama: Is Deputy CR now...with 77%....
Shravani: Unhappy with 71% ...bcz she has one backlog..
The topper of our class now is Madhuri ....79%
Many of my class mate fot more than 70% this time..some of them are...SaiRam, Sailesh, Arun...

Many of ma friends weren't happy with the marks...But the future have become the past and nothing can be changed...have to be happy with what we have got.... Thinking this we guys enjoyed party at the end of the day.
So this was my yesterday's story....Wish the coming results brings happiness..