CSE SOLUTION SITE



Web Engineering Question List | Solve

Have virus spread are computer to another computer

Have virus spread are computer to another computer :
Computer virus usually spread in one of there ways :

1. From removable media
2. From downloads of the Internet
3. From e-mail attachments
1. From removeable media :- Example :- Floppy disk, pen drive.
2. From downloads of the Internet :- Computer virus also spread through drownload on the internet.
3. From e-mail attachments :- Computer virus are often spread by attachments in email messages or instant messaging messages.Thats why never open the attachment to an email from someone which don't know.
Another reason :-
Viruses can spread through any media or interlink.Beware accepting anything from anyone without a decent antivirus on their pc.

Write down different types of website with their speciality

Different types of website with their speciality :
 Top popular websites and their speciality :-
 
 1. Web search engine
 
 2. Social networking websites
 
 3. Domain registration websites 
 
 4. Web hosting website
 
 5. Job sites
 
 6. News website
 
 7. Tv website
 
 
 1. Web search engine :- A web search engine is designed to search  for information on the www.The search results are generally presented in a line of results often referred to as search engine results page (SERPs).The information may be a specialist
in web pages, images information and other types of files.


                              Market Share
                        May 2011             December  2010 
                              
      Google           82.80%                84.65%
      
      Yahoo !          6.42%                  6.69%
      
      Bing             3.91%                   3.29%
      
      Ask               0.52%      
      
      
      2. Social Networking website : A social networking service isan  online service, plot from or site that focuses on facilating among people who for example-share internets, activities, backgrounds, or real life connection.
      
      Social networking site allow users to share ideas, activities, events ad interests within their individual networks.
      
      http://www.facebook.com
      
      http://www.twitter.com
      
      plus.google.com
      
      
      3. Domain Registration website: the domain name system(DNS) is a hierarchical distributed naming system for computers, services or any resource connected to the internet or a private network.
      
      namecheap.com
      
      www.domain.com
      
      www.register.com
      
      www.btcl.net.bd  
      
      
      4. Web hosting site :-
      
      A web hosting service is a type of internet hosting service that allows individuals and organizations to make their website accessible via the world wide web.
      
      www.btcl.net.bd
      
      www.247-host.com
      
      
      5. Job Sites : The most important fucntions for a jobsite are to yield relevant job listings and to get resource seen by potential employees.
      
      www.bdjobs.com/
      
      www.prothom-alojobs.com
      
      www.jobsbd.com
      
      
      6. News websites:- From this site, we get the various types of daily news which are occured in everywhere.
      
      http://www.prothomalo.com
      
      http://www.ittefaq.com.bd
      
      http://www.jugantor.us/
     
     
    7. Tv website :- By this site we can see the Tv channel.
     
     www.ntvbd.com/
     
     www.ekusay-tv.com
      
   

What three ways of inserting CSS in your HTML page and their priority level? Explain with example.

Three ways of inserting CSS in your HTML page and their priority level? Explain with example :
 mainly there are three types 

Inline style sheet Or embedded styles
Internal style sheet 
External style sheet

User defined style
1.	Embedded or inline style sheet 
2.	Internal style sheet
3.	External style sheet
4.	Browser default style

 
 

With example, describe different form input elements(text field, text area, check area, check box, radio, dropdown list, submit button, password button).

With example, describe different form input elements(text field, text area, check area, check box, radio, dropdown list, submit button, password button) :

Describe tag with its common attributes(align, border, src, with, use, map), Give an example

Describe tag with its common attributes(align, border, src, with, use, map), Give an example :

write new input types available at HTML5? Describe 4 new input types with example.

New input types available at HTML5? Describe 4 new input types with example :

How to insert comments in HTML, PHP, JavaScripts and CSS? Give Example

Insert comments in HTML, PHP, JavaScripts and CSS? Give Example :

State and briefly describe the PHP datatype.

State and briefly describe the PHP datatype :
 
PHP data types

PHP has eight data types:
 
Scalar types 
•	boolean
•	integer
•	float
•	string

Compound types 
•	array
•	object

Special types 
•	resources
•	NULL

Boolean values

two values: True or False. This is a fundamental data type.
 
Integers

Integers are a subset of the real numbers. They are written without a fraction or a decimal component. Integers fall within a set Z = {..., -2, -1, 0, 1, 2, ...}.
 
Integers are infinite

Floating point numbers

Floating point numbers represent real numbers in computing. Real numbers measure continuous quantities, like weight, height, or speed

Strings

A string is a data type representing textual data in computer programs. 

Arrays

