Anasayfa
/
Teknoloji
/
2. which feature differentiates dynamic arrays in python from fixed-size arrays in java? a) dynamic arrays can store multiple data

Soru

2. Which feature differentiates dynamic arrays in Python from fixed-size arrays in Java? A) Dynamic arrays can store multiple data types. B) Dynamic arrays can grow or shrink during runtime. C) Dynamic arrays perform automatic type checking. D) Dynamic arrays improve cache performance. 13. In the context of Java's type system , what does strong typing mean? A) Variables must be declared with a specific type that cannot change. B) Variables can be of any type and are checked at compile-time. C) Type conversion must be explicit to avoid compile-time errors. D) Only numerical data types are allowed. 14. Which Java collection is specifically designed for handling elements on a first-in, first-out (FIFO) basis? A) HashSet B) HashMap C) ArrayList D) Queue 15. Which of the following is not a type of control structure in programming? A) Repetition B) Selection C) Transformation D) Unconditional branching 16. In Python, what will be the boolean value of an empty list when evaluated in a condi expression? A) True B) False C) Syntax error D) None of the above

Çözüm

4.7 (298 Oylar)
Erol
Uzman doğrulaması
Kıdemli · 9 yıl öğretmeni

Cevap

2. Which feature differentiates dynamic arrays in Python from fixed-size arrays in Java?B) Dynamic arrays can grow or shrink during runtime.13. In the context of Java's type system, what does strong typing mean?C) Type conversion must be explicit to avoid compile-time errors.14. Which Java collection is specifically designed for handling elements on a first-in, first-out (FIFO) basis?D) Queue15. Which of the following is not a type of control structure in programming?C) Transformation16. In Python, what will be the boolean value of an empty list when evaluated in a conditional expression?B) False