PHP-Mysql PROJECT CODE tips and tricks , c / CPP /JAVA/ JSP-Mysql tips and tricks...and ORACLE World of opensource Web programming
Sunday, October 12, 2014
What is the use of matrices ?Explain class oriented matrices .
Explain Component Based Software Engineering ?
ADVANCE SOFTWARE ENGINEERING MSC IT & CA SEM-3 QUESTION BANK(as par syallbus of saurashtra university)
- Explain object-oriented concepts with example
- Explain object-oriented s/w projects management in brief.
- Explain object-oriented paradigm with figure.
- Explain generic components of object-oriented analysis modal.
- Explain object-relationship modal with appropriate example.
- Write brief note on object-behavior modal.
- Explain domain analysis with figure
- Explain CRC modal index card or Explain OOA process and give brief description of CRC modal index card.
- Explain OOA process.
- Briefly define a)operation b)message c) method d) services e)class
- Briefly explain how to identify classes and objects while developing oo model.
- Briefly explain Booch and Rumbaugh method for OOA.
- Explain the process of translating an OOA model in OOD model with diagram.
- What do you mean by system design process? Explain activities involved in it.
- Write short note on object-design process.
- Write short note on Design Patterns,
- Discuss design of object-oriented system with appropriate example.
- Give the name of testing method which are applicable at class level and explain it in details.
- Write brief note on testing object-oriented design and object-oriented analysis model.
- What do you mean by testing context to object oriented? Explain testing strategies in context to object oriented system development.
- Which is the impact of OOP on testing?
- Explain fault based testing.
- Explain interclass test case design.
- Define the objectives of OOT correctness and consistency.
- Explain the characteristics of OOM.
- What are the metrics for OOD model.
- Explain metrics of object-oriented projects.
- Briefly explain CK metrics suite proposed by chidamber and kemerer.
- Provide detail view of class oriented metrics
- Describe following terms
- Class size b. NOO c. NOA d. SI
- Specify MOOD metrics suite.
- Describe operation-oriented metrics.
- Explain metrics for object-oriented testing.
- What do you meant by cleanroom SE? describe common approach and its strategy with figure.
- What is BSS in cleanroom SE? describe types of boxes used in functional specification of cleanroom approach.
- Write brief note on cleanroom SE approach.
- Explain clean-room testing.
- Explain design refinement and verification.
- Describe statistical use testing and what its core utility?
- Write short note on component based software engineering process.
- Describe component qualification and component adaption.
- What do you mean by CBSE? Explain different set of s/w engineering activities involved in CBSE.
- Briefly explain component composition activity involved in CBSE.
- Explain Domain Engineering with its identification and reusable components.
- Write short note on classifying and retrieving components.
Saturday, September 6, 2014
USE SINGLE QUERY FOR UPDATE STATUS OF ANY ENUM
Create table feedback (
fid int(3),name varchar2(30),
email varchar(20),subject varchar(30),
satatus enum('0','1'));
UPDATE feedback SET status =
CASE
WHEN 1 THEN 0
WHEN 0 THEN 1
END
WHERE fid = 3;
SELECT CASE is_status
WHEN 1 THEN 'Replied'
WHEN 0 THEN 'Not Replied'
END AS 'fstatus'
FROM feedback;
Tuesday, September 2, 2014
DISPLAY DIV USING NONE AND BLOCK IN JAVASCRIPT
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DISPLAY USING NONE AND BLOCK</title>
</head>
<body>
<script language="JavaScript">
function setDisplay(id,attribute){
document.getElementById(id).style.display = attribute;
}
</script>
<div id="register" style="display: block;">
<input onclick="setDisplay('myform', 'block');setDisplay('register', 'none');" type="button" value="Register Now" />
</div>
<div id="myform" style="display: none;">
<table>
<tr>
<td>Userid:</td>
<td><input name="userid" TYPE="text" SIZE="20" MAXLENGTH="20"></td>
</tr>
<tr>
<td>Password:</td>
<td><input name="password" TYPE="password" SIZE="20" MAXLENGTH="20"></td>
</tr>
<tr>
<td>Name:</td>
<td><input name="name" TYPE="text" SIZE="30" MAXLENGTH="30"></td>
</tr>
<tr>
<td>Email:</td>
<td><input name="email" TYPE="text" SIZE="50" MAXLENGTH="50"></td></tr>
</table>
<input onclick="setDisplay('myform', 'none');setDisplay('register', 'block');" type="button" value="Go Back" />
</div>
</body>
</html>
SHOW AND HIDE DIV USING JAVASCRIPT
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>hide and display</title>
<script language="javascript">
function hideform(id,attribute)
{
document.getElementById(id).style.visibility= attribute;
}
</script>
</head>
<body>
<a href='#' onclick="hideform('loginfrm','visible')" >For login Click Here</a>
<div id='loginfrm' style="visibility:hidden;">
<form name='frm' action="login.php" method="post">
<table>
<TR><TD>Enter UserName:</TD><TD><input type="text" name="uname" /></TD></TR>
<TR><TD>Enter Password:</TD><TD><input type="text" name="upass" /></TD></TR>
<TR><TD><input type="submit" name="login" value="login"/></TD>
<TD><a href="#" onclick="hideform('loginfrm','hidden')">Close</a></TD></TR>
</table>
</form>
</div>
</body>
</html>
Wednesday, August 27, 2014
ASP.NET with C# Disconnected architecture
using System.Data.SqlClient;
public partial class Default2 : System.Web.UI.Page
{
string str = @"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Sagar\Documents\Visual Studio 2010\WebSites\kalp\App_Data\example.mdf;Integrated Security=True;User Instance=True";
SqlConnection con;
protected void Page_Load(object sender, EventArgs e)
{
con = new SqlConnection(str);
dispdata();
}
protected void submit_Click(object sender, EventArgs e)
{
con.Open();
SqlCommand cmd = new SqlCommand("insert into tblstu values('"+name.Text+"','"+city.Text+"')",con);
cmd.ExecuteNonQuery();
Response.Write("<script>alert('record inserted successfully');</script>");
con.Close();
}
protected void dispdata()
{
DataTable dt = new DataTable();
SqlCommand cmd = new SqlCommand("select * from tblstu",con);
SqlDataAdapter da = new SqlDataAdapter(cmd);
da.Fill(dt);
GridView1.DataSource=dt;
GridView1.DataBind();
}
}