Thursday, September 24, 2026

PROGRAMMING FOR PROBLEM SOLVING (PPS) (BE01000121 / BE01R00121) - Question Bank with Solution

 

PROGRAMMING FOR PROBLEM SOLVING (PPS) (BE01000121 / BE01R00121) Question Bank with Solution


Subject Name: PROGRAMMING FOR PROBLEM SOLVING (PPS)

Subject Code: BE01000121 / BE01R00121

Semester: 1st Sem / 2nd Sem

Year: 1st Year

Program: Bachelor of Engineering (BE)

Branch: All Branch (CSE/ IT/ EC/ Civil/ Chemical/ Electrical/ Mechanical, etc.)

University: Gujarat Technological University (GTU)


PROGRAMMING FOR PROBLEM SOLVING (PPS)- Question Bank with Solution

Google Drive Link=

https://drive.google.com/file/d/1HnthQguwwGRBtae3lZbwr8t1BX0zyOYa/view?usp=sharing

Find the study material of given subject on above link.


Software used to run all given PPS Subject Programs:

Dev C++ Software

Object Oriented Programming with JAVA (DI03016051) - Question Bank with Solution

Object Oriented Programming with JAVA (DI03016051)

Question Bank with Solution

(English & Gujarati Language)


Subject Name: Object Oriented Programming with JAVA (OOPJ)

Subject Code: DI03016051

Semester: 3rd Sem (Diploma)

Program: Diploma Engineering (DE)

Branch: Information Technology (IT)

University: Gujarat Technological University (GTU)


Object Oriented Programming with JAVA (OOPJ)- Question Bank with Solution

Google Drive Link=

https://drive.google.com/file/d/1g9i4iyJFrCXITaUm8q7PqV5cRYZmbF9l/view?usp=sharing

Find the study material of given subject on above link.

 

Software used to run all given Java Programs:

Apache NetBeans

Wednesday, November 20, 2024

ADA All Practical Solution With Screenshot

ANALYSIS AND DESIGN OF ALGORITHMS (3150703)

Degree Engineering

Branch= COMPUTER ENGINEERING, CSE, IT

Semester= 05


ADA All Practical Solution With Screenshot

Link= https://drive.google.com/file/d/1Kl6Z0trokiHnk8BBmZgWsl-UlhsGl40_/view?usp=sharing


Find all the Practical Solution of given subject on above link.


#ADA  #Algorithm  #Analysis  #GTU  #Computer

Friday, March 11, 2022

DV Lab -3-H- Develop Following Program Using HTML5 and JavaScript

GTU DV Lab -3- Develop Following Program Using HTML5 and JavaScript


3-H- Read JSON Data and draw Data Table

File Name-1= DV Lab3h JavaScript Bar Charts json1.html
Program Code:

<!DOCTYPE HTML>
<html>
<head>
  <script type="text/javascript">
  window.onload = function () {
    var chart = new CanvasJS.Chart("chartContainer", {            
      title:{
        text: "GTU DV LAB-3-H-Fruits sold in First & Second Quarter"              
      },

      data: [  //array of dataSeries     
      { //dataSeries - first quarter
   /*** Change type "column" to "bar", "area", "line" or "pie"***/        
       type: "column",
       name: "First Quarter",
       dataPoints: [
       { label: "banana", y: 58 },
       { label: "orange", y: 29 },
       { label: "apple", y: 80 },                                    
       { label: "mango", y: 74 },
       { label: "grape", y: 64 }
       ]
     },
     { //dataSeries - second quarter

      type: "column",
      name: "Second Quarter",                
      dataPoints: [
      { label: "banana", y: 63 },
      { label: "orange", y: 73 },
      { label: "apple", y: 88 },                                    
      { label: "mango", y: 77 },
      { label: "grape", y: 60 }
      ]
    }
    ]
  });

    chart.render();
  }
  </script>
  <script type="text/javascript" src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
</head>
<body>
  <div id="chartContainer" style="height: 300px; width: 100%;">
  </div>
</body>
</html>



Output:








DV Lab -3-G- Develop Following Program Using HTML5 and JavaScript

