Thursday, July 28, 2011

(28/07/2011) Update

Hello Guys,
          Here i had post the link for VB Basic Controls source code......those who are interested to download please download it.


Your link here:VB Basic Controls

*Note: Those who are all Failed in Advance Java ( mark 15 and below 15) , are supposed to write  the Imposition 2 times ,the Question paper what they attend in the Internal Exam and submit it on coming Friday(29/07/2011).

*Note: Those who are all failed in Middleware Technology (ie; mark 15 and below 15) have to write the imposition of 1 time ,that question paper without any choice and submit it on coming monday(01/08/2011).

*Note: Those who are all failed in Visual Programming  (ie; mark 5 and below 5) have to write the imposition of 1 time ,that question paper without any choice and submit it on coming monday(01/08/2011).  

Wednesday, July 27, 2011

(27/07/2011) Update

All must write your DBMS Observation and come to college.
Tables: Student Mark list and  Employee Pay bill.

All are requested to submit your Visual Programming Observation on Coming Saturday(30/07/2011).

*Note: Those who are all Failed in DBMS ( mark 15 and below 15) , are supposed to write your re-test tomorrow(28/07/2011). 

*Note: Those who are all Failed in Advance Java ( mark 15 and below 15) , are supposed to write  the Imposition 2 times ,the Question paper what they attend in the Internal Exam and submit it on coming Friday(29/07/2011).


*Note: Those who are all failed in Middleware Technology (ie; mark 15 and below 15) have to write the imposition of 1 time ,that question paper without any choice and submit it on coming monday(01/08/2011)

Tuesday, July 26, 2011

Java Assignment

Hello friends ,
              we have to submit assignment for Advance Java tomorrow (27/07/2011)
Topic:

Distributed Computing

Sunday, July 24, 2011

Friday, July 22, 2011

Computer Networks

Hello Guys,

We have to submit the Assignment on the topic
"Telephone System" and all must to be submit it on coming Monday (25 / 07 / 2011).

Assignment sub-topics:
  1. Switching
  2. Local Loops and
  3. Trunk

JOIN Operation

Joins

Tuesday, July 19, 2011

Feedback(20/07/2011)

Hello friends,
     Our Nitheesh Murrugan Sir,is going to leave our College within a week.So,we plan to give some gift to him for our remembrance.So those who are all interested to give money(Rs. 30) ,give the money to our Friend Vicky,within 2 days.Please give your suggestion about gift  tomorrow.


*Note: It is must to post comment after see this thread.

Unit-II

4_PPT_WVP_5

Unit-II

4_PPT_WVP_4

Unit-II

4_PPT_WVP_3

Unit-II

4_PPT_WVP_2

Monday, July 18, 2011

Sunday, July 17, 2011

All the Best

Dear Friends,
I wish u All the very Best to write our First Internal Exam,Try to get good marks without fail in test.

**Note: Our CR Mr.Deepan Kumar ,has the notes for Advance Java given by Vachala Madam.Those who want notes please bring Rs.15 to get yours.

MWT(Unit-I)

MWT-Lecturte-4(C/S one Size Fits All Model)

MWT(Unit-I)

MWT Lecturte-3(RPC)

Friday, July 15, 2011

For (16/07/2011)

All are requested to bring two pass port size photo tomorrow ....without fail

Wednesday, July 13, 2011

For (15/07/2011) Schedule

Hello Guys,
We have morning test in Advance Java ,Topic Multi-Threading


All are suppose to submit your Java note tomorrow before 9.00AM

Tuesday, July 12, 2011

ரிசல்ட் வந்தாச்சு

Hello friends,
our II semester result came........pls check your result in the following site 

MCA University Exam Result(2010-2011)

Congrats to all winners
https://lh3.googleusercontent.com/-0JWdx5lv5XM/TgHyr0dumjI/AAAAAAAAB-k/OLoYh55pFlw/CLAP252520CONGRATS252520clappyingha.gif 
Motivational Quotes  for Failures

"Losers are not always losers,It is a great chance given by God,
To become a Winner"
"Every time you fail, you move one step closer to succeeding."

