ch
Feedback

不要被骗子欺骗!Telemetrio 会找到并标记这些频道 👉 如果想查看标记,请订阅

Coding Quiz Zone

Coding Quiz Zone

前往频道在 Telegram

✨ Part Of @OfficialCodingExpert Dive into the world of computer science, programming, and coding challenges. Sharpen your skills, expand your knowledge, and embark on a journey of continuous learning. Stay tuned for daily quizzes!

显示更多
1 552
订阅者
+324 小时
+57 天
+330 天
帖子存档
A basic unit of object-oriented programming.
Anonymous voting

A procedural programming follows ___________ approach.
Anonymous voting

A programming technique in which the focus is on doing things.
Anonymous voting

If a class defines the __str__(self) method, for an object obj for the class, you can use which command to invoke the __str__ method.
Anonymous voting

To return the length of string s what command do we execute?
Anonymous voting

To retrieve the character at index 3 from string s=”Hello” what command do we execute (multiple answers allowed)?
Anonymous voting

What will be the output of the following C# code snippet?
Anonymous voting

class UnsafeCode
{
    static void Main()
    {
        int? count = null;
        int? result = null;
        int incr = 10;
        result = count + incr;
        if (result.HasValue)
            Console.WriteLine("result has this value: " + result.Value);
        else
            Console.WriteLine("result has no value");
        Console.ReadLine();
    }
}

What will be the output of the following C# code snippet?
Anonymous voting

class UnsafeCode
{
    static void Main()
    {
        int count = 100;
        int? result = null;
        int incr = 10;
        result = count + incr;
        if (result.HasValue)
            Console.WriteLine("result has this value: " + result.Value);
        else
            Console.WriteLine("result has no value");
        Console.ReadLine();
    }
}

Choose the statement which defines the Nullable type Correctly:
Anonymous voting

A function in PHP which starts with __ (double underscore) is known as __________
Anonymous voting

What will be the output of the following PHP code?
Anonymous voting

<?php
define("GREETING", "PHP is a scripting language");
echo $GREETING;
?>

In the following PHP program, what is/are the properties?
Anonymous voting

<?php
    class Example 
    {
        public $name;
        function Sample()
        {
            echo "Learn PHP @ Sanfoundry";
        }
    } 
?>

Which of the following PHP functions can be used for generating unique ids?
Anonymous voting

What will be the output of the following PHP program?
Anonymous voting

<?php
    function multi($num)
    {
        if ($num == 3)
            echo "I Wonder";
        if ($num == 7)
            echo "Which One";
        if ($num == 8)
            echo "Is The";
        if ($num == 19)
            echo "Correct Answer";
    }
    $can = stripos("I love php, I love php too!","PHP");
    multi($can);
?>

What will be the output of the following PHP program?
Anonymous voting