Skip to content

ONE PLATFORM FOR ALL THE CSE LAB SOLUTIONS OF VTU - EASIEST, SIMPLE & CRYSTAL CLEAR CONTENT :) (SCHEMES INCLUDED ARE +2015 +2017 +2018)

License

Notifications You must be signed in to change notification settings

AbhishekMali21/VTU-CSE-LAB-SOLUTIONS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation


ONE STOP FOR CSE/ISE LAB SOLUTIONS OF VTU (SCHEMES INCLUDED ARE +2015 +2017 +2018)

author GitHub followers GitHub forks GitHub stars GitHub watchers

GitHub language count GitHub top language GitHub repo size GitHub commit activity

GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests LICENSE HitCount


๐Ÿ’ป VTU CSE/ISE LAB SOLUTIONS ๐Ÿ’ป

๐Ÿ‘‰ 1st / 2nd SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
COMPUTER PROGRAMMING LABORATORY SYLLABUS LINK BLOG

๐Ÿ‘‰ 3rd SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
DATA STRUCTURES LABORATORY SYLLABUS LINK BLOG

๐Ÿ‘‰ 4th SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
DESIGN AND ANALYSIS OF ALGORITHM LABORATORY SYLLABUS LINK BLOG
MICROPROCESSOR AND MICROCONTROLLER LABORATORY SYLLABUS LINK [BLOG]

๐Ÿ‘‰ 5th SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
COMPUTER NETWORK LABORATORY SYLLABUS LINK BLOG
DBMS LABORATORY SYLLABUS LINK BLOG

๐Ÿ‘‰ 6th SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
SYSTEM SOFTWARE AND OPERATING SYSTEM LABORATORY SYLLABUS LINK BLOG
COMPUTER GRAPHICS LABORATORY SYLLABUS LINK
CG ALTERNATIVE SOLUTION SYLLABUS LINK BLOG

๐Ÿ‘‰ 7th SEM

SYLLABUS DOWNLOAD CODE FILES VIEW BLOG
MACHINE LEARNING LABORATORY SYLLABUS LINK BLOG
WEB TECHNOLOGY LABORATORY SYLLABUS LINK BLOG

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 1st / 2nd SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


COMPUTER PROGRAMMING LABORATORY

To view blog ctrl + click http://bit.ly/vtucpllab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION OUTPUT
01. FAMILIARIZATION WITH COMPUTER HARDWARE &
PROGRAMMING ENVIRONMENT
LAB1.txt
PART - A
02. A COMMERCIAL CALCULATOR ALGORITHM2
FLOWCHART
LAB2.c
OUTPUT
03. ROOTS OF A QUADRATIC EQUATION ALGORITHM3
FLOWCHART
LAB3.c
OUTPUT
04. PALINDROME OR NOT ALGORITHM4
FLOWCHART
LAB4.c
OUTPUT
05. ELECTRICITY BOARD CHARGES ALGORITHM5
FLOWCHART
LAB5.c
OUTPUT
06. BINARY SEARCH ALGORITHM6
FLOWCHART
LAB6.c
OUTPUT
07. PRIME NUMBER ALGORITHM7
FLOWCHART
LAB7.c
OUTPUT
PART - B
08. MATRIX MULTIPLICATION ALGORITHM8
FLOWCHART PG1
FLOWCHART PG2
LAB8.c
OUTPUT
09. Sin(X) USING TAYLOR SERIES ALGORITHM9
FLOWCHART
LAB9.c
OUTPUT
10. STRING OPERATIONS ALGORITHM10
LAB10.c
OUTPUT
11. BUBBLE SORT ALGORITHM11
FLOWCHART
LAB11.c
OUTPUT
12. SQUARE ROOT OF A NUMBER ALGORITHM12
FLOWCHART
LAB12.c
OUTPUT
13. COMPUTE AVERAGE- MARKS ALGORITHM13
FLOWCHART
LAB13.c
OUTPUT
14. SUM, MEAN AND STANDARD DEVIATION ALGORITHM14
FLOWCHART
LAB14.c
OUTPUT
15. BINARY TO DECIMAL CONVERSION ALGORITHM15
FLOWCHART
LAB15.c
OUTPUT

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 3rd SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


DATA STRUCTURES LABORATORY

