FizzBuzz

所属分类:论文
开发工具:PowerShell
文件大小:0KB
下载次数:0
上传日期:2019-11-01 18:02:13
上 传 者sh-1993
说明:  “嗡嗡作响测试”是一个面试问题,旨在帮助筛选出99.5%的编程职位候选人,他们似乎不会编程...,
(The "Fizz-Buzz test" is an interview question designed to help filter out the 99.5% of programming job candidates who can t seem to program their way out of a wet paper bag. The text of the programming assignment is as follows: "Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number)

文件列表:
.vscode/ (0, 2019-11-01)
.vscode/launch.json (1757, 2019-11-01)
.vscode/settings.json (161, 2019-11-01)
.vscode/tasks.json (1930, 2019-11-01)
FizzBuzz.txt (1028, 2019-11-01)
LICENSE (1072, 2019-11-01)
Write-OutputFile.ps1 (713, 2019-11-01)
run_all.ps1 (8141, 2019-11-01)
src/ (0, 2019-11-01)
src/ASM/ (0, 2019-11-01)
src/ASM/armhf/ (0, 2019-11-01)
src/ASM/armhf/fizzbuzz.S (1214, 2019-11-01)
src/ASM/armhf/linux_build.sh (121, 2019-11-01)
src/ASM/armhf/run_fizzbuzz.sh (67, 2019-11-01)
src/ASM/armhf/test.json (314, 2019-11-01)
src/ASM/x64/ (0, 2019-11-01)
src/ASM/x64/fizzbuzz.asm (1134, 2019-11-01)
src/ASM/x64/linux_build.sh (113, 2019-11-01)
src/ASM/x64/test.json (312, 2019-11-01)
src/ASM/x86/ (0, 2019-11-01)
src/ASM/x86/fizzbuzz.asm (1178, 2019-11-01)
src/ASM/x86/linux_build.sh (118, 2019-11-01)
src/ASM/x86/test.json (321, 2019-11-01)
src/C++/ (0, 2019-11-01)
src/C++/fizzbuzz.cpp (426, 2019-11-01)
src/C++/linux_build.sh (80, 2019-11-01)
src/C++/test.json (309, 2019-11-01)
src/C/ (0, 2019-11-01)
src/C/fizzbuzz.c (733, 2019-11-01)
src/C/linux_build.sh (78, 2019-11-01)
src/C/test.json (301, 2019-11-01)
src/CSharp/ (0, 2019-11-01)
src/CSharp/FizzBuzz.csproj (178, 2019-11-01)
src/CSharp/Program.cs (888, 2019-11-01)
src/CSharp/test.json (294, 2019-11-01)
src/CSharpExpressions/ (0, 2019-11-01)
src/CSharpExpressions/CSharpExpressions.csproj (212, 2019-11-01)
src/CSharpExpressions/Program.cs (1402, 2019-11-01)
... ...

# The FizzBuzz Test Collection The "Fizz-Buzz test" is an interview question designed to help filter out the 99.5% of programming job candidates who can't seem to program their way out of a wet paper bag. The text of the programming assignment is as follows: > "Write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz"." - [FizzBuzz Test](http://wiki.c2.com/?FizzBuzzTest) ## Solutions * [ARMHF ASM](src/ASM/armhf) * [x64 ASM](src/ASM/x64) * [x86 ASM](src/ASM/x86) * [C](src/C) * [C++](src/C++) * [C#](src/CSharp) * [C# w/Compiled Expression Trees](src/CSharpExpressions) * [C# w/IL](src/CSharpIL) * [F#](src/FSharp) * [Java](src/Java) * [JavaScript](src/JavaScript) * [Pattern-Lang](src/Pattern-Lang) 1 * [PowerShell](src/PowerShell) * [Python 3](src/Python) * [Ruby](src/Ruby) * [Visual Basic](src/VisualBasic) ## Submit Your Solution! Create a Pull Request with your solution. Be sure to specify the following in your PR: * Language * Compiler/SDK Required to Build * Include the _specific OS and repository_ to obtain the Compiler/SDK from. **Linux** or **Windows** accepted. * Script to Perform the Build Be practical or creative, but limit your solution to a **single source file**, please. ## NEW There are now manifest files you can include in your submission so that your FizzBuzz solution will be run from the main script. ### test.json For Compiled Solutions ```json { "$schema": "../test_schema.json", "location": "/src/C", "nameShort": "C", "nameLong": "C", "buildCommand": "wsl", "buildCommandParameters": "./linux_build.sh", "buildCommandParametersArray": [ ], "executeCommand": "wsl", "executeCommandParameters": "", "executeCommandParameters": [ "./bin/linux/fizzbuzz" ], "preBuild": "" } ``` ###### Parameters can be passed as a single string, an array of strings, or both simultaneously. #### test.json Fields * __location__ - Relative path from the root of the project to the working directory of your solution. * __nameShort__ - A (very) short name for your solution with no spaces. * __nameLong__ - A descriptive name for your solution, which may have spaces. * __buildCommand__ - The command to execute in the shell to build your solution. * __buildCommandParameters__ - The parameters to pass to your __buildCommand__. * __executeCommand__ - The command to execute in the shell to run your solution. * __executeCommandParameters__ - The parameters to pass to your __executeCommand__. * __preBuild__ - A command to execute before building your solution. Place this file in the _first_ child directory of `/src` in your solution. ### test_nobuild.json For Scripted Solutions ```json { "$schema": "../test_schema.json", "location": "/src/Ruby", "nameShort": "Ruby", "nameLong": "Ruby", "command": "wsl", "commandParmaters": "", "commandParametersArray": ["ruby", "./fizz_buzz.rb"], "preExecute": "" } ``` ###### Parameters can be passed as a single string, an array of strings, or both simultaneously. #### test_nobuild.json Fields * __location__ - Relative path from the root of the project to the working directory of your solution. * __nameShort__ - A (very) short name for your solution with no spaces. * __nameLong__ - A descriptive name for your solution, which may have spaces. * __command__ - The command to execute in the shell to run your solution. * __commandParameters__ - The parameters to pass to your __executeCommand__. * __preExecute__ - A command to execute before running your solution. Place this file in the _first_ child directory of `/src` in your solution. --- 1 - Pattern-Lang is still concept only/

近期下载者

相关文件


收藏者