"I have not failed. I've just found 10,000 ways that won't work." 

"Failure is only the opportunity to begin again more intelligently"

"There is no failure except in no longer trying. " 

"Failure doesn't mean you are a failure...it just means you haven't succeeded yet. " 

"Every failure brings with it the seed of an equivalent success." 

"  Result Announced by  the MAD UNIVERSITY I EVER SEEN "   


Last Quote By -Vasanth.K Hater Of Pondicheery University


"
 

Friday, July 8, 2011

Simple Calculator using control Array


Calculator form Design


Form Description



Source Code:


Option Explicit
Dim Operand1 As Double, Operand2 As Double
Dim Operator As String
Dim ClearDisplay As Boolean

Private Sub ClearBttn_Click()
    Display.Caption = ""
End Sub

Private Sub Digits_Click(Index As Integer)
    If ClearDisplay Then
        Display.Caption = ""
        ClearDisplay = False
    End If
    Display.Caption = Display.Caption + Digits(Index).Caption
End Sub

Private Sub Div_Click()
    Operand1 = Val(Display.Caption)
    Operator = "/"
    Display.Caption = ""
End Sub

Private Sub DotBttn_Click()
    If ClearDisplay Then
        Display.Caption = ""
        ClearDisplay = False
    End If
    If InStr(Display.Caption, ".") Then
        Exit Sub
    Else
        Display.Caption = Display.Caption + "."
    End If
End Sub

Private Sub Equals_Click()
Dim result As Double

On Error GoTo ErrorHandler
    Operand2 = Val(Display.Caption)
    If Operator = "+" Then result = Operand1 + Operand2
    If Operator = "-" Then result = Operand1 - Operand2
    If Operator = "*" Then result = Operand1 * Operand2
    If Operator = "/" And Operand2 <> "0" Then result = Operand1 / Operand2
    Display.Caption = result
    ClearDisplay = True
    Exit Sub
ErrorHandler:
    Dim intMsg As Integer
    intMsg = MsgBox("The operation resulted in the following error" _
    & vbCrLf & Err.Description, vbOKCancel)
   
    Display.Caption = "ERROR " & intMsg
    ClearDisplay = True
End Sub

Private Sub Minus_Click()
    Operand1 = Val(Display.Caption)
    Operator = "-"
    Display.Caption = ""
End Sub

Private Sub Over_Click()
    If Val(Display.Caption) <> 0 Then Display.Caption = 1 / Val(Display.Caption)
End Sub

Private Sub Plus_Click()
    Operand1 = Val(Display.Caption)
    Operator = "+"
    Display.Caption = ""
End Sub

Private Sub PlusMinus_Click()
    Display.Caption = -Val(Display.Caption)
End Sub

Private Sub Times_Click()
    Operand1 = Val(Display.Caption)
    Operator = "*"
    Display.Caption = ""
End Sub

(11/07/2011) Schedule

For Windows and Visual Programming test:

All must read the topic up to what he taught in our class.


For Visual Programming Lab all must complete your Observation.
                     1) Visual Basic Controls,
                     2)Addition of two Numbers and Concatenation  of two Strings

Thursday, July 7, 2011

(08/07/2011) Schedule

Hello guys,
we have test in Middleware Technology.......


Topic:
           1)What is Middleware?
         

         2)Client Server Building blocks

For notes:MWT Lecture-2

Please write the DBMS Observation ,

  • Oracle Functions and data types
For Notes:SQL Functions

SQL Functions

Oracle Built in Functions

There are two types of functions in Oracle.
1) Single Row Functions: Single row or Scalar functions return a value for every row that is processed in a query.
2) Group Functions: These functions group the rows of data based on the values returned by the query. This is discussed in SQL GROUP Functions. The group functions are used to calculate aggregate values like total or average, which return just one total or one average value after processing a group of rows.

