Showing posts with label WT Notes. Show all posts
Showing posts with label WT Notes. Show all posts

Wednesday, March 6, 2013

Audio and Video Synthesis and Recognition


Audio and Video synthesis & recognition:
It is the latest technique evolved (invented) by current operating system. Basically audio and video speech synthesisers are invented for easy to use and reduce the efforts of users for any particular system.
Audio speech synthesiser is used for conversion of typing commands or text commands in the form of modulated audio input. There is a predictive dictionary available for matching the modulated input. If the modulated input and the predictive text are match completely then user can collect accurate answer otherwise if does not match a distorted message or output would be collected by the user.
Video speech synthesiser is used for accurate calculation of video from a single video entity or among the group of video entities. This type of synthesiser results the accurate video without the help of it’s concerning audio input. Video speech synthesiser is basically used in military services computing science organisations and from the observation of satellite images.

HTTP Requests and Web Server


HTTP:
It is a type of protocol which deals with the web information regarding to the client request. It provides some security for the demanding URLs (Unified/Uniform Resource Locater). Common URL refers to files, directories, or objects that perform complex tasks like database lookup and internet searches.
There are two types of requests available for the HTTP –
                               I.            HTTP GET request
                             II.            HTTP POST request
For each request there are some response should provide from the other side (server).

                               I.            HTTP GET request:
The word get is an HTTP method indicating that client wants to obtain a resource from server. The remainder of the request provides the path name of the resource, protocol name and version number with some optional headers.
                             II.            HTTP POST request:
The HTML post method typically post data to a server so the common uses of post request is to send some form of data or document to a server.





Web server:
                               I.            IIS web server
                             II.            Apache web server





To request document from servers users must know the host names on which the web server software exist. Users can request documents from local web server (client computer) or remote web server.
            Web server can be access through the computer name or through the local host.
Local Host: Host name that references the local machine & normally translates to the IP address 127.0.0.1 (loopback address).

1.     Microsoft IIS (Internet Information Services) server:
Microsoft IIS is a web server that is included with several versions of windows so IIS enables a computer to serve documents. To install IIS server open the “Add or Remove program” from control panel. Click on “Add/Remove windows components”. Then check the checkbox next to internet information services & click next. But it is necessary to keep the original windows operating system disk to complete the installation. There are different versions available of IIS that are IIS 5.1, IIS 6.0 & the latest version is IIS 7.0 & these versions typically uses HTTP.

2.     Apache server:
The apache HTTP server is maintained by apache software foundation. It is currently most popular web server because of its stability, efficiency, portability, security and small size. It is open source software that runs on UNIX, Linux, Windows, Mac OS and many other operating systems.
      In Mac OS and Linux apache is pre installed. After installation of apache HTTP server start the application from the program menu, Click on apache HTTP server then click on control apache server then click on monitor apache server. And if it is necessary for sharing the data, it could be possible from the system preference tab and opening the sharing preference tab and opening the sharing preference pane and click the checkbox next to web share.


Multitier application:
Web based applications are multitier application and sometimes it is called as n-tier application. It is divided functionally into separate tiers. It may be possible that tiers can locate on the same computer. The tiers of web based application generally reside on separate computers.
      Here the diagram represents basic structure of a three tier web based application –



Data or Information tier:
The bottom tier is known as data or information tier which maintains the application’s data. This tier stores data in a relational database management system. This may reside on one or more computers which together comprised the application’s data.
Business logic tier:
The middle tier is known as business logic tier which control information between the application data and its client.
Client tier:
This tier is user interface. It converts tasks into user understandable format.

DBMS



Data: Unprocessed information (Row facts and figure).

Information: Processed Data.

Data
Information
Naveen
Dau
Nirmal
Jyoti
Jyoti
Naveen
Dau
Nirmal
Priya
Priya

Database: Collection of data in interrelated manner.

Keys:

Primary key:
It will be unique in table. Like – University enrolment number.

Foreign key:
A primary key of a table used as a reference key in another table called foreign key.

Composite key:
It is clear that composite means combination of multiple information. If we want to define area then it will distinguish in multiple attributes like street.

Unique key:
It will also be unique but not primary. In this if information will not filled then bloke will be null but in primary key it can’t be null.

SQL Operations:
1.     Create Database
2.     Select Database
3.     Insert Command
4.     Delete Command
5.     Update Command

Monday, February 18, 2013

JavaScript Objects with description