Array is a complex data type which handles a collection of elements. Each of the elements can be accessed by an index. In PHP, arrays are more complex. Arrays can be treated as arrays, lists, or dictionaries

Objects

So far, we have been talking about built-in data types. Objects are user defined data types. Programmers can create their data types that fit their domain. More about objects in chapter about object oriented programming, OOP.
 
Resources

Resources are special data types. They hold a reference to an external resource. They are created by special functions. Resources are handlers to opened files, database connections, or image canvas areas. 

NULL

There
is another special data type - NULL. Basically, the data type means non existent, not known or empty

In PHP, a variable is NULL in three cases: 
•	it was not assigned a value
•	it was assigned a special NULL constant
•	it was unset with the unset() function

Type casting

We often work with multiple data types at once. Converting one data type to another one is a common job in programming.

 

Write down the difference between GET and POST method.

The difference between GET and POST method :
GET is for retrieving data.  It should have no side effects, you should be able to request the same URL over and over harmlessly.  

POST is for writing data.  It may have side effects.  Making multiple identical write requests will likely result in multiple writes.  Browsers typically give you warnings about this.  POST is *not* secure.  The data is in the body of the request instead of the URL but it is trivially simple to view/edit.
 

Discuss the procedure of the storing data in MYSQL and retrieving data from MYSQL database using PHP program

Discuss the procedure of the storing data in MYSQL and retrieving data from MYSQL database using PHP program :

Write down the procedure of creating database and table in mysql database

The procedure of creating database and table in mysql database :
 Create the database. From the MySQL command line, enter the command CREATE DATABASE ;. Replace  with the name of your database. It cannot include spaces.
  
•	For example, to create a database of all the US states, you might enter CREATE DATABASE us_states;
 
•	Note: Commands do not have to be entered in upper-case.

•	Note: All MySQL commands must end with ";". If you forgot to include the
 semicolon, you can enter just ";" on the next line to process the previous command.
Create a table. A table is what houses your database’s information. To create one, you will need to enter all of your table formatting in the initial command. To create a table, enter the following command: CREATE TABLE states (id INT NOT NULL PRIMARY KEY AUTO_INCREMENT, state CHAR(25), population INT(9));. This will create a table named "states" with three fields: id, state, and population.

•	The INT command will make the id field contain only numbers (integers).

•	The NOT NULL command makes sure that the id field cannot be left blank.

•	The PRIMARY KEY designates the id field as the key field in the table. The key field should be set to a field that cannot contain any duplicates.

•	The AUTO_INCREMENT command will automatically assign increasing values into the id field, essentially automatically numbering each entry.

•	The CHAR(characters) and INT(integers) commands designate the types of data allowed in those fields. The number next to the commands indicated how many characters or integers can fit in the field.

 

Write down the different types of super global variable with their functionality.

Write down the different types of super global variable with their functionality.

How to get the maximum value among two numbers in JavaScript

How to get the maximum value among two numbers in JavaScript

Mention the Common features of web server.

Mention the Common features of web server :
•	Create one or more websites. (No I don't mean build a set of web pages. What I mean is, set up the website in the web server, so that the website can be viewed via HTTP)

•	Configure log file settings, including where the log files are saved, what data to include on the log files etc. (Log files can be used to analyse traffic etc)
 
•	Configure website/directory security. For example, which user accounts are/aren't allowed to view the website, which IP addresses are/aren't allowed to view the website etc. 

•	Create an FTP site. An FTP site allows users to transfer files to and from the site.

•	Create virtual directories, and map them to physical directories

•	Configure/nominate custom error pages. This allows you to build and display user friendly error messages on your website. For example, you can specify which page is displayed when a user tries to access a page that doesn't exist (i.e. a "404 error").

•	Specify default documents. Default documents are those that are displayed when no file name is specified. For example, if you open "http://localhost", which file should be displayed? This is typically "index.html" or similar but it doesn't need to be.

 You could nominate "index.cfm" if your website is using ColdFusion. You could also nominate a 2nd choice (in case there is no index.cfm file), and a 3rd choice, and so on.
 
 

What are the disadvantages of MySQL?

The disadvantages of MySQL :
 1.	MySQL does not support a very large database size as efficiently.

2. MySQL does not support ROLE, COMMIT, and Stored procedures in versions less than 5.0.

3. Transactions are not handled very efficiently.

4. There are a few stability issues.

5. It suffers from poor performance scaling.

6. The development is not community driven so it has lagged behind.

7. The functionality tends to be heavily dependent on the addons.

8. Developers may find some of its limitations very frustrating

 

© Copyright & reserved CSE Solve