There are four types of single row functions. They are:
1) Numeric Functions: These are functions that accept numeric input and return numeric values.
2) Character or Text Functions: These are functions that accept character input and can return both character and number values.
3) Date Functions: These are functions that take values that are of datatype DATE as input and return values of datatype DATE, except for the MONTHS_BETWEEN function, which returns a number.
4) Conversion Functions: These are functions that help us to convert a value in one form to another form. For Example: a null value into an actual value, or a value from one datatype to another datatype like NVL, TO_CHAR, TO_NUMBER, TO_DATE etc.
You can combine more than one function together in an expression. This is known as nesting of functions.

What is a DUAL Table in Oracle?
This is a single row and single column dummy table provided by oracle. This is used to perform mathematical calculations without using a table.

Select * from DUAL
Output:
DUMMY
-------
X
Select 777 * 888 from Dual
Output:
777 * 888
---------
689976


1) Numeric Functions:

Numeric functions are used to perform operations on numbers. They accept numeric values as input and return numeric values as output. Few of the Numeric functions are:
Function Name Return Value
ABS (x) Absolute value of the number 'x'
CEIL (x) Integer value that is Greater than or equal to the number 'x'
FLOOR (x) Integer value that is Less than or equal to the number 'x'
TRUNC (x, y) Truncates value of number 'x' up to 'y' decimal places
ROUND (x, y) Rounded off value of the number 'x' up to the number 'y' decimal places
The following examples explains the usage of the above numeric functions

Function Name Examples Return Value
ABS (x) ABS (1)
ABS (-1)
1
-1
CEIL (x) CEIL (2.83)
CEIL (2.49)
CEIL (-1.6)
3
3
-1
FLOOR (x) FLOOR (2.83)
FLOOR (2.49)
FLOOR (-1.6)
2
2
-2
TRUNC (x, y) ROUND (125.456, 1)
ROUND (125.456, 0)
ROUND (124.456, -1)
125.4
125
120
ROUND (x, y) TRUNC(140.234, 2)
TRUNC (-54, 1)
TRUNC (5.7)
TRUNC (142, -1)
140.23
54
5
140
These functions can be used on database columns.
For Example: Let's consider the product table used in sql joins. We can use ROUND to round off the unit_price to the nearest integer, if any product has prices in fraction.
SELECT ROUND (unit_price) FROM product;

2) Character or Text Functions:

Character or text functions are used to manipulate text strings. They accept strings or characters as input and can return both character and number values as output.
Few of the character or text functions are as given below:
Function Name Return Value
LOWER (string_value) All the letters in 'string_value' is converted to lowercase.
UPPER (string_value) All the letters in 'string_value' is converted to uppercase.
INITCAP (string_value) All the letters in 'string_value' is converted to mixed case.
LTRIM (string_value, trim_text) All occurrences of 'trim_text' is removed from the left of 'string_value'.
RTRIM (string_value, trim_text) All occurrences of 'trim_text' is removed from the right of 'string_value' .
TRIM (trim_text FROM string_value) All occurrences of 'trim_text' from the left and right of 'string_value' , 'trim_text' can also be only one character long .
SUBSTR (string_value, m, n) Returns 'n' number of characters from 'string_value' starting from the 'm' position.
LENGTH (string_value) Number of characters in 'string_value' in returned.
LPAD (string_value, n, pad_value) Returns 'string_value' left-padded with 'pad_value' . The length of the whole string will be of 'n' characters.
RPAD (string_value, n, pad_value) Returns 'string_value' right-padded with 'pad_value' . The length of the whole string will be of 'n' characters.
For Example, we can use the above UPPER() text function with the column value as follows.

SELECT UPPER (product_name) FROM product;
The following examples explains the usage of the above character or text functions
Function Name Examples Return Value
LOWER(string_value) LOWER('Good Morning') good morning
UPPER(string_value) UPPER('Good Morning') GOOD MORNING
INITCAP(string_value) INITCAP('GOOD MORNING') Good Morning
LTRIM(string_value, trim_text) LTRIM ('Good Morning', 'Good) Morning
RTRIM (string_value, trim_text) RTRIM ('Good Morning', ' Morning') Good
TRIM (trim_text FROM string_value) TRIM ('o' FROM 'Good Morning') Gd Mrning
SUBSTR (string_value, m, n) SUBSTR ('Good Morning', 6, 7) Morning
LENGTH (string_value) LENGTH ('Good Morning') 12
LPAD (string_value, n, pad_value) LPAD ('Good', 6, '*') **Good
RPAD (string_value, n, pad_value) RPAD ('Good', 6, '*') Good**

3) Date Functions:

