Smart Content Search

Find the exact content you need

Search across courses, articles, programs, MCQs, and descriptive questions from your knowledge platform in one clean workspace.

2155

Results Found

97

Current Page

108

Total Pages

Showing 2155 result(s) for your search.

java
Mcq Result 1921

কোন কি-ওয়ার্ড দিয়ে একটি ফাংশন সংজ্ঞায়িত করা হয়?

মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - দ্বাদশ শ্রেণী (Class 12) - WBCHSE Class - XII: SEMESTER – III: Unit – 1: Python Programming Class - XII: SEMESTER – III: Unit – 1: Python Programming: Section 14: Functions
সঠিক উত্তরের ব্যাখ্যা:Python-এ ফাংশন def কি-ওয়ার্ড দিয়ে সংজ্ঞায়িত হয়।কেন অন্য বিকল্পগুলি ভুল:বিকল্প B: 'function' JavaScript-এ ব্যবহৃত।বিকল্প C: 'define' Python কি-ওয়ার্ড নয়।বিকল্প D: 'func' Go-তে ব্যবহৃত, Python-এ নয়।
View Details
/question/mcq/26419
Mcq Result 1922

নিচের কোনটি Java-এর Keyword?

মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - একাদশ শ্রেণী (Class 11) - WBCHSE SEMESTER – I Unit – 2: Section 1: Programming Fundamentals: Concept of Programming প্রোগ্রামিং এর ধারণা
class হলো Java-এর একটি Reserved Keyword।
View Details
/question/mcq/25126
Mcq Result 1923

নিচের কোনটি Python-এর সঠিক Comment?

মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - দ্বাদশ শ্রেণী (Class 12) - WBCHSE Class - XII: SEMESTER – III: Unit – 1: Python Programming Python প্রোগ্রামিংয়ের মৌলিক বিষয়
বিস্তারিত ব্যাখ্যা: Python-এ Comment লেখার জন্য # চিহ্ন ব্যবহার করা হয়। # চিহ্নের পরে যা লেখা হয়, Python Interpreter সেটিকে Comment হিসেবে গণ্য করে এবং প্রোগ্রাম চালানোর সময় উপেক্ষা করে। Comment সাধারণত কোডের ব্যাখ্যা, নির্দেশনা বা অতিরিক্ত তথ্য লেখার জন্য ...
View Details
/question/mcq/25291
Mcq Result 1924

নিচের কোনটি একটি প্রোগ্রামিং ভাষা?

মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - একাদশ শ্রেণী (Class 11) - WBCHSE SEMESTER – I Unit – 2: Section 1: Programming Fundamentals: Concept of Programming প্রোগ্রামিং এর ধারণা
Java একটি জনপ্রিয় উচ্চস্তরের (High-Level) প্রোগ্রামিং ভাষা।
View Details
/question/mcq/25108
Mcq Result 1925

নিচের কোনটি হার্ডওয়্যার নয়?

মডার্ন কম্পিউটার অ্যাপ্লিকেশন ও কম্পিউটার বিজ্ঞান - একাদশ শ্রেণী (Class 11) - WBCHSE SEMESTER – I: Unit – 1: Section 1: Computer System and Organisation Basic Computer Organisation (বেসিক কম্পিউটার অর্গানাইজেশন)
Which of the following is not a hardware? [SSC FCI 2012] (1) Processor?chip (2) Printer (3) Mouse (4) Java
View Details
/question/mcq/23576
Question Result 1926

Question: Rewrite the following fragment using switch: if (ch == 'E') eastern++; if (ch == 'W') western++; if (ch == 'N') northern++; if (ch == 'S') southern++; else unknown++;

Java Programming Language Decision Making in java if statement in Java
Answer: Here’s the equivalent code using a switch statement 👇 switch (ch) { case 'E': eastern++; break; case 'W': western++; break; case 'N': northern++; break; case 'S': southern++; break; default: unknown++; break; } Explanation: Each case represents one pos...
View Details
/question/8680
Question Result 1927

jQuery 3 - Home Page

jQuery jQuery DOM Manipulation jQuery DOM Manipulation
1. jQuery 3 - Home Page • Write a function login() that will redirect to home.html after clicking the login button. • Use username= "admin", and password="password". Else, show an alert message "You are not a valid user". • Make sure you use the doRedirect() f...
View Details
/question/1068
Question Result 1928