Date Object Method
S. No.
Methods
Description
1.
getDate()
getUTCDate()
Returns a number from 1 to 31 representing the date of month in local time or UTC time.
2.
getDay()
getUTCDay()
Returns a number from0 to 6 (Zero for Sunday & Six for Saturday) representing the Day of the Week in local time.
3.
getFullYear()
getUTCFullYear()
Returns the year as a four digit number in local time.
4.
getHours()
getUTCHours()
Returns a number from 0 to 23 in local time or UTC.
5.
getMinutes()
getUTCMinutes()
Returns a number from 0 to 59 representing the minutes for the time in local time or UTC.
6.
getSeconds()
getUTCSeconds()
Returns a number from 0 to 59, representing the seconds for the time in local time or UTC.
7.
getMilliseconds()
getUTCMilliseconds()
Returns a number from 0 to 999 representing the number of milliseconds in local time or UTC.
8.
getMonth()
getUTCMonth()
Returns a number from 0 to 11 (0 for January & 11 for December) representing the month in local time or UTC.
9.
getTime()
Returns the no of milliseconds between January 1, 1970 & the time of the Date object.
10.
getTimeZoneOffset()
Returns the difference in minutes between the current time on the local computer & UTC.
11.
setDate(value)
setUTCDate(value)
Sets the date of the month (1 to 30) in local time or UTC.
12.
setFullYear(y,m,d)
setUTCFullYear(y,m,d)
Sets the year in local time or UTC. The second and third argument represents months and date which are optional.
13.
setHours(h,m,s,ms)
setUTCHours(h,m,s,ms)
Sets the hours in local time or UTC. Where second, third & forth argument are optional.
14.
setMinutes(m,s,ms)
setUTCMinutes(m,s,ms)
Sets the minutes in local time or UTC, The second, third arguments are optional where s for seconds and ms for milliseconds.
15.
setMonth(m,d)
setUTCMonth(m,d)
Sets the month in local time or UTC where second argument is optional.
16.
setSeconds(s,ms)
setUTCSeconds(s,ms)
Sets the second in local time or UTC. Where second argument is optional.
17.
setTime(ms)
setUTCTime(ms)
Sets the time based on its arguments (The number elapsed milliseconds.)
18.
toString()
Returns a string representing the Date and Time in a form like (Thu Sep 08:50:55 UTC 2012)
19.
valueOf()
It will work as gettime.

Math Object Method
S. No.
Methods
Description
1.
abs(x)
Absolute value of x.
Ex:
abs(7.2)=7.2
abs(-7.2)=7.2
2.
exp(x)
It represents exponent value of x.
Ex:
expx
3.
max(x,y)
Represents greater value.
4.
min(x,y)
Represents smaller value.
5.
pow(x,y)
Returns xy
6.
round(x)
This method round off x to the closest integer.
Ex:
round(9.8)=10
round(9.2)=9
7.
ceil(x)
It rounds x to the nearest smaller integer.
Ex:
ceil(9.8)=9
ceil(9.2)=9
8.
floor(x)
It rounds x to the nearest greater integer.
Ex:
floor(9.8)=10
floor(9.2)=10
9.
sqrt(x)
Returns square of x.

Boolean Object Method
S. No.
Methods
Description
1.
tostring()
It returns the string true if the value of the Boolean object is true otherwise it returns the string false.
2.
valueof()
It returns the value true if the Boolean object is true, otherwise return false.

String Object Method
S. No.
Methods
Description
1.
charAt(string)
It returns a string containing the character at a specified index. If there is no character at the index or string this method returns an empty string.
Ex:
charAt(“NiBm”);
2.
replace(search string,replace string)


3.
toUpperCase()
It returns a string in which all lower case letters will convert into Upper Case letters.
4.
toLowerCase()
It returns a string in which all lower case letters will convert into Lower Case letters.

Document Object Method
This object is used to manipulate the document that is currently visible in the browser window.
S. No.
Methods
Description
1.
getElementById(Id)
It returns the document object modelling node which represents the html element whose Id attribute matches the ID sent as argument.
2.
write(string)
Writes the string to the html document as html code.
3.
writeln(string)
Writes the string to the html document as html code and adds a new line character of the end.
4.
cookie()
A string containing a value of all the cookies stored on users computer for the current documents.
5.
lastmodified()
The date and the time that this document was last modified.

Window Object Method
The window object provides methods for manipulating browser windows. It is possible that a parent window can be classified into child windows.
S. No.
Methods
Description
1.
open(url,name,option)
Creates a new window with the URL of the window set to URL. The last two arguments are optional which represents the name of window and options provided for the window.
2.
close()
It closes the current window and deletes its object from the memory.
3.
focus()
This method gives focus to the window that means it put the window in foreground.
4.
blur()
This method takes focus away from the window that means it put the window in background.
5.
window.closed
This property contains a Boolean value that is set to true if the window is closed or false if it is open.


Powered by Blogger.