These are functions that take values that are of datatype DATE as input and return values of datatypes DATE, except for the MONTHS_BETWEEN function, which returns a number as output.
Few date functions are as given below.
Function Name Return Value
ADD_MONTHS (date, n) Returns a date value after adding 'n' months to the date 'x'.
MONTHS_BETWEEN (x1, x2) Returns the number of months between dates x1 and x2.
ROUND (x, date_format) Returns the date 'x' rounded off to the nearest century, year, month, date, hour, minute, or second as specified by the 'date_format'.
TRUNC (x, date_format) Returns the date 'x' lesser than or equal to the nearest century, year, month, date, hour, minute, or second as specified by the 'date_format'.
NEXT_DAY (x, week_day) Returns the next date of the 'week_day' on or after the date 'x' occurs.
LAST_DAY (x) It is used to determine the number of days remaining in a month from the date 'x' specified.
SYSDATE Returns the systems current date and time.
NEW_TIME (x, zone1, zone2) Returns the date and time in zone2 if date 'x' represents the time in zone1.
The below table provides the examples for the above functions
Function Name Examples Return Value
ADD_MONTHS ( ) ADD_MONTHS ('16-Sep-81', 3) 16-Dec-81
MONTHS_BETWEEN( ) MONTHS_BETWEEN ('16-Sep-81', '16-Dec-81') 3
NEXT_DAY( ) NEXT_DAY ('01-Jun-08', 'Wednesday') 04-JUN-08
LAST_DAY( ) LAST_DAY ('01-Jun-08') 30-Jun-08
NEW_TIME( ) NEW_TIME ('01-Jun-08', 'IST', 'EST') 31-May-08

4) Conversion Functions:

These are functions that help us to convert a value in one form to another form. For Ex: a null value into an actual value, or a value from one datatype to another datatype like NVL, TO_CHAR, TO_NUMBER, TO_DATE.
Few of the conversion functions available in oracle are:
Function Name Return Value
TO_CHAR (x [,y]) Converts Numeric and Date values to a character string value. It cannot be used for calculations since it is a string value.
TO_DATE (x [, date_format]) Converts a valid Numeric and Character values to a Date value. Date is formatted to the format specified by 'date_format'.
NVL (x, y) If 'x' is NULL, replace it with 'y'. 'x' and 'y' must be of the same datatype.
DECODE (a, b, c, d, e, default_value) Checks the value of 'a', if a = b, then returns 'c'. If a = d, then returns 'e'. Else, returns default_value.
The below table provides the examples for the above functions
Function Name Examples Return Value
TO_CHAR () TO_CHAR (3000, '$9999')
TO_CHAR (SYSDATE, 'Day, Month YYYY')
$3000
Monday, June 2008
TO_DATE () TO_DATE ('01-Jun-08') 01-Jun-08
NVL () NVL (null, 1) 1

Wednesday, July 6, 2011

Java Polymorphsm and Constructor Example Programs

Multiple Polymorphism & Constructor's

Make use of it.
-Regards
کเvαરαjαи.и

No Test Tomorrow:
Complete the java fair note::
Write the constructors and polymorphism Example Programs




          Complete the Oracle Observation

          Write the Queries to::
                         
                            1) Create
                            2) Insert
                            3) Delete
                            Write what are the Data types and function in Oracle...


 

Tuesday, July 5, 2011

Todays update (5/07/2011)

Tomorrow  Schedule :

NO TEST




    1) Complete Middle-Ware Technology Note(Lecture2)  and Submit it on Tomorrow 

    2)Complete the Visual Programming Note and Assignments and Submit it on Tomorrow

 

The Windows XP Boot Process[ Which DLL File Needed to Boot Windows Xp]

The Windows XP Boot Process[ Which DLL File Needed to boot windows xp]