To view blog ctrl + click http://bit.ly/vtudslab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION
PART - A
01. ARRAY OPERATIONS ARRAY.c
02. OPERATIONS ON STRINGS PATTERN MATCHING.c
03. STACK OPERATIONS STACK.c
04. INFIX EXPRESSION TO POSTFIX EXPRESSION INFIXTOPOSTFIX.c
05. A SUFFIX EXPRESSION SUFFIX.c
05. B TOWER OF HANOI TOWEROFHANOI.c
06. CIRCULAR QUEUE CIRCULAR QUEUE.c
PART - B
07. SINGLY LINKED LIST (SLL) SLL.c
08. DOUBLY LINKED LIST (DLL) DLL.c
09. SINGLY CIRCULAR LINKED LIST (SCLL) POLYNOMIAL.c
10. BINARY SEARCH TREE (BST) BST.c
11. GRAPH(G) OF CITIES GRAPH.c
12. HASH TABLE(HT) HASHING.c

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 4th SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


DESIGN AND ANALYSIS OF ALGORITHM LABORATORY

To view blog ctrl + click http://bit.ly/vtudaalab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION STEPS & OUTPUT
01. A JAVA PROGRAM TO CREATE N STUDENTS lab1a.java OUTPUT
01. B JAVA PROGRAM TO IMPLEMENT STACK USING ARRAYS lab1b.java OUTPUT
02. A TO DISPLAY 3 STAFF OBJECTS OF ALL THREE CATEGORIES lab2a.java OUTPUT
02. B CUSTOMER CLASS (USE OF STRINGTOKENIZER) lab2b.java OUTPUT
03. A COMPUTE A/B lab3a.java OUTPUT
03. B MULTI-THREAD APPLICATION (3 THREADS) lab3b.java OUTPUT
04. QUICK SORT lab4.java OUTPUT
05. MERGE SORT lab5.java OUTPUT
06. A 0/1 KNAPSACK - DYNAMIC PROGRAMMING METHOD lab6a.java OUTPUT
06. B 0/1 KNAPSACK - GREEDY METHOD lab6b.java OUTPUT
07. DIJKSTRA'S ALGORITHM lab7.java OUTPUT
08. KRUSKAL'S ALGORITHM lab8.java OUTPUT
09. PRIM'S ALGORITHM lab9.java OUTPUT
10. A FLOYD'S ALGORITHM lab10a.java OUTPUT
10. B TRAVELLING SALES PERSON - DYNAMIC PROGRAMMING lab10b.java OUTPUT
11. SUBSET OF A SET S lab11.java OUTPUT
12. HAMILTONIAN CYCLES lab12.java OUTPUT

MICROPROCESSOR AND MICROCONTROLLER LABORATORY

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION
PART - A
01. BINARY SEARCH - TO SEARCH A KEY ELEMENT LAB1.asm
02. BUBBLE SORT ALGORITHM LAB2.asm
03. PALINDROME OR NOT LAB3.asm
04. COMPUTE nCr LAB4.asm
05. A READ THE CURRENT TIME AND DISPLAY LAB5A.asm
05. B READ THE CURRENT DAY AND DISPLAY LAB5B.asm
06. A DATA TRANSFER - ARM ASSEMBLY LANGUAGE LAB6a.s
06. B LOGICAL OPERATIONS - ARM ASSEMBLY LANGUAGE LAB6b.s
06. C ARITHMETIC OPERATIONS - ARM ASSEMBLY LANGUAGE LAB6c.s
07. A ARITHMETIC - ARM MICROPROCESSOR USING KEIL LAB7a.s
07. B LOGICAL - ARM MICROPROCESSOR USING KEIL LAB7b.s
PART - B
08. A BCD UP-DOWN COUNTER (00-99) LAB8A.asm
08. B READ INPUTS X, Y FROM LPC & DISPLAY X * Y LAB8B.asm
09. DISPLAY MESSAGES โ€œFIREโ€ AND โ€œHELPโ€ LAB9.asm
10. TO DRIVE A STEPPER MOTOR INTERFACE LAB10.asm
11. SINE WAVE USING DAC INTERFACE LAB11.asm
12. DISPLAY TEXT MESSAGES & NUMBERS ON LCD LAB12.c
13. ROTATE STEPPER MOTOR - ARM PROCESSOR LAB13.c

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 5th SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


COMPUTER NETWORK LABORATORY

