2023 STUF Coding International Competition (Simulation Practice)
Please check your registration number before answering the question:
International Scratch Online Mathematics Friendship Competition (registration number list)
* If you don’t have the registration number, please register first. Registration URL: https://stufcoding.com/register/
You need to wait for one or two days before the number is approved, and you can answer the example questions only after you have the registration number.

There are two versions o this question form:
1. Chinese: (for Taiwanese students)
https://forms.gle/RDxQqwmU745m5h6f7

2. Enflish ( for US Students )
https://forms.gle/pppkZfyPCzTtQv7v5

Example questions:
Example 1. Please write a program to input N, and judge whether N is a prime number?

Example  2. Please write a program to input three numbers a b c and calculate and display the sum of these three numbers?
Reference answer to this question: Calculate the sum (Single-line input Chinese example)
https://scratch.mit.edu/projects/839840134/

Sum numbers(one line input Example) English example.
It is recommended to switch to the English interface.
https://scratch.mit.edu/projects/839840134/

Example  3. Calculate the Greatest common factor and Least common multiple?
Email *
0-1: name *
0-2. Please fill in your registration number:
*
0-3: Email: 
*
Exercise 1. Please write a program to input N,  and judge whether N is a prime number?
Input format: Please enter a number N, and there should be no spaces before and after the number
Output format: If N is a prime number, print “N is a prime number”; Otherwise, “N is not a prime number”, and there should be no spaces before and after the number.

Input example 1: 7
Output example 1: 7 is a prime number

Input example 2: 12
Output example 2: 12 is not a prime number

Input example three: 23
Output example 3: 23 is a prime number


Clear selection
1-1: Please see the <Exercise 1. > above.
If input data #1: 5
Please fill in the answer to output data #1
30 points
1-2: Please see the <Exercise 1. > above.
If input data #2: 97
Please fill in the answer to output data #2
30 points
1-3: Please see the <Exercise 1. > above.
If input data #3: 123
Please fill in the answer to output data #3
40 points
1-4: File name: "[Your Registration Number]-Q1.sb3" (eg: 100-Q1.sb3)
Upload your Scratch file of the first problem (Exercise 1) ,
Please click the link below to upload your sb3 program
https://tinyurl.com/STUF-2023
Clear selection
Exercise 2. Please write a program to input three numbers a b c, and calculate the sum of these three numbers?
Input format   : Please enter three numbers a b c, separated by blank space.
Output format: Please print the sum of three numbers without spaces before and after.

Input example 1: 1 2 3
Output example 1: 6

Input example 2: 10 20 30
Output example 2: 60

Input example 3: 111 222 333
Output example 3: 666

*Reference answer to this question:
Calculate the sum (Single-line input Chinese example)
https://scratch.mit.edu/projects/839840134/

Sum numbers(one line input English Example)
English example It is recommended to switch to the English interface
Clear selection
2-1: Please see the <Exercise 2. > above.
If input data #1: 123 45 6
Please fill in the answer to output data #1
30 points
2-2: Please see the <Exercise 2.  > above.
If input data #2: 1 11 111
Please fill in the answer to output data #2
30 points
2-3: Please see the <Exercise 2. > above.
If input data #3: 0 00 000
Please fill in the answer to output data #3
40 points
2-4: File name: "[Your registration number]-Q2.sb3" (eg: 100-Q2.sb3)
Upload your Scratch file of the second problem (Exercise 2),
Please click the link below to upload your sb3 program
https://tinyurl.com/STUF-2023
Clear selection
Exercise 3. To calculate the greatest common factor and least common multiple, please write a program to input
Enter two numbers a b, (1<a<1000, 1<b<1000)
Please find the common factors of these two numbers
(Greatest Common Divisor, GCD)和 Least Common Multiple (LCM)
Input format: Please enter two numbers a b, and the numbers must be separated by a blank.
Output format: Please print out GCD and LCM, and there must be a blank space between the two digital GCDs.

Input example    1: 56 24
Output example 1: 8 168

Input example 2   :125 75
Output example 2: 25 375

Input example 3: 216 384
Output example three: 24 3456
Clear selection
3-1: Please see the <Exercise 3. > above.
If input data #1: 546 429
Please fill in the answer to output data #1
30 points
3-2: Please see the <Exercise 3. > above.
If input data #2: 9 24
Please fill in the answer to output data #2
30 points
3-3: Please see the <Exercise 3. > above.
If input data #3: 48 18
Please fill in the answer to output data #3
40 points
3-4: File name: "[Your registration number]-Q3.sb3" (eg: 100-Q3.sb3)
Upload your Scratch file of the third problem (Exercise 3) ,
Please click the link below to upload your sb3 program
https://tinyurl.com/STUF-2023
Clear selection
Note:
If you have question about how to answering the exercises and contests, please contact us at:
https://stufcoding.com/
yichiang2012@gmail.com

Thank you.
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy