Get Major Training|Project Training|Live Project|Industrial Training On Android| I-Phone | Java | J2SE | J2EE | C#.Net | ASP.Net| PHP | PHP with Wordpress | Joomla | Majento Contact us
Indore is developing as a major education hub in central India So many students comes form different parts of the country to get quality education.
Indore is becoming a IT Center now because Tech Giants like INFOSYS,TCS already acquire Land and start there foundation for taking there business to the central part. So the IT students need to acquire a great knowledge of C/C++, OOPS , JAVA ,DOTNET , PHP .
So all the New students Our advice to you is to get Proper Knowledge and practical training for these courses We at Vinayak informatics try to provide trainees full practical training rather than theoretical approach.
Join Vinayak Informatics Pratical Training for Freshers for Java PHP Dotnet
The first step to getting your site online and to get better rankings
in Google is to submit your URL to search engines like Google, Yahoo,Bing. An example of an URL
is www.vinayakinformatics.com . Eventually the search engines will find your site
but this will help Accelerate the process.
Once you submit your URL, it could take several days, weeks, or
months for the search engines to index your page(s). Results may varies according website content.
Submit your URL to Google:
1. Go to the following link: http://www.google.com/addurl/?continue=/addurl {Login Required}
2. Type in your URL, example: http://www.Vinayakinformatics.com
3. Enter comments about your site. This is optional. Usually I enter the
genre of the site and a few keywords. Example: Get Your Website in $100 Only Vinayak Informatics
4. Enter the captcha text shown in the box
5. Select “Add URL”
Submit your URL to Bing/Yahoo:
1. Go to the following link: http://www.bing.com/toolbox/webmaster {Login Required}
2. Enter the captcha text shown in the box
3. Type in your URL, example: http://www.yoursite.com
4. Select “Submit URL”
Do you ever experience Jquery not working when ever you use two or multiple j query versions simultaneously
Look at the Problem
The problem is that some customers may already have an older version
of jQuery installed. While this may work if it's at least a fairly
recent version, new code does rely on some recently introduced
functionality in the jQuery library, so there are bound to be instances
when a customer's jQuery version is just too old. We can't require that
they upgrade to the latest version of jQuery.
Is there any way to load a newer version of jQuery to use only within
the context of our code, that will not interfere with, or affect, any
code on the customer's page? Ideally, maybe we could check for the
presence of jQuery, detect the version, and if it's too old, then
somehow load the most recent version just to use for our code.
An Entity – Relationship model (ER model)
is an abstract way to describe a database. It is a visual
representation of different data using conventions that describe how
these data are related to each other. There are three basic elements in ER models:
Entities are the “things” about which we seek information.
Attributes are the data we collect about the entities.
Relationships provide the structure needed to draw information from multiple entities.
Symbols used in E-R Diagram:
Entity – rectangle
Attribute -oval
Relationship – diamond
Link - line
Entities and Attributes
Entity Type:It is a set of similar objects or a category of entities that are well defined
A rectangle represents an entity set
Ex: students, courses
We often just say “entity” and mean “entity type”
Attribute:It describes one aspect of an entity type; usually [and best when] single valued and indivisible (atomic)
Represented by oval on E-R diagram
Ex: name, maximum enrollment
Types of Attribute:
Simple and Composite Attribute
Simple
attribute that consist of a single atomic value.A simple attribute
cannot be subdivided. For example the attributes age, sex etc are simple
attributes.
A
composite attribute is an attribute that can be further subdivided. For
example the attribute ADDRESS can be subdivided into street, city,
state, and zip code.
Simple Attribute: Attribute that consist of a single atomic value.
Example: Salary, age etc
Composite Attribute : Attribute value not atomic.
Example : Address : ‘House_no:City:State
Name : ‘First Name: Middle Name: Last Name’
Single Valued and Multi Valued attribute
A single
valued attribute can have only a single value. For example a person can
have only one ‘date of birth’, ‘age’ etc. That is a single valued
attributes can have only single value. But it can be simple or composite
attribute.That is ‘date of birth’ is a composite attribute , ‘age’ is a
simple attribute. But both are single valued attributes.
Multivalued
attributes can have multiple values. For instance a person may have
multiple phone numbers,multiple degrees etc.Multivalued attributes are
shown by a double line connecting to the entity in the ER diagram.
Single Valued Attribute: Attribute that hold a single value
Example1: Age
Exampe2: City
Example3:Customer id
Multi Valued Attribute: Attribute that hold multiple values.
Example1: A customer can have multiple phone numbers, email id’s etc
Example2: A person may have several college degrees
Stored and Derived Attributes
The value
for the derived attribute is derived from the stored attribute. For
example ‘Date of birth’ of a person is a stored attribute. The value for
the attribute ‘AGE’ can be derived by subtracting the ‘Date of
Birth’(DOB) from the current date. Stored attribute supplies a value to
the related attribute.
Stored Attribute: An attribute that supplies a value to the related attribute.
Example: Date of Birth
Derived Attribute: An attribute that’s value is derived from a stored attribute.
Example : age, and it’s value is derived from the stored attribute Date of Birth.
Keys
Super key: An attribute or set of attributes that uniquely identifies an entity–there can be many of these Composite key:A key requiring more than one attribute Candidate key: a superkey such that no proper subset of its attributes is also a superkey (minimal superkey – has no unnecessary attributes) Primary key:The
candidate key chosen to be used for identifying entities and accessing
records. Unless otherwise noted “key” means “primary key” Alternate key: A candidate key not used for primary key Secondary key: Attribute or set of attributes commonly used for accessing records, but not necessarily unique Foreign key: An attribute that is the primary key of
another table and is used to establish a relationship with that table
where it appears as an attribute also.
Graphical Representation in E-R diagram
Rectangle – Entity Ellipses – Attribute (underlined attributes are [part of] the primary key) Double ellipses – multi-valued attribute Dashed ellipses– derived attribute, e.g. age is derivable from birthdate and current date.
Relationships
Relationship: connects two or more entities into an association/relationship
“John” majors in “Computer Science”
Relationship Type: set of similar relationships
Student (entity type) is related to Department (entity type) by MajorsIn (relationship type).
Relationship Types may also have attributes in the E-R model. When
they are mapped to the relational model, the attributes become part of
the relation. Represented by a diamond on E-R diagram.
Cardinality of Relationships
Cardinality is the number of entity instances to which another entity
set can map under the relationship. This does not reflect a requirement
that an entity has to participate in a relationship. Participation is
another concept. One-to-one: X-Y is 1:1 when each entity in X is
associated with at most one entity in Y, and each entity in Y is
associated with at most one entity in X.
One-to-many: X-Y is 1:M when each entity in X can be
associated with many entities in Y, but each entity in Y is associated
with at most one entity in X. Many-to-many: X:Y is M:M if each entity in X can be
associated with many entities in Y, and each entity in Y is associated
with many entities in X (“many” =>one or more and sometimes zero)
Relationship Participation Constraints
Total participation
Every member of entity set must participate in the relationship
Represented by double line from entity rectangle to relationship diamond
E.g., A Class entity cannot exist unless related to a Faculty member entity in this example, not necessarily at Juniata.
You can set this double line in Dia
In a relational model we will use the references clause.
Key constraint
If every entity participates in exactly one relationship, both a total participation and a key constraint hold
E.g., if a class is taught by only one faculty member.
Partial participation
Not every entity instance must participate
Represented by single line from entity rectangle to relationship diamond
E.g., A Textbook entity can exist without being related to a Class or vice versa
Strong and Weak Entities
Strong Entity Vs Weak Entity
An entity set that does not have sufficient attributes to form a primary
key is termed as a weak entity set. An entity set that has a primary
key is termed as strong entity set.
A weak
entity is existence dependent. That is the existence of a weak entity
depends on the existence of a identifying entity set. The discriminator
(or partial key) is used to identify other attributes of a weak entity
set.The primary key of a weak entity set is formed by primary key of
identifying entity set and the discriminator of weak entity set. The
existence of a weak entity is indicated by a double rectangle in the ER
diagram. We underline the discriminator of a weak entity set with a
dashed line in the ER diagram.
We are now days Using our Pen drive Most commonly !! but we are not differentiated our pen drive if we are using two or more pendrive at once or we are using public Computers or Training Computers like our training Campus!!
Then How can we make our pen drive look special
heres the tricks
Just Make your pendrive Icon different like
Just Make your .Ico file
add it to your pendrive
and add one more file named "autorun,inf" using notepad
Then install the SoundWire Server on the Windows or Linux computer
which is your source of music, web audio streaming, or other sounds.
Click on the appropriate version below. If you have trouble saving,
right-click on the image and choose "Save Target As". Open the ZIP file
and run the installer inside. For the Linux version see the README.txt
file for instructions. (Sorry, no Mac version of the server yet.)
What is Mod URL Rewrite… A basic understanding?
Mod URL Rewrite mean to
a.) A fancy URL.
b.) A URL that is Search Engine Friendly.
C.) A URL that is user friendly too.
So, Mod URL Rewrite means to create a fancy web URL that is User and Search Engine Friendly too. Example:
Original URL
www.yourwebsite.com/home.php
Fancy URL
www.yourwebsite.com/myhome
Another Example:
Original URL
www.yourwebsite.com/post.php?year=2011&month=3
Fancy URL
www.yourwebsite.com/post/2011/3
Modification from original URL to a Fancy URL is done by Rewrite Engine.
Pros and Cons of Using Mod URL Rewrite: Pros:
1.) A clean and fancy url gives transparency to human readable.
2.) Clean and fancy urls are easily indexes by Search Engines.
3.) Simple and elegant way to achieve Search Engine Optimization.
4.) Hides our page extension and directory structure.
5.) Safety from Hotlinks, which consumes our band width. Cons:
1.) Emphasis on Server Load.(read further to know more)
2.) If a user wants to modify a URL to retrieve new data, the rewrite engine may stuck to the construction of custom URL due to the lack of named variables.
For example, it’s difficult to identify the date from the following URL:
http://www.yourdomain.com/post/12/10/2006/
In this case, the original URL was more useful,
Since the query string denotes month and day:
What is Rewrite Engine?
Rewrite Engine is software that modifies the URL appearance, this modification is called as URL Rewriting. How Rewrite Engine Works?
Before moving towards the URL Rewriting module.
You must ensure that your server is able to handle URL Rewrite
request. By default an apache installation comes with Rewrite Module
installed on it, but it is disabled by default.
So to enable this you have to contact to your hosting provider. What the hosting provider will do?
They will open the apache server configuration file httpd .conf
And remove # (comment) from the following line:
# LoadModule rewrite_module modules/mod_rewrite.so
Save the httpd .conf file and restart the apache server.Congrats! Now you are able to use Mod URL Rewrite Engine.
Let’s Start rewriting : URL writing can be achieved by two popular ways.
1.) Using . htaccess file, it is not more than a simple text file
but having a very strong utility in itself. You must be familiar with
this file because this allows you to set all kinds of server options. A
simple example (a custom 404 Not Found Page)
Moreover, this file is interpreted each time by apache server when you made any request.
1.) Using httpd .conf file, this file resides almost all type of
server configurations. You can write your mod rewrite rule inside this
file.
But you can do so when you have root access. Which method is to choose???
Depending upon the following factor let we identify which method is best for you…
a.) Load Issue: A critical question comes in the mind when using new things.
Consider a scenario, you have a very huge site like ebay and you want to use mod URL Rewrite in this.
Obliviously, use of . htaccess file for this purpose emphasis
directly on Server Load, because as we know . htaccess file interprets
every time by apache server for its each request.
Hence, you should use httpd .conf file for this purpose. As it compile once. b.) Performance: Performance of a webpage or web portal is another big issue.
Consider another scenario,
You have 1000 of visitors a day, again . htaccess file may reduce the performance of your webportal.
Hence, you should use httpd .conf file for this also. C.) Easyness: Most of the time we have small and medium
level WebPages that has moderate amount of visitors. And Want to promote
your website on Search Engine Indexing as well.
The easiest way to do this is using . htaccess file, because this file is in our control. So we can edit it any time.
Thus, as per your requirement you can choose any of above method.
For the sake of all the users we will use . htaccess file in this tutorial. Follow the steps:
1.) Connect to server via FTP and download the . htaccess file to you
local machine from document root i.e. from public_html folder. Important: Keep the orginal . htaccess file on some safe
place, in case if we did anything wrong it may cause to our site down,
so immediately we can replace this by old one.
2.) The best practice to start with Mod URL Rewrite is to download
the whole site on our local machine’s WAMP/LAMP server. And edit .
htaccess file.
3.) Now Open . htaccess file in your favorite text editor.
It may be possible this file contents some text or content nothing.
4.) Now you have to add following commands in your . htaccess:
a.) +FollowSymLinks is one of security feature of rewrite engine. You can’t use the rewrite module without this line
Options +FollowSymLinks
b.) Finally most important requirement is to turn the rewrite engine on.
RewriteEngine On
I strongly suggest you to begin you rewriting code with following two commands:
Options +FollowSymLinks
RewriteEngine On
c.) Following command explicitly set the Base URL for our rewrites.
RewriteBase /
Now Write Rewrite Rule:
Each Rewrite Rule is executed by a command RewriteRule
Syntax to write a rule is: RewriteRule FANCY_NAME ORIGINAL_NAME
For Example:
The existing url is :
www.yourdomain.com/xyz.php
And I want this :
www.yourdomain.com/extras
More redable.
Hence, Rewrite Rule for this would be:
RewriteRule ^extras$ xyz.php
Where ^ indicates that a pattern must start with extras and $
indicates that a patter must ends with extras. See this is based on
Regular expressions. For better understanding of this you must read the
Regular Expression basic tutorial.
Now what this Rewrite Rule will do.
When we hit the URL www.yourdomain.com/extras
on our web browser. The . htaccess file matches the patter extras and
execute its RewriteRule Command to call the contents of xyz.php.
It looks like, www.yourdomain.com/extras is working independently but actually it is fetching the content of xyz.php using the Rewrite Rule pattern matching.
Hence the actual URL is modified but it contents remain the same. Thus, the final . htaccess file will look like:
Vinayak Informatics provides Training Industrial Project at indore and our trainees are always asking us about industrial project training report on Various Projects so today we will sharing report format for industrial training for CS/IT Branch
Industrial Training Report Format
1. Cover Page
2. Inner Pages
a) Certificate by Company/Industry/Institute
b) Declaration by student
c) Acknowledgement
3. About Company/Industry/Institute
4. Table of Contents
5. List of Tables
6. List of Figures
7. Abbreviations and Nomenclature (If any)
8. Chapters
1 Introduction to Project
2 Tools & Technology Used
3 Snapshots
4. Results and Discussions
5. Conclusions and Future Scope
9. References
10. Data Sheet(If any)
11. Appendices ( If any)
INSTRUCTIONS FOR TRAINING REPORT
1. A chapter may be further divided into several divisions and sub-divisions depending on type & volume of work. This contains the text & related to hardware & software implementation.
2. The training report must be submitted in Two Copies (one for department and 2nd for library) duly signed by the HOD. Students should also submit the soft copy on CD in PDF and word format in the library (2 Copies of CD).
3. The length of the training report may be about 40 to 70 page.
4. The training report shall be computer typed (English- British, Font -Times Roman, Size-12 point) and printed on A4 size paper.
5. The training report shall be hard bound with cover page in Maroon or Black color. The name of the students, degree, duration of training period, name of the university including institute name shall be printed in Golden letters on the cover page.
6. The training report shall be typed with 1.5 line spacing with a margin 3.5 cm on the left, 2.5 cm on the top, and 1.25 cm on the right and at bottom. Every page in the report must be numbered. The page numbering, starting from acknowledgements and till the beginning of the introductory chapter, should be printed in small Roman numbers, i.e, i, ii, iii, iv...... The page number of the first page of each chapter should not be printed (but must be accounted for). All page numbers from the second page of each chapter should be printed using Arabic numerals, i.e. 2,3,4,5... All printed page numbers should be located at the bottom centre of the page.
7. In the training report, the title page should be given first and printed in black letters.
8. The table of contents should list all headings and sub-headings. The title page and certificates will not find a place among the items listed in the Table of Contents. One and a half line spacing should be adopted for typing the matter under this head.
9. The list of tables should use exactly the same captions as they appear above the tables in the text. One and a half spacing should be adopted for typing the matter under this head.
10. The list of figures should use exactly the same captions as they appear below the figures in the text. One and a half spacing should be adopted for typing the matter under this head.
11. The list of symbols, abbreviation & nomenclature should be typed with one and a half line spacing. Standard symbols, abbreviation etc should be used.
12. Subject matter must be typed on single side of the page.
13. All the pages must be numbered properly.
INDUSTRIAL TRAINING REPORT
(Times New Roman, 24 pt. Bold)
TITLE OF THE PROJECT
(Times New Roman, 16 pt. Bold)
Submitted in partial fulfillment of the
Requirements for the award of
Degree of Bachelor of Technology in Computer Science Engineering
Submitted By (14 size)
Name: ______________________
University Roll No.____________
(Times New Roman, 14 pt. Bold)
SUBMITTED TO:
Department of Computer Science & Engineering (16 size)
COLLEGE Name
Address.
DECLARATION (16 Times New Roman)
I hereby declare that the Industrial Training Report entitled ("Title of the project") is an authentic record of my own work as requirements of 6-months Industrial Training during the period from _______ to_______ for the award of degree of B.Tech. (Computer Science & Engineering), College Name, under the guidance of (Name of Project Guide).
(12 size)
(Signature of student)
(Name of Student)
(University Roll No.)
Date: ____________________
Certified that the above statement made by the student is correct to the best of our knowledge and belief.
Signatures
Examined by:
1. 2. 3. 4.
Head of Department
(Signature and Seal)
CERTIFICATE
(16 Times New Roman, bold)
This is to certify that Mr. / Ms.___________________________ has partially completed / completed / not completed the 6-Month Industrial Training during the period from _______ to_______ in our Organization / Industry as a Partial Fulfillment of Degree of Bachelor of Technology in Computer Science Engineering. He / She was trained in the field of ______________________________ .
Signature & Seal of Training Manager
Note: This certificate must be typed on the company letter head.
Three things required to create a bootable Windows7 are:
ISO Files.
Magic Disc.
Win to Flash.
ISO Files:ISO
file, which is also known as a disc image, has .iso file extension. It
contains a copy of the entire CD/DVD from which it was extracted. It
means when you burn an ISO file to a blank disc, you’ll get the same
files, folders, and properties as the original disc.
This can be downloaded from Torrents or any original DVD can be used to create ISO(Image). Magic Disc:MagicDisc
is a free software designed for creating and managing virtual CD drives
and CD/DVD discs. It allows you to use almost all CD/DVD image without
burning them onto CD or DVD. Step1: Right Click on MagicDisc Icon. Step2: Select “Virtual CD/DVD-ROM”.
Step3: Click “Mount”.
Step4:
Browse and select the CD/DVD image you wish to mount.
Click “Ok”.
Win to Flash:
Requirements:
USB Flash disk/Flash drive/Pen drive/Thumb drive, etc
Computer with CD/DVD drive to build this Windows 7 setup Flashdisk
(or you may use computer without CD/DVD drive, but you have to copy
Windows7 setup files from another computer to your hard disk)
Computer with or without CD/DVD drive (e.g. Aspire One)
Step 1:
Download WinToFlash here http://wintoflash.com/download/en/ Step 2:
Extract the zip file, then double click on WinToFlash.exe Step 3:
Click Accept button… Step 4:
This program will transfer Windows setup from CD or
DVD to flash drive Recommended to switch on Wizard mode for users have
no experience of Windows setup fine tuning Windows setup transfer wizard
Following basic instructions you will transfer Windows setup program
to flash drive and install Windows on PC have no CD or DVD drive.
Click the button to enter Wizard mode…
Step 5:
This program will help you to install Windows from a flash
To access other features and advanced options swicth to advanced mode (for advanced users).
for now, we will use wizard mode instead of advanced mode, so click Next…
Step 6:
Specify locations of files and drive
on Windows files path click Select button
Step 7:
Select CD/DVD drive that contain Windows 7 CD or folder that contain Windows7 files… then click OK. Step 8:
Specify locations of files and drive
on USB drive click Select button.
Select USB Flash drive … then click OK. Step 9:
Specify locations of files and drive
Click Next button… Step 10:
Select “I Accepted the terms of the license agreement” then click Continue… Step 11:
Warning! Formatting will erase ALL DATA on target disk. To format press OK, to quit press Cancel
Click OK… Step 12:
Please wait while WinToFlash transferring Windows setup to flash drive. Step 13:
Finished… click Next then Exit
USB Flash drive ready…
On Page SEO defined as the
things you do online to your
website in order to achieve
good search engine ranking(SERP)
1. Use and Repeat Your Important
Keywords.
2. Interlink Your Inner
Pages properly to enjoy the flow of
PR juice.
3. Meta Description, Keywords and
Title.
4. Use Header Tags.
5. Optimize Your URLs.
6. Canonicalize Your URLs.
7. Update Your blog regularly and
Create XML sitemaps for your blog.
8. Use less JavaScript Code.
9. Content is King.
10. Optimize your Images with alt tag
Off page SEO is defined as the
things you do offline to your
website in order to achieve
good search engine ranking(SERP).
For ex- Building quality backlinks
to your site.
Comparison points between
On Page SEO and Off Page SEO
2013:-
1. Use and Repeat Your Important
Keywords.
2. Interlink Your Inner
Pages properly to enjoy the flow of
PR juice.
3. Meta Description, Keywords and
Title.
4. Use Header Tags.
5. Optimize Your URLs.
6. Canonicalize Your URLs.
7. Update Your blog regularly and
Create XML sitemaps for your blog.
8. Use less JavaScript Code.
9. Content is King.
10. Optimize your Images with ALT
tags.
1. Submit your blog to Web
Directories.
2. Article Marketing.
3. Do Forum Posting.
4. Social Bookmarking.
5. Blog Comments.
6. Social Networking.
7. Pinging Blog posts and RSS
Submission.
8. Link Baiting.
9. Guest Posting is must.
10. EDU & .GOV Backlinks.
I strongly say Both are equally
important and necessary for the
growth of your website in natural way.
The most factor isto choose a good reputed company which offer internship training without any training fees. If a company promises you to provide sure incompany placement then please cross check company past record with company x employees then surely you can join internship in particular company .
And
When you want to join training through institutions please cross check quality of particular training providers by
No of fellow trainees placed
Experience of trainers Skills of professionals Environment
And last one reputation of professional trainers in experience developers
At last I suggested you will take decision carefully by applying above guidens
Today I will share with you to find
useful tools that you can use for
your cross-browser compatibility
check.
Multi-browser means a website will
work in several web browsers like
Safari, Chrome, Firefox, Internet
Explorer. While cross-browser means
a website works in any browser, and
any version of the browser, being
used.
BrowserShots
BrowserShots is a free cross-browser
tool that captures screenshots of the
website in different browsers. This is
the best known and the oldest cross-
browser tool used by developers.
The browsers it supports are:
Google Chrome
Dillo
ELinks
Epiphany
Mozilla Firefox
Galeon
and more…
The operating system it supports
are:
Linux Windows Mac
IE Tester
If you are a developer who is in
need of a tool that just supports
Internet Explorer, then this tool is
for you.
IETester, a free web app that allows
you to see the appearance of web
pages by using Internet Explorer 5.5,
6, 7, 8 and 9. Its interface resembles
the interface of MS Word 2007.
JavaScript Interview Questions for both Experienced Programmers and Freshers
1) What is JavaScript?
Ans:JavaScript is a scripting language most often used for client-side web development.
2) What is the difference between JavaScript and Jscript?
Ans:Both JavaScript and Jscript are almost similar. JavaScript was developed by Netscape. Microsoft reverse engineered Javascript and called it JScript.
3) How do we add JavaScript onto a web page?
Ans:There are several way for adding JavaScript on a web page, but there are two ways which are commonly used by developers
If your script code is very short and only for single page, then following ways are the best:
a) You can place
b) If your script code is very large, then you can make a JavaScript file and add its path in the following way:
Code
Page Title
4) Is JavaScript case sensitive?
Ans:Yes!
A function getElementById is not the same as getElementbyID.
5) What are the types used in JavaScript?
Ans:String, Number, Boolean, Function, Object, Null, Undefined.
6) What are the boolean operators supported by JavaScript?
And Operator: &&
Or Operator: ||
Not Operator: !
7) What is the difference between “==” and “===”?
Ans:
“==” checks equality only,
“===” checks for equality as well as the type.
8) How to access the value of a textbox using JavaScript?
Ans: ex:-
Code
Full name:
There are following ways to access the value of the above textbox:
var name = document.getElementById('txtFullName').value;
alert(name);
or:
we can use the old way:
document.forms[0].mybutton.
var name = document.forms[0].FirstName.value;
alert(name);
Note: This uses the "name" attribute of the element to locate it
.
9) What are the ways of making comments in JavaScript?
Ans:
// is used for line comments
ex:- var x=10; //comment text
/*
*/ is used for block comments
ex:-
var x= 10; /* this is
block comment example.*/
10) How will you get the Checkbox status whether it is checked or not?
Ans:
var status = document.getElementById('checkbox1').checked;
alert(status);
will return true or false.
11) How to create arrays in JavaScript?
Ans:There are two ways to create array in JavaScript like other languages:
a) The first way to create array
Declare Array:
Code
var names = new Array();
Add Elements in Array:-
names[0] = "Vikas";
names[1] = "Ashish";
names[2] = "Nikhil";
b) This is the second way:
var names = new Array("Vikas", "Ashish", "Nikhil");
12) If an array with name as "names" contain three elements, then how will you print the third element of this array?
Ans: Print third array element document.write(names[2]);
Note:- Array index starts with 0.
13) How do you submit a form using JavaScript?
Ans:Use document.forms[0].submit();
14) What does isNaN function do?
Ans: It returns true if the argument is not a number.
Example:
Code
document.write(isNaN("Hello")+ "
");
document.write(isNaN("2013/06/23")+ "
");
document.write(isNaN(123)+ "");
The output will be:
true
true
false
15) What is the use of Math Object in JavaScript?
Ans: The math object provides you properties and methods for mathematical constants and functions.
ex:-
Code
var x = Math.PI; // Returns PI
var y = Math.sqrt(16); // Returns the square root of 16
var z = Math.sin(90); Returns the sine of 90
16) What do you understand by this keyword in JavaScript?
Ans: In JavaScript the this is a context-pointer and not an object pointer. It gives you the top-most context that is placed on the stack.
The following gives two different results (in the browser, where by-default the window object is the 0-level context):
var obj = { outerWidth : 20 };
function say() {
alert(this.outerWidth);
}
say();//will alert window.outerWidth
say.apply(obj);//will alert obj.outerWidth
17) What does "1"+2+4 evaluate to?
Ans: Since 1 is a string, everything is a string, so the result is 124.
18) What does 3+4+"7" evaluate to?
Ans: Since 3 and 4 are integers, this is number arithmetic, since 7 is a string, it is concatenation, so 77 is the result.
19) How do you change the style/class on any element using JavaScript?
Ans:
Code
document.getElementById(“myText”).style.fontSize = “10";
-or-
document.getElementById(“myText”).className = “anyclass”;
20) Does JavaScript support foreach loop?
Ans: JavaScript 1.6(ECMAScript 5th Edition) support foreach loop,
21) What looping structures are there in JavaScript?
Ans: for, while, do-while loops
22) What is an object in JavaScript, give an example?
Ans: An object is just a container for a collection of named values:
// Create the man object
Code
/*var man = new Object();
man.name = 'Vikas Agrawal';
man.living = true;
man.age = 27;*/
23) How you will add function as a property in a JavaScript object? Give an example.
Ans:
Code
var man = new Object();
man.name = 'Vikas Agrawal';
man.living = true;
man.age = 27;
man.getName = function() { return man.name;}
console.log(man.getName()); // Logs 'Vikas Agrawal'.
24) What is the similarity between the 1st and 2nd statement?
1st:- var myString = new String('male'); // An object
.
2nd:- var myStringLiteral = 'male'; // Primitive string value, not an object.
Ans: Both will call String() constructor function
You can confirm it by running the following statement:
console.log(myString.constructor, myStringLiteral.constructor);
25) What will be the output of the following statements?
Code
var myString = 'Vikas' // Create a primitive string object.
var myStringCopy = myString; // Copy its value into a new variable.
var myString = null; // Manipulate the value
console.log(myString, myStringCopy);
Ans: // Logs 'null Vikas'
26) Consider the following statements and tell what would be the output of the logs statements?
var price1 = 10;
var price2 = 10;
var price3 = new Number('10'); // A complex numeric object because new was used.
console.log(price1 === price2);
console.log(price1 === price3);
Ans:
console.log(price1 === price2); // Logs true.
console.log(price1 === price3); /* Logs false because price3
contains a complex number object and price 1
is a primitive value. */
27) What would be the output of the following statements?
var object1 = { same: 'same' };
var object2 = { same: 'same' };
console.log(object1 === object2);
Ans: // Logs false, JavaScript does not care that they are identical and of the same object type.
When comparing complex objects, they are equal only when they reference the same object (i.e., have the same address). Two variables containing identical objects are not equal to each other since they do not actually point at the same object.
28) What would be the output of the following statements?
Code
var object1 = { same: 'same' };
var object2 = object1;
console.log(object1 === object2);
Ans: // Logs true
29) What is this?
var myArray = [[[]]];
Ans: Three dimensional array
30) Name any two JavaScript functions which are used to convert nonnumeric values into numbers?
Ans:
Number()
parseInt()
parseFloat()
Code
var n1 = Number(“Hello world!”); //NaN
var n2 = Number(“”); //0
var n3 = Number(“000010”); //10
var n4 = Number(true); //1
var n5 = Number(NaN); //NaN
31) Does JavaScript Support automatic type conversion, If yes give example
.
Ans: Yes! Javascript support automatic type conversion. You should take advantage of it, It is most common way of type conversion used by Javascript developers.
Ex.
var s = '5';
var a = s*1;
var b = +s;
typeof(s); //"string"
typeof(a); //"number"
typeof(b); //"number"
We all know every person need a job regardless either he is a fresher or having experience in a particular job field.
When you go to any interview the first or may be most vital question asked by an interviewer or the receptionist would be "Do you have any experience ?"
What will you say ?......
If you are a fresher and want a quick job then even you don't have any experience but you can lie to the questioner if you have proper knowledge of your field.
We are not appreciate false things but we are guiding you to get your first dream job by cleverly answering.
If you are having proper training on industry standard project and spending more than 500 hours on it. Then only you are able to tell the fake answer.
Because when a questioner ask that question then his intention are clear that either I can depend on him or I have to taught him myself.
When you are trained enough to start at a go then you can handle any task given by your employer but if you are a fresher then employer have to taught you before any task given to you.
It is a time consuming task which can cost your employer.
So be selective and get properly trained enough to become fake experience holder otherwise don't bother to become fake since the interviewer can punish you and can go to court also.
Vinayak informatics not appreciate fake peoples but if you are a fresher then you can get properly trained by professional developers. And experience can be achieved by professional industrial IT training in Indore on java dotnet php cms
Note:we are not appreciate fake peoples or false statements
Vinayak informatics system is a best training and development company in Indore. Vinayak informatics system provides training in Indore on php java and dotnet. We offer php core and advance php training to our live project training interns.
Join our team to get experience on development and training in Indore on your own live project.
We offer php java and dotnet training in Indore according to project needs and requirements.
Live project means a live website with a particular domain name.
We are offering live project training and development for your project.
We at vinayak informatics system provides you the common guide on content writing rules to provides a jump start on you website marketing strategy which generally called SEO in general language.
First point to remember:
The first and major point to become a content writer is to have great themeidea for your major keywords and the basic information give in your website content .
Second point to remember : choose right keywords and keywords placement position in your website content. These is also a great point to notice because choosing great content and theme isn't enough. Keywords selection and placement is also important in seo marketing.
Third point to remember : good writing skills
Last and most important point is to have proper command on your writing language on your website content. Take a double clarification on your written website content. Notice any grammatical mistake can change your website seo rank and users impression.
Worked as content writer at vinayak informatics system
Send your updated resume at info@vinayakinformatics.com
We at Vinayak Informatics Focused on Practical learning rather than Theory so we are the best trainers in indore for learning in PHP java dotnet and CMS training like worpress Joomla drupal Majento etc