経験年数に依らないスキル評価
•コーディングテスト
Write a programthat 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”.
http://imranontech.com/2007/01/24/using-fizzbuzz-to-find-developers-who-grok-coding/
3.
(し) 変数i は3の倍数 である
(だ) 変数i は 5の倍数 である
(ま) 変数i は 15の倍数 である
(や) 変数i は 3の倍数 または 5の倍数 である
(な) 変数i は 3の倍数 かつ 5の倍数 である
(こ) Fizz を出力する
(ん) Buzz を出力する
(で) FizzBuzz を出力する
#include <stdio.h>
int main(void) {
int i;
for (i = 1; i <= 100; i++) {
if (isx3orx5(i)) {
printf(“xxxxxxxx¥n");
} else if (isx3xxxx(i)) {
printf(“xxxxxxxx¥n");
} else if (isx5xxxx(i)) {
printf(“xxxxxxxx¥n");
} else {
printf("%d¥n", i);
}
}
return 0;
}
( A )
( C )
( E )
( F )
( D )
( B )
文法、構文
ループ処理を書けるか?
条件分岐を書けるか?
アルゴリズム(問題を解く手順)
アルゴリズムを組み立てることができるか?
組み立てた通りのコードを書けるか?
そのアルゴリズムは正しいか?
プログラミングの素質?適性?
• The camelhas two humps
http://www.eis.mdx.ac.uk/research/PhDArea/saeed/paper1.pdf
「一貫した論理的思考」が可能かどうかが重要
http://credo.asia/2015/04/24/before-education-programing/
ふたこぶらくだグラフ等