Make use of it.
-Regards
کเvαરαjαи.и

Monday, July 4, 2011

DBMS Lab Excercise-1


  Table Name: Course_Master

Field Name
Data types
Constraints
Course_ID
Varchar2(6)
PK
Course_Name
Varchar2(45)

Start_Date
Date

Strength
Number(2)







Table Creation
SQL>create table course_master(course_id varchar2(6) constraints pk_courseid primary key,
2        course_name varchar2(45),
3        start_date date,
4        Strength number(2));

Table created .

Insert Operation
SQL>  insert into course_master values(111,'MCA','24-sep-2010',60);

1 row inserted Successfully.

Update Operation
SQL>update course_master set course_id=1 where course_name='MCA';

1 row updated Successfully.

Delete Operation 
SQL>  delete from course_master where course_id=1;

no row selected.

Alter Operation
SQL> alter table course_master modify(course_id number(5));

Table Altered successfully. 



Table  Name: Staff_academic




Table Creation
SQL>create table staff_academic(staff_id number(6) constraints pk_staffid primary key,
2        name varchar2(30),department varchar2(30),designation varchar2(30),
3        app_date date,head char(5),
4        basic number(5));

Insert Operation
SQL>  insert into staff_academic values(101,'Master','MCA','Lecturer','24-sep-2010','XZY',20000);

1 row inserted Successfully.

Update Operation
SQL>update staff_academic set staff_id=1 where staff_id='101';

1 row updated Successfully.

Table Name: Student_academic
Table Creation:
SQL> create table student_academic(rollno number(4) constraints cst_no primary key, name varchar2(30), courseid varchar2(6) constraints cst_id references course_master(course_id) on delete cascade, admn_no number(4), adm_date date);

Insertion:: 
SQL>insert into student_academic(roll_no,name,course_id,admn_no,admn_date)values(1,raj,201,133,13-may-11);
Deletion::
SQL>delete from studentacadamic where name='muruga';
Update::
SQL>alter table studentacadamic modify name='balu' where roll_no=3;
 
Table Name:Student_personal


Creation::

SQL> create table student_personal(roll_no number(4) constraints ran_roll_no primary key,
name   varchar2(30) constraints nan_name references studentacadamic(name) on delete        cascade,sex varchar2(6),dob date,guardian varchar2(30),address1 varchar2(30),address2 varchar2(30),town varchar2(25),district varchar2(30),pin char(6));
 
Insertion::
SQL>  
insert into Student_personal (roll_no,name,sex,dob,guardian,address1,address2,town,district,pin) values(1,'raj','male','21-may-89','raja','mudalnagar','pondy','tamilnadu','pondy',605007);


 Deletion::
SQL>delete from student_personal where name='RGCET';


Update::

SQL>alter table student_personal modify name='raja' where roll_no=1;

Todays update for (05/07/2011)

Test:

We have test in Computer Networks up to what she taught in class

**Note: The test duration is 2 hrs(you have to bring paper and other necessary things)
                                                        **************
* We have our Training & Placement class in our after session(timing 1.20 PM-4.00 PM)

* In case, T&P period cancelled  means we have our DBMS Lab session,So all  requested to bring their Observation and  Lab coat.

**Note:Complete the Observation work ,what madam gave last week.

Sunday, July 3, 2011

VB Tools, Properties, Commands, Methods

VB basic controls

Use of All Basic Controls@

Monday (04/07/2011) Schedule

Note Submission:

* Vb observation: Complete and submit  "properties of vb tools" and "Other program he given  in the work"
* For Vb Assignment ,all should write in classwork note.
* All should write the assignment in Unique color, We choose vi-lot color pen.
* All are requested to use that color pen for the VB Assignment.

Test :

* All are requested to get ready to face the Oral test in Computer Networks.

VB ASSIGMENT

Windows Components and Difference Between Event Driven and Control driven

Make use of it.
-Regards
کเvαરαjαи.и,

SQL Commands

SQL Lab

MWT(Unit-I)

MWT Lecture 2

MWT(Unit-I)

MWT lecture-1

Related Posts Plugin for WordPress, Blogger...