GTU DV Lab -3- Develop Following Program Using HTML5 and JavaScript



3-G- Read the data XML file and draw Simple Chart

File Name-1= DV Lab3-g draw Data Table.html
Program Code:

<!DOCTYPE html>
<html>
<head>
  <title>Chart using XML Data</title>
  <script type="text/javascript" src="https://canvasjs.com/assets/script/jquery-1.11.1.min.js"></script>
  <script type="text/javascript" src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
  <script type="text/javascript">
  window.onload = function() {
var dataPoints = [];
$.get("https://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=xml", function(data) {
$(data).find("point").each(function () {
var $dataPoint = $(this);
var x = $dataPoint.find("x").text();
var y = $dataPoint.find("y").text();
dataPoints.push({x: parseFloat(x), y: parseFloat(y)});
});
var chart = new CanvasJS.Chart("chartContainer", {
title: {
    text: "GTU DV LAB-3-G-Chart Using XML Data",
},
data: [{
    type: "column",
    dataPoints: dataPoints,
  }]
});
chart.render();
});
  }
  </script>
</head>
<body>
<div id="chartContainer" style="width:100%; height:300px;"></div>
</body>
</html>



Here we have to write 2-files.
Second file is XML file which is shown below.

File Name-2= DV Lab3-g XML file.xml
Program Code:
<?xml version="1.0"?>
<data>
<point>
<x>5</x>
<y>8</y>
</point>
<point>
<x>6</x>
<y>7</y>
</point>
<point>
<x>7</x>
<y>10</y>
</point>
<point>
<x>8</x>
<y>15</y>
</point>
<point>
<x>9</x>
<y>16</y>
</point>
<point>
<x>10</x>
<y>21</y>
</point>
<point>
<x>11</x>
<y>22</y>
</point>
<point>
<x>12</x>
<y>26</y>
</point>
<point>
<x>13</x>
<y>29</y>
</point>
<point>
<x>14</x>
<y>27</y>
</point>
</data>



Output:






DV Lab -3-F- Develop Following Program Using HTML5 and JavaScript

GTU DV Lab -3- Develop Following Program Using HTML5 and JavaScript



3-F- Read the data XML file and draw Data Table

File Name-1= DV Lab3-f draw Data Table.html
Program Code:

<!DOCTYPE html>
<html>
<head>
  <title>Chart using XML Data</title>
  <script type="text/javascript" src="https://canvasjs.com/assets/script/jquery-1.11.1.min.js"></script>
  <script type="text/javascript" src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
  <script type="text/javascript">
  window.onload = function() {
var dataPoints = [];
$.get("https://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=xml", function(data) {
$(data).find("point").each(function () {
var $dataPoint = $(this);
var x = $dataPoint.find("x").text();
var y = $dataPoint.find("y").text();
dataPoints.push({x: parseFloat(x), y: parseFloat(y)});
});
var chart = new CanvasJS.Chart("chartContainer", {
title: {
    text: "GTU DV LAB-3-f-Chart Using XML Data",
},
data: [{
    type: "column",
    dataPoints: dataPoints,
  }]
});
chart.render();
});
  }
  </script>
</head>
<body>
<div id="chartContainer" style="width:100%; height:300px;"></div>
</body>
</html>



Here we have to write 2-files.
Second file is XML file which is shown below.

File Name-2= DV Lab3-f XML file.xml
Program Code:
<?xml version="1.0"?>
<data>
<point>
<x>5</x>
<y>8</y>
</point>
<point>
<x>6</x>
<y>7</y>
</point>
<point>
<x>7</x>
<y>10</y>
</point>
<point>
<x>8</x>
<y>15</y>
</point>
<point>
<x>80</x>
<y>16</y>
</point>
<point>
<x>20</x>
<y>23</y>
</point>
<point>
<x>11</x>
<y>22</y>
</point>
<point>
<x>12</x>
<y>26</y>
</point>
<point>
<x>13</x>
<y>29</y>
</point>
<point>
<x>45</x>
<y>27</y>
</point>
</data>



Output: