BCS BCA Practicals and MCQ's
583 subscribers
66 photos
4 videos
67 files
92 links
This channel is helpful for the students of BCS/ BCA (Science) / BBA (CA). You will get all the slips solutions and exam preparation notes like PDFs, slides and mcqs too here.
Download Telegram
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.
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].
For TYBCA VB.NET projects
Subscribe our YouTube channel for Programming Videos



https://www.youtube.com/channel/UClJUmeVl_n2pbRbA1XNUPMA
TYBCA SLIPS-25marks.pdf
1.1 MB
TYBCA SLIPS-25marks.pdf

Java Slips 25 marks
The minimum number of temporary variables needed to swap the contents of two variables is
Anonymous Quiz
24%
1
44%
2
32%
0
int a=4, b=6;
printf("%d", a!=b);
Output is
Anonymous Quiz
32%
Error Message
19%
Prints 0
25%
Prints 1
24%
None of the above
8051_MCQ's.pdf
851.7 KB
Unipune may take mcq's test hance the study material
Sybcs electronics
8051 Microcontroller

8051_MCQ's.pdf
which subject mcq's you want ?
Anonymous Poll
24%
VB6
76%
CPP
Which subject mcq's you want ?
Anonymous Poll
61%
Advance Java
39%
PHP