To view blog ctrl + click https://bit.ly/vtucntlab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION STEPS & OUTPUT
PART - A
01. POINT TO POINT NETWORK WITH DUPLEX LINKS cn1.tcl
cn1.AWK
STEPS
OUTPUT
02. TRANSMISSION OF PING MESSAGES cn2.tcl
cn2.AWK
STEPS
OUTPUT
03. ETHERNET LAN USING N NODES cn3.tcl
cn3.AWK
STEPS
OUTPUT
XGRAPH - 1
XGRAPH - 2
XGRAPH - 3
04. SIMPLE ESS IN WIRE-LESS LAN cn4.tcl
cn4.AWK
STEPS
OUTPUT
05. PERFORMANCE OF GSM ON NS2 cn5.tcl
cn5.AWK
STEPS
OUTPUT
06. PERFORMANCE OF CDMA ON NS2 cn6.tcl OUTPUT
PART - B
07. ERROR DETECTING CODE USING CRC CRC.JAVA OUTPUT
08. BELLMAN FORD ALGORITHM BELLMANFORD.JAVA OUTPUT
09. SERVER PROGRAM USING TCP
CLIENT PROGRAM USING TCP
FILE TO DISPLAY
SERVER.JAVA
CLIENT.JAVA
FILE.TXT
OUTPUT
10. SERVER PROGRAM USING UDP
CLIENT PROGRAM USING UDP
UDPServer.java
UDPClient.java
OUTPUT
11. RSA ALGORITHM RSA.java OUTPUT
12. LEAKY BUCKET ALGORITHM LEAKY.java OUTPUT

DBMS LABORATORY

To view blog ctrl + click https://bit.ly/vtudbmslab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION
01. LIBRARY DATABASE LIBRARY DATABASE.sql
02. ORDER DATABASE ORDER DATABASE.sql
03. MOVIE DATABASE MOVIE DATABASE.sql
04. COLLEGE DATABASE COLLEGE DATABASE.sql
05. COMPANY DATABASE COMPANY DATABASE.sql

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 6th SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


SYSTEM SOFTWARE AND OPERATING SYSTEM LABORATORY

To view blog ctrl + click https://bit.ly/vtusslab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION OUTPUT
01. A LEX - RECOGNIZE VALID ARITHMETIC EXPRESSION LAB1.l OUTPUT
01. B YACC - EVALUATE ARITHMETIC EXPRESSION LAB1B.l
LAB1B.y
OUTPUT
02. YACC - RECOGNIZE ALL STRINGS LAB2.l
LAB2.y
OUTPUT
03. C - CONSTRUCT PREDICTIVE/LL(1) PARSING TABLE LAB3.c OUTPUT
04. C - SHIFT REDUCE PARSING TECHNIQUE LAB4.c OUTPUT
05. C - GENERATE MACHINE CODE USING TRIPLES LAB5.c
input.txt
output.txt
OUTPUT
06. A LEX - ELIMINATE COMMENT LINES IN A C PROGRAM LAB6.l
f1.c
f2.c
OUTPUT
06. B YACC - RECOGNIZE VALID IDENTIFIER, OPERATORS AND KEYWORDS LAB6B.l
LAB6B.y
inputfile.c
OUTPUT
07. C - ROUND ROBIN (RR) SCHEDULING ALGORITHM LAB7.c OUTPUT
08. C - BANKERโ€™S ALGORITHM LAB8.c OUTPUT
09. C - PAGE REPLACEMENT ALGORITHMS LRU AND FIFO LAB9.c OUTPUT
10. A C - A NUMERICAL CALCULATOR LAB10a.c OUTPUT
10. B C - PAGE REPLACEMENT TECHNIQUE LAB10b.c OUTPUT
11 LEX - GIVEN SENTENCE IS SIMPLE OR COMPOUND LAB11.l OUTPUT
12 C++ EMULATE UNIX ln COMMAND LAb12.cpp OUTPUT

COMPUTER GRAPHICS LABORATORY

To view blog ctrl + click https://bit.ly/vtucgvlab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION OUTPUT
01. BRESENHAMโ€™S LINE DRAWING ALGORITHM FOR ALL TYPES OF SLOPE LAB1.cpp OUTPUT
02. CREATE AND ROTATE A TRIANGLE ABOUT THE ORIGIN AND A FIXED POINT LAB2.cpp OUTPUT
03. COLOUR CUBE AND SPIN IT USING OPENGL TRANSFORMATION MATRICES LAB3.cpp OUTPUT
04. COLOR CUBE AND ALLOW THE USER TO MOVE THE CAMERA SUITABLY TO EXPERIMENT LAB4.cpp OUTPUT
05. CLIP A LINES USING COHEN-SUTHERLAND ALGORITHM LAB5.cpp OUTPUT
06. SIMPLE SHADED SCENE CONSISTING OF A TEA POT ON A TABLE LAB6.cpp OUTPUT
07. TETRAHEDRON TO FORM 3D SIERPINSKI GASKET LAB7.cpp OUTPUT
08. ANIMATE A FLAG USING BEZIER CURVE ALGORITHM LAB8.cpp OUTPUT
09. FILL THE POLYGON USING SCAN LINE ALGORITHM LAB9.cpp OUTPUT

