Breaking News

Friday 14 September 2018

SOFTWARE ENGINEERING (TUTORIAL-3)

SOFTWARE ENGINEERING (TUTORIAL-3)


=> Considering an immense expertise in software development, the ABSOLUTE BEGINNERS INC recently allotted you a mega project the goal of the project is to create a database of all hindi films released since 2000. The software would allow one to generate list of top 10 hit films, top 10 flop films, best comedy films and so on. Using your prior experience you have decided the approximate size of each module of the software as follows


1) data entry (0.9KDSI)


2) data update (0.7KDSI)


3) query (0.9KDSI)


4) report generation and display (2KDSI)




Also take into consideration the following cost drivers with their rating


1) Storage constraints (low)


2) Experience in developing similar software (high)


3) Programming capability of developer (high)


4) Use of software tools (high)


5) Application of software engineering methods (high)


Now answer:


1) Find the project type.
=>SEMI DETECHED
2) Find project size.
=>
3) Find initial effort estimation.
=> BASIC MODEL


A=>3.2
B=>1.12


E=A*(KLOC) rest to B
E=3.2*(15) rest to 1.12

4) Find adjusted effort estimation.
=>=>INTERMIDIAT MODEL
COST DRIVERS
1) Storage constraints (low)
0.94
2) Experience in developing similar software (high)
0.95
3) Programming capability of developer (high)
0.86
4) Use of software tools (high)
0.91
5) Application of software engineering methods (high)
0.6
E=(A*(KLOC) rest to B)*EAB
5) Find schedule.
=>
MM=A*KDSI*B
=3.2*4.5*1.12
=>17.28
TDEV=2.5*MM*B
=2.5*17.28*1.12
=>48.38


6) Find minimum size of team you would require to develop this system.
=>
EFFORT APPLIED
E=A*(KLOC) rest to B[MAN_MONTH]
=3.2*(15) rest to 1.12(10)
=>480
PEOPLE REQUIRED
p=E/TDEV
=480/48
=>10


7) Assuming that your client would pay Rs.50000/month of development. How much would be the likely billing?
=>50000*48
=>2400000



5 comments:

  1. if (richTextBox1.Modified == true)

    {

    DialogResult dr = MessageBox.Show("Do you want to save changes to the opened file", "unsaved document", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

    if (dr == DialogResult.No)

    {

    richTextBox1.Modified = false;

    OpenFile();
    }

    else

    {

    if (this.Text == "Untitled-Digital Diary")

    {

    SaveFile();

    OpenFile();
    }

    else

    {

    DialogResult dr1 = MessageBox.Show("the text in the file has been changed.Do you want to save the changes", "Open", MessageBoxButtons.YesNo, MessageBoxIcon.Question);

    if (dr1 == DialogResult.Yes)

    {

    richTextBox1.SaveFile(this.Text);

    OpenFile();

    }

    else

    {

    OpenFile();

    }

    }

    }

    }

    else

    {

    OpenFile();

    }

    ReplyDelete
  2. SqlConnection con = new SqlConnection(@"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=E:\16SOECE11098(C#)\Tutorial_08\Tutorial08\Tutorial08\Database1.mdf;Integrated Security=True");
    public Form2()
    {
    InitializeComponent();
    }

    private void Form2_Load(object sender, EventArgs e)
    {

    }

    private void button1_Click(object sender, EventArgs e)
    {
    string gen = "";
    string staus = "";

    if (checkBox1.Checked)
    {
    staus = "Active";
    }
    else
    {
    staus = "Inactive";
    }
    if (radioButton1.Checked)
    {
    gen = radioButton1.Text;
    }
    else if (radioButton2.Checked)
    {
    gen = radioButton2.Text;
    }


    SqlCommand cmd = new SqlCommand("insert into emp values(@name,@gender,@city,@email,@status,@salary)", con);
    cmd.Parameters.AddWithValue("@name", textBox1.Text);
    cmd.Parameters.AddWithValue("@gender",gen);
    cmd.Parameters.AddWithValue("@city", comboBox1.SelectedItem.ToString());
    cmd.Parameters.AddWithValue("@email", textBox2.Text);
    cmd.Parameters.AddWithValue("@status", staus);
    cmd.Parameters.AddWithValue("@salary", textBox3.Text);
    con.Open();
    cmd.ExecuteNonQuery();
    con.Close();
    MessageBox.Show("Added");
    }

    ReplyDelete
  3. public Hashtable countAlphabet(String aString) {
    Hashtable table = new Hashtable();
    if (aString.length > 4000) return table;
    StringBuffer buffer = new StringBuffer(aString);
    while (buffer. length() > 0){
    String firstChar buffer.substring(0, 1);
    Integer count = (Integer)table.get(firstChar);
    if (count == null){
    count = new integer(1);
    }
    else{
    count = new Integer(count.intvalue0 1);

    }
    table.put(firstchar, count);
    buffer.delete(0, 1);
    }
    return table;
    }

    ReplyDelete
  4. public class Main
    {


    public static boolean checkString(String abc){
    char[] temp=abc.toCharArray();
    int count=0;
    if(!(abc.indexOf("aba") != -1)){
    count++;

    }
    else{

    if(temp[0]=='a' && temp[temp.length-1]=='b'){

    for(int i=0;i<temp.length-1;i++)
    {
    if(temp[i]=='a' || temp[i]=='b')
    {

    }
    else{
    count++;
    }
    }

    }
    else{
    count++;
    }
    }
    if(count==0)
    {
    return true;
    }
    else{
    return false;
    }


    }

    public static void main(String[] args) {
    String s="aaaaaab";
    System.out.println(checkString(s));
    }
    }

    ReplyDelete
  5. https://vishvasbook.com/wp-content/uploads/2016/07/sql-answers.pdf

    ReplyDelete