HTTPS://www.youtube.com/c/nrclasses
Do like and share this channel for programming, stats and maths videos
Do like and share this channel for programming, stats and maths videos
glut-3.spec.pdf
403.4 KB
GLUT Library Function Details (Computer Graphics using OpenGL)
CPP solved slips.pdf
7.6 MB
CPP solved slips.pdf
SYBCS Pune University
SYBCS Pune University
Tomorrow
*SYBCS DS practical session*
by 10 AM to 1 PM
*No Fees*
Come with your friends
Any queries : call
Ramdas Sir 97303 81255
*SYBCS DS practical session*
by 10 AM to 1 PM
*No Fees*
Come with your friends
Any queries : call
Ramdas Sir 97303 81255
Define a thread to move numbers inside a panel vertically. The numbers should be created between 0 – 9 when user clicks on the Start Button. Each number should have a different color and vertical position (calculated randomly). Note: suppose user has clicked Start button 5 times then five numbers say 0, 1, 5, 9, 3 should be created and move inside the panel. Choice of number between 0 – 9 is random. Ensure that number is moving within the panel border only.
Slip5_Thread_MoveInsidePanel.java
1.1 KB
TYBCS_Java SlipNo 5
Slip17_Thread_MoveInsidePanel.java
1.2 KB
Define a thread to move alphabets inside a panel vertically. The alphabets should be created between A – Z when user clicks on the Start Button. Each alphabets should have a different color and vertical position (calculated randomly). Note: Suppose user has clicked buttons 5 times then five alphabets say A, E, C, G, J should be created and move inside the panel. Choice of alphabets between A-Z is random. Ensure that alphabet moving within the panel border only.
PrintTextThread.java
478 B
Define thread called “PrintTextThread” for printing text on command prompt for „n‟ number of times. Create three threads and run them. pass the text and „n‟ as parameters to the thread constructor. [30] Example: a) First thread prints “I am in FY” 10 times b) Second thread prints “I am in SY” 20 times c) Third thread prints “I am in TY” 30 times
RandomAverage.java
1.5 KB
Write a program to calculate the sum and average of an array of 1000 integers (generated randomly) using 10 threads. Each thread calculates the sum of 100 integers. Use these values to calculate average. [Use join method].