CG ALTERNATIVE SOLUTION

To view blog ctrl + click https://bit.ly/vtucgvlab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION OUTPUT
01. BRESENHAMโ€™S LINE DRAWING ALGORITHM FOR ALL TYPES OF SLOPE PROG1.cpp OUTPUT
02. CREATE AND ROTATE A TRIANGLE ABOUT THE ORIGIN AND A FIXED POINT PROG2.cpp OUTPUT
03. COLOUR CUBE AND SPIN IT USING OPENGL TRANSFORMATION MATRICES PROG3.cpp OUTPUT
04. COLOR CUBE AND ALLOW THE USER TO MOVE THE CAMERA SUITABLY TO EXPERIMENT PROG4.cpp OUTPUT
05. CLIP A LINES USING COHEN-SUTHERLAND ALGORITHM PROG5.cpp OUTPUT
06. SIMPLE SHADED SCENE CONSISTING OF A TEA POT ON A TABLE PROG6.cpp OUTPUT
07. TETRAHEDRON TO FORM 3D SIERPINSKI GASKET PROG7.cpp OUTPUT
08. ANIMATE A FLAG USING BEZIER CURVE ALGORITHM PROG8.cpp OUTPUT
09. FILL THE POLYGON USING SCAN LINE ALGORITHM PROG9.cpp OUTPUT

๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™ 7th SEMESTER ๐Ÿ“— ๐Ÿ“˜ ๐Ÿ“™


MACHINE LEARNING LABORATORY

To view blog ctrl + click http://bit.ly/vtumllab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION PYTHON NOOTEBOOK WITH OUTPUT
01. FIND-S ALGORITHM LAB1.py
trainingdata.csv
LAB 1.ipynb
02. CANDIDATE-ELIMINATION ALGORITHM LAB2.py
trainingdata.csv
LAB 2.ipynb
03. ID3 ALGORITHM LAB3.py
tennisdata.csv
LAB 3.ipynb
LAB 3 Alt.ipynb
04. BACKPROPAGATION ALGORITHM LAB4.py LAB 4.ipynb
05. NAรVE BAYESIAN CLASSIFIER LAB5.py
tennisdata.csv
LAB 5.ipynb
06. NAรVE BAYESIAN CLASSIFIER (USING API) LAB6.py
document.csv
LAB 6.ipynb
07. A BAYESIAN NETWORK LAB7.py
heartdisease.csv
LAB 7.ipynb
LAB 7 Alt.ipynb
08. EM ALGORITHM & K-MEANS ALGORITHM LAB8.py LAB 8.ipynb
09. K-NEAREST NEIGHBOUR ALGORITHM LAB9.py LAB 9.ipynb
LAB 9 Alt.ipynb
10. LOCALLY WEIGHTED REGRESSION ALGORITHM LAB10.py LAB 10.ipynb

WEB TECHNOLOGY LABORATORY

To view blog ctrl + click http://bit.ly/vtuwtlab

EXP NO EXPERIMENT NAME EXPERIMENT SOLUTION OUTPUT
01. SIMPLE CALCULATOR USING JAVASCRIPT PROG1.html OUTPUT
02. SQUARES AND CUBES OF NUMBERS PROG2.html OUTPUT
03. TEXT-GROWING & TEXT-SHRINKING PROG3.html OUTPUT
04. LEFT MOST VOWEL & REVERSE NUMBER PROG4.html OUTPUT4a
OUTPUT4b
05. XML - STORE INFORMATION ABOUT A STUDENT PROG5.xml
PROG5.css
OUTPUT
06. PHP - NUMBER OF VISITORS PROG6.php
count.txt
OUTPUT
07. PHP - DIGITAL CLOCK PROG7.php OUTPUT
08. A PHP - SIMPLE CALCULATOR PROG8A.php OUTPUT
08. B PHP - MATRIX OPERATIONS PROG8B.php OUTPUT
09. PHP - STATES SEARCH OPERATIONS PROG9.php OUTPUT
10. PHP - SORTING THE STUDENT RECORDS PROG10.php
weblab.sql
OUTPUT

FEEL FREE TO SEND PULL REQUESTS WITH UPDATES IN CASE YOU FIND ANY ISSUES :)