jQuery 4 Hands-on - Animations

jQuery jQuery Tutorial jQuery Animation
1. jQuery 4 Hands-on - Animations In function hover1(), add slideToggle() actions to the div tags ID #item1-des. In function hover2(), add slideToggle() actions to the div tags ID #item2-des. In function animate_big(), add the animate() action to the button ID...
View Details
/question/1067
Question Result 1929

jQuery Hands-on 2 - Login Page

jQuery jQuery Event Handling jQuery Event Handling
1. jQuery Hands-on 2 - Login Page Write a function login() that will read the username and password from the text boxes IDs #username, #password, and validate them. For username="admin" and password= "password", create an alert box "You are a valid user", or "...
View Details
/question/1069
Question Result 1930

What is a literal?

Java Programming Language ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2013 PYQ
Literals are data items that are fixed data values. Java provides different types of literals like: Integer Literals Floating-Point Literals Boolean Literals Character Literals String Literals null Literal
View Details
/question/7736
Question Result 1932

Write a Java expression for the following: \[ \frac{\sqrt{3x + x^2}}{a + b} \]

Java Programming Language ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2018 PYQ
Math.sqrt(3 * x + x * x) / (a + b) Practice with a program Here's a simple Java program that calculates the given mathematical expression: public class MathExpression { public static void main(String[] args) { // Define values for x, a, and b double x = 5; // ...
View Details
/question/8143
Question Result 1935

(ii) What is the use of the keyword import?

Java Programming Language ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2010 PYQ
The import keyword is used in Java to include the classes and interfaces from other packages so that they can be used in the current program. This allows the programmer to access the standard library classes or classes from user-defined packages without needin...
View Details
/question/7667
Question Result 1937

(v) Consider the following Java program and determine its output: class report { int a, b; report() { a = 10; b = 15; } report(int x, int y) { a = x; b = y; } void print() { System.out.println(a * b); } public static void main(String[] args) { report r = new report(); r.print(); report p = new report(4, 5); p.print(); } }

ICSE Computer Applications Class 10 – Previous Year Question Papers & Solutions ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2025 PYQ
Let's analyze the given Java program and determine its output. Code Analysis: class report { int a, b; // Default constructor report() { a = 10; b = 15; } // Parameterized constructor report(int x, int y) { a = x; b = y; } // Print method void print() { System...
View Details
/question/8478
Question Result 1938

(vii)John was asked to write a Java code to calculate the surface area of a cone. The following code was written by him: Formula: Surface area of a cone is A = πrℓ, where ℓ = √(r² + h²) class area { double area(double r, double h) { double l, a; a = 22.0/7 * r * l; l = Math.sqrt(r * r + h * h); return a; } } Task: (a) Specify the type of error in the above program.(b) Correct the program and write the error-free version.

ICSE Computer Applications Class 10 – Previous Year Question Papers & Solutions ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2025 PYQ
Solution: (a) Type of Error: The error in the program is the incorrect order of operations. The variable l is used before it is initialized, which leads to an undefined variable error or logical error. variable l might not have been initialized a = 22.0/7 * r ...
View Details
/question/8480
Question Result 1939

Question: Given the following code fragment: if (a == 0) System.out.println("Zero"); if (a == 1) System.out.println("One"); if (a == 2) System.out.println("Two"); if (a == 3) System.out.println("Three"); Write an alternative code (using if) that saves on the number of comparisons.

Java Programming Language Decision Making in java if statement in Java
Question: Given the following code fragment: if (a == 0) System.out.println("Zero"); if (a == 1) System.out.println("One"); if (a == 2) System.out.println("Two"); if (a == 3) System.out.println("Three"); Write an alternative code (using if) that saves on the n...
View Details
/question/8678
Question Result 1940

(a) (i) int res = 'A';What is the value of res?

Java Programming Language ICSE Computer Application - Class - X ICSE Computer Application - Class X - 2018 PYQ
Value of res is 65 which is the ASCII code of A. As res is an int variable and we are trying to assign it the character A so through implicit type conversion the ASCII code of A is assigned to res. (ii) Name the package that contains wrapper classes. Answer ja...
View Details
/question/8138