Friday 24 April 2015

How to make a Collapsible panel in ASP.NET using jQuery?


Collapsible Panel is a panel which can collapse. For example, when we click the yellow panel, the another panel below it collapses and when we again click the yellow panel, collapsed panel will become again visible.


To make this type of panel in ASP.NET follow these steps:
  1. After linking jQuery in Head Section, add two panels. Make the backcolor of one panel as yellow.

  2. Now add jQuery Code below the Form Tag. 

When user clicks the panel with ID Panel1, the panel with ID Panel2 with slideToggle with slow speed, i.e. if it was collapsed then it will be shown and vice-versa.

Default syntax of slideToggle is:

$(selector).slideToggle(speed,callback);

where speed can be "slow", "fast", or it can be in milliseconds.

How to use JQuery in ASP.NET?




To use JQuery in ASP.NET follow these steps:

  1. Download JQuery from https://jquery.com/download/ . You can  Download the uncompressed, development jQuery 1.11.2  
  2. Open Visual Studio and Start New Project (ASP.NET Empty Web Application). Give an appropriate name.
  3. Copy the Downloaded JQuery file (jquery-1.11.2.js) to the project by right clicking the project name
  4. Now add an .aspx webform by again Right Clicking the project name->Add-> New Item
  5. Now Link the JQuery file to added webform by using Script Tag
  6. You can also use the JQuery provided by Google's CDN: 
  7. After linking the JQuery to webform, you can use it. But you have write the following code snippet to use the JQuery.

    Here document refers to current document object. This is to prevent any jQuery code from running before the document is finished loading (is ready).
    It is good practice to wait for the document to be fully loaded and ready before working with it. This also allows you to have your JavaScript code before the body of your document, in the head section. 
    Here are some examples of actions that can fail if methods are run before the document is fully loaded:
    • Trying to hide an element that is not created yet
    • Trying to get the size of an image that is not loaded yet
  8. For example to display a Welcome message when document is ready use the following: 

Introduction to JQuery

Sunday 19 April 2015

How to delete all the inbox or archived messages in facebook?

Using GOOGLE CHROME 

  • Go to SETTINGS

  • Then on the upper left side click on EXTENSIONS

  • Then at the bottom click on GET MORE EXTENSIONS

  • Then on the top left side there's a SEARCH BAR write FACEBOOK DELETE ALL MESSAGES

  • Then click on the + to ADD EXTENSION ....Then close GOOGLE CHROME

  • Then re-open google chrome go to facebook click on the MESSAGE ICON and then See All

  • Just click on THE FACEBOOK DELETE EXTENSION ICON  and click launch

     
  • if u have any messages in OTHER or ARCHIVE put them all in INBOX and this EXTENSION will delete all of those inbox messages.

Monday 6 April 2015

STQA Assignment 3 Solved


Click here to download it

Questions:

Short questions :
Que 1 : Define Software Testing.
Que 2 : What is risk identification ?
Que 3 : What is SCM ?
Que 4 : Define Debugging.
Que 5 : Explain Configuration audit.
Que 6 : Differentiate between white box testing & black box testing.
Que 7 : What do you mean by metrics ?
Que 8 : What do you mean by version control ?
Que 9 : Explain Object Oriented Software Engineering.
Que 10 : What are the advantages and disadvantages of manual testing tools ?

Long Questions:
Que 1 : What do you mean by baselines ? Explain their importance.
Que 2 : What do you mean by change control ? Explain the various steps in detail.
Que 3 : Explain various types of testing in detail.
Que 4 : Differentiate between automated testing and manual testing.
Que 5 : What is web engineering ? Explain in detail its model and features.



Artificial Intelligence Assignment 3 Solved


Click here to download it

Questions:

Short questions :
Q1: What are agents?
Q2: What is predicate logic?
Q3: What is certainty factor?
Q4: Define supervised learning.
Q5: Define branch and bound algorithm.
Q6: What is LISP?
Q7: What are facts?
Q8: What is probability reasoning?
Q9: What is reasoning under uncertainty?
Q10: Give examples for heuristic search

Long Questions:
Q1: Explain Best First Search with example.
Q2: Explain and prove Bayes Theorem. What is conditional probability?
Q3: What are the steps in natural language processing? List and explain them briefly
Q4: Explain partial order planning.
Q5: Explain Neural Expert System



Wednesday 1 April 2015

Cloud Computing Assignment 3 Solved


Click here to download it

Questions:

Short questions :
Q1: What are computer VIRUS, WORM and Trojan horse?
Q2: What network protocols are used in Cloud Computing?
Q3: What is DOS Attack?
Q4: What is resource management in cloud computing?
Q5: What is difference between HTTP and HTTPs?
Q6: What is scheduling in Cloud?
Q7: What is difference between authentication and authorization? Explain. 
Q8: What is data encryption? Discuss some current techniques used for encryption.
Q9: What is SSL?
Q10: What is Identity Management System? How it is helpful in Cloud Computing?



What is Difference Between HTTP and HTTPS Protocol?


HTTP
Hypertext Transfer Protocol (HTTP) is a protocol used in networking. When you type any web address in your web browser, your browser acts as a client, and the computer having the requested information acts as a server. When client requests for any information from the server, it uses HTTP protocol to do so. The server responds back to the client after the request completes. 


HTTPs
Hypertext Transfer Protocol Secure (HTTPS) is a combination of two different protocols. It is more secure way to access the web. It is combination of Hypertext Transfer Protocol (HTTPS) and SSL/TLS protocol. It is more secure way to sending request to server from a client, also the communication is purely encrypted which means no one can know what you are looking for. This kind of communication is used for accessing those websites where security is required. Banking websites, payment gateway, emails (Gmail offers HTTPS by default in Chrome browser), and corporate sector websites are some great examples where HTTPS protocols are used.
For HTTPS connection, public key trusted and signed certificate is required for the server. These certificate comes either free or it costs few dollars depends on the signing authority. There is one other method for distributing certificates. Site admin creates certificates and loads in the browser of users. Now when user requests information to the web server, his identity can be verified easily.

The main motivation for HTTPS is to provide authentication of the visited website and prevent wiretapping and man-in-the-middle attacks.
Here are some major differences between HTTP and HTTPS:
HTTPHTTPS
URL begins with “http://”URL begins with “https://”
It uses port 80 for communicationIt uses port 443 for communication
UnsecuredSecured
Operates at Application LayerOperates at Transport Layer
No encryptionEncryption is present
No certificates requiredCertificates required