Sign Up

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have permission to ask a question, You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here
Sign InSign Up

SIKSHAPATH

SIKSHAPATH Logo SIKSHAPATH Logo

SIKSHAPATH Navigation

  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Home
  • Questions
  • Blog
    • Computer Science(CSE)
    • NPTEL
    • Startup
  • Shop
    • Internshala Answers
  • About
    1. Asked: November 18, 2021In: Programming Language

      Write a program to insert values in a table at run time using JDBC.

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 18, 2021 at 10:23 pm
      This answer was edited.

      write your database name after localhost:3306/ example: jdbc:mysql://localhost:3306/dbname write your table name after example:insert into tablename(id,name,city) values('001','HARRY','PUNJAB')"   TAP ON ATTACHMENT LINK FOR ANSWER:  

      write your database name after localhost:3306/
      example: jdbc:mysql://localhost:3306/dbname
      
      
      write your table name after
      example:insert into tablename(id,name,city) values('001','HARRY','PUNJAB')"

        TAP ON ATTACHMENT LINK FOR ANSWER:  

      See less
      Attachment

        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    2. Asked: November 18, 2021In: Programming Language

      Design a simple calculator (called SwingCalculator). Hints: Set the ContentPane to BorderLayout. Add a JTextField (tfDisplay) to the NORHT. Add a JPanelw (panelButtons) to the CENTER. Set the JPanel to Grid Layout of 4×4, and add the 16 buttons. Operator buttons “+”, “-“, “*”, “/”, “%” and “=”.

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 18, 2021 at 9:54 pm

      public void actionPerformed(ActionEvent ae) { JButton pb = (JButton) ae.getSource(); if (pb == b15) ...... DOWNLOAD ATTACHMENT FOR ANSWER:

       public void actionPerformed(ActionEvent ae) {
                      JButton pb = (JButton) ae.getSource();
                      if (pb == b15)
      
      
      ......
      
      DOWNLOAD ATTACHMENT FOR ANSWER: 
      See less
      Attachment

        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    3. Asked: November 15, 2021In: Data Structure

      Create a binary search tree with the input given below: 98, 2, 48, 12, 56, 32, 4, 67, 23, 87, …

      I'M ADMIN
      Best Answer
      I'M ADMIN
      Added an answer on November 18, 2021 at 8:39 pm

      Create a binary search tree with the input given below: 98, 2, 48, 12, 56, 32, 4, 67, 23, 87, 23, 55, 46 (a) Insert 21, 39, 45, 54, and 63 into the tree (b) Delete values 23, 56, 2, and 45 from the tree   HIT THE ATTACHMENT LINK FOR ANSWER:

      Create a binary search tree with the input given below: 98, 2, 48, 12, 56, 32, 4, 67, 23, 87, 23, 55, 46

      (a) Insert 21, 39, 45, 54, and 63 into the tree

      (b) Delete values 23, 56, 2, and 45 from the tree

       

      HIT THE ATTACHMENT LINK FOR ANSWER:

      See less
      Attachment

        • -12
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    4. Asked: November 18, 2021In: Other

      Create an AVL tree using the following sequence of data: 16, 27, 9, 11, 36, 54, 81, 63, 72.

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 18, 2021 at 4:04 pm

      Each node in the AVL Tree possesses any one of the following properties: A node is called left heavy if the largest path in its left subtree is one level larger than the largest path of its right subtree. TAP ON ATTACHMENT FOR FULL ANSWER:

      Each node in the AVL Tree possesses any one of the following properties:

      A node is called left heavy if the largest path in its left subtree is one level larger than the largest path of its right subtree.

      TAP ON ATTACHMENT FOR FULL ANSWER:

      See less
      Attachment

        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    5. Asked: November 18, 2021In: Mathematics

      Solve the NLPP by Lagrange’s multiplier  

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 18, 2021 at 3:55 pm

      Solve the NLPP by Lagrange’s multiplier

      Solve the NLPP by Lagrange’s multiplier

      See less
      Attachment

        • 3
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    6. Asked: November 16, 2021In: Programming Language

      Election day

      I'M ADMIN
      I'M ADMIN
      Added an answer on November 18, 2021 at 12:22 am

      package com.explain; import java.util.Scanner; class Election{ public static void main(String[] args) { int votesForPolly; int votesForErnest; int totalErnest; String responce; Scanner scan = new Scanner(System.in); System.out.println(); System.out.println("Election Day Vite Counting Program"); SystRead more

      
      package com.explain;
      
      import java.util.Scanner;
      
      class Election{
          public static void main(String[] args) {
              int votesForPolly;
              int votesForErnest;
              int totalErnest;
              String responce;
      
              Scanner scan = new Scanner(System.in);
      
              System.out.println();
              System.out.println("Election Day Vite Counting Program");
              System.out.println();
      
              int x;
              votesForPolly =0;
              votesForErnest=0;
              totalErnest=0;
      
              while(true){
                  totalErnest++;
                  System.out.println("Whom do you want?\n1.Polly\n2.Ernest\n(1/2):");
                  x = scan.nextInt();
      
                  if(x==1){
                      votesForPolly++;
                  }
                  else if (x==2) {
                      votesForErnest++;
                  }
      
                  System.out.println("Are there more precincts to report(y/n):");
                  responce = scan.next();
                  if(responce.toUpperCase().equals("N")){
                      break;
                  }
              }
      
              System.out.println("Total votes for Polly:"+votesForPolly);
              System.out.println("Total votes for Ernest:"+votesForErnest);
              System.out.println("Total votes :"+totalErnest);
      
              float ernestPer = (votesForErnest*100/totalErnest);
              float pollyPer = (votesForPolly*100/totalErnest);
      
              System.out.println("Ernest:"+ernestPer+"%");
              System.out.println("Polly:"+pollyPer+"%");
      
      
              if(votesForErnest>votesForPolly){
                  System.out.println("Ernest won by:"+(votesForErnest-votesForPolly)+"more precincts/votes");
              }
              else if (votesForErnest<votesForPolly) {
                  System.out.println("Polly won by:"+(votesForPolly-votesForErnest)+"more precincts/votes");
              }
              else if(votesForErnest==votesForPolly){
                  System.out.println("It was a tie with 50% for both");
              }
          }
      }
      
      
      See less
        • 0
      • Share
        Share
        • Share on WhatsApp
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
    1 … 114 115 116 117 118 … 122

    Sidebar

    store ads

    Stats

    • Questions 1k
    • Answers 1k
    • Posts 149
    • Best Answers 89
    • This Free AI Tool Translates Entire Books in Minute !
    • AI News: 🎬 Hollywood’s AI Studios, 🎓 OpenAI’s Latest Gift to Educators, 🚚 Class8 Bags $22M, 🧠 Google Gemini’s Memory Upgrade
    • AI NEWS: Legal Action Against OpenAI, $16M Paid, & Elon Musk’s Praise from Investor 🤖💰📑 | AI Boosts Cloud Seeding for Water Security 🌱💧
    • AI News: 🎬AI Video Tool Scam Exposed🤯, 🛰️ AI-Powered Drones to Ukraine 😱, Google’s $20M AI Push, Sam Altman Joins SF’s Leadership Team
    • AI News: 🤝 Biden Meets Xi on AI Talks, 💡 Xavier Niel’s Advice for Europe, ♻️ Hong Kong’s Smart Bin Revolution, 🚀 AI x Huawei

    Explore

    • Recent Questions
    • Questions For You
    • Answers With Time
    • Most Visited
    • New Questions
    • Recent Questions With Time

    Footer

    SIKSHAPATH

    Helpful Links

    • Contact
    • Disclaimer
    • Privacy Policy Notice
    • TERMS OF USE
    • FAQs
    • Refund/Cancellation Policy
    • Delivery Policy for Sikshapath

    Follow Us

    © 2021-24 Sikshapath. All Rights Reserved