World's most popular travel blog for travel bloggers.

https://drive.google.com/file/d/0B3CkQrAFbp82TERsbWZsVkQycGs/view?usp=drivesdk

copy the above link and open in new tab

https://drive.google.com/file/d/0B3CkQrAFbp82Z0F6dTlQUDVtWTA/view?usp=drivesdk

copy the above link and open in new tab

https://drive.google.com/file/d/0B3CkQrAFbp82TXhocjUtc2o1R1k/view?usp=drivesdk

copy the above link and open in new tab

#!/bin/bash
# isuserloggedin.sh
# Usage: isuserloggedin.sh username
# Shell script which checks after every one minute whether a user has logged in
# or not
# You can also run script in background using & then foreground it to view result

if [ $# -ne 1 ]
then
   echo "You supplied wrong arguments"
   echo "usage : `basename $0` username"
exit 1
fi

isuserexist()
{
grep -w "$1" /etc/passwd > /dev/null

if [ $? -eq 1 ]
then
   echo "$1 is not a valid user"
exit 1
fi
}

isuserexist $1
time=0
while true
do
#  you can replace following two statements with
#   if `who|grep $1 > /dev/null`
who|grep $1 > /dev/null
if [ $? -eq 0 ]
then
  echo "User $1 is logged in "
  if [ $time -gt 60 ]
  then
     hours=$((time/60))
     minutes=$((time%60))
     echo "He is logged in $hours hour(s) $minutes minute(s) late"
  else
     echo "He is logged in $time minute(s) late"
  fi
exit 0

else
let time++

# You can use following formats also
#   time=`expr $time + 1 `
#  time=$((time+1))

sleep 60
fi
done

Output:
[root@localhost shell]# sh isuserloggedin.sh
you have suplied wrong arguments
usage : isuserloggedin.sh username
[root@localhost shell]# sh isuserloggedin.sh root
User root is logged in
He is logged in 0 minute(s) late
[root@localhost shell]# sh isuserloggedin.sh roott
roott is not a valid user
Run script in background
[root@localhost shell]# sh isuserloggedin.sh venu &
[1] 15917
[root@localhost shell]# User venu is logged in
He is logged in 3 minute(s) late

[1]+ Done sh isuserloggedin.sh venu
Run script in background then foreground it
[root@localhost shell]# sh isuserloggedin.sh venu &
[1] 16223
[root@localhost shell]# fg
sh isuserloggedin.sh venu
User venu is logged in
He is logged in 1 minute(s) late
[root@localhost shell]#


IMPORTANT: SOME DATES ARE CHANGED REFER NEW EXAM SCHEMES FROM IGNOU WEBSITE

IGNOU Examination Date Sheet

MCA IGNOU

M- Morning (10AM to 1PM)
E- Evening (2PM to 5PM)

First Semester

CourseCode    Course NameDate
 MCS-011 Problem Solving and Programming 6.6.17E
 MCS-012 Computer Organisation and Assembly Language Programming 9.6.17M
 MCS-013 Discrete Mathematics21.6.17E
 MCS-014 Systems Analysis and Design 13.6.17E
 MCS-015 Communication Skills 24.6.17E
 MCSL-016 Internet Concepts and Web design (Lab Course) -
 MCSL-017 Lab (C and Assembly Language Programming) (Lab Course) -

Second Semester

CourseCode    Course NameDate
 MCS-021 Data and File structures 7.6.17E
 MCS-022 Operating System concepts 12.6.17E
 MCS-023 Introduction to Database Management Systems 14.6.17E
 MCS-024 Object Oriented Technology and Java Programming 16.6.17E
 MCSL-025 Lab (Data Structures using C, WINDOWS 2000, LINUX / UNIX, Java and MS? ACCESS, My SQL) -

Third Semester

CourseCode    Course NameDate
 MCS-031 Design and Analysis of Algorithms 2.6.17M
 MCS-032 Object Oriented Analysis and Design 5.6.17E
 MCS-033 Advanced Discrete Mathematics 8.6.17M
 MCS-034 Software Engineering 17.6.17E
 MCS-035 Accountancy and Financial Management 19.6.17E
 MCSL-036 Laboratory Course (For Object Oriented Analysis and Design, Software Engineering and Accountancy and Financial Management) -

Fourth Semester

CourseCode    Course NameDate
 MCS-041 Operating Systems 20.6.17E
 MCS-042 Data Communication and Networks 10.6.17E
 MCS-043 Advanced Database Management Systems 1.6.17M
 MCS-044 Mini Project -
 MCSL-045 UNIX and DBMS LAB -

Fifth Semester

CourseCode    Course NameDate
 MCS-051 Advanced Internet Technologies 6.6.17M
 MCS-053
MCS-052
 Computer Graphics and Multimedia
------------------------------------------------
 10.6.17M
9.6.17E

 MCSL-054 Laboratory Course (Advanced Internet Technologies & Computer Graphics and Multimedia) -
 MCSE-003 Artificial Intelligence and Knowledge Management 13.6.17M
 MCSE-004 Numerical and Statistical Computing 15.6.17M
 MCSE-011 Parallel Computing 22.6.17M

Sixth Semester

CourseCode    Course NameDate
 MCSP-060 Project -

(ignou exam date sheet 2017) (ignou date sheet june 2017) (ignou term end exam)

Key Differences Between Strong Entity and Weak Entity

  1. The basic difference between strong entity and a weak entity is that the strong entity has a primary key whereas, a weak entity has the partial key which acts as a discriminator between the entities of a weak entity set.
  2. A weak entity always depends on the strong entity for its existence whereas, a strong entity is independent of any other entity’s existence.
  3. A strong entity is denoted with a single rectangle and a weak entity is denoted with a double rectangle.
  4. The relationship between two strong entities is denoted with single diamond whereas, a relationship between a weak and a strong entity is denoted with double diamond called Identifying Relationship.
  5. The strong entity may or may not show the total participation in its relations, but the weak entity always shows total participation in the identifying relationship which is denoted by the double line.
Design ER n Table accordingly

MVD