logo

Crowdly

Browser

Add to Chrome

情報応用2A/2B(情報学領域)

Looking for 情報応用2A/2B(情報学領域) test answers and solutions? Browse our comprehensive collection of verified answers for 情報応用2A/2B(情報学領域) at moodle2026.wakayama-u.ac.jp.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

あいさつを表示するプログラムの以下のプログラムには6つの間違いを含んでいます.6つの間違いを見つけだし,修正しなさい.

1.pabric class Aisatsu {

2.    public staic void main(String[] args) {

3.        System.out.println("おはよう。);

4.        System.out.println("こんにちは"):

5.        System.out,println("こんばんは");

6.    {

7.}

View this question

これまでの問題を参考に,自分で問題文およびソースコードを作成しなさい

注意点

  • 問題の難易度は基本問題より難しくすること
  • 問題の答えも用意すること
  • 出題意図も記述すること(例:エスケープシーケンスに対する理解度を問う)

完成度の高い問題については

加点のうえ,(来年度の問題として採用させてください)

View this question

次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

         int a = (int) 100.0;

         int b = (int) 40.0;

        System.out.println(a / b);

    }

}
View this question
次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        double a = 100;

        double b = 40;

        System.out.println(a / b);

    }

}

View this question
次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        int a = 100;

        a /= 40;

        System.out.println(a + a * 5);

    }

}

View this question
次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        int a = 100;

        System.out.println(a % 40 - 10);

    }

}

View this question

次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        int a = 100;

        System.out.println(a / (40 + 10.0));

    }

}
View this question
次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        int a = 100;

        System.out.println(a / 40.0 + 10);

    }

}

View this question
次のプログラムの実行結果を答えなさい.

public class Main {

    public static void main(String args[]) {

        int a = 100;

        System.out.println(a / 40 + 10);

    }

}

View this question

Want instant access to all verified answers on moodle2026.wakayama-u.ac.jp?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome