en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels šŸ‘‰ If you want to see the tag, subscribe

Coding Quiz Zone

Coding Quiz Zone

Open in 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!

Show more
1 550
Subscribers
-424 hours
+17 days
-130 days
Posts Archive
<?php
$fruits = array ("apple", "orange", array ("pear", "mango"),"banana");
echo (count($fruits, 1));
?>

Which is the right way of declaring a variable in PHP?
Anonymous voting

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

<?php
$x = 10;
$y = 20;
if ($x > $y && 1||1)
    print "1000 PHP MCQ" ;
else
    print "Welcome to Sanfoundry";
?>

How to define a function in PHP?
Anonymous voting

Which of the following is the default file extension of PHP files?
Anonymous voting

Which of the following is the correct way to add a comment in PHP code?
Anonymous voting

Which of the following is the correct syntax to write a PHP code?
Anonymous voting

What does PHP stand for?
Anonymous voting

Who is the father of PHP?
Anonymous voting

What is PHP?
Anonymous voting

Accessibility modifiers defined in a class are?
Anonymous voting

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

 class test
 {
     public   int a;
     public  int b;
     public  test(int i, int j)
     {
         a = i;
         b = j;
     }
     public void meth(test o)
     {
         o.a *= 2;
         o.b /= 2;
     }
 }    
 class Program
 {
     static void Main(string[] args)
     {
         test obj = new test(10, 20);
         obj.meth(obj);
         Console.WriteLine(obj.a + " " + obj.b);    
         Console.ReadLine();
     }
 }

Which of these access specifiers must be used for class so that it can be inherited by another subclass?
Anonymous voting

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

class static_out
{
    public static int x;
    public  static int y;
    public int add(int a, int b)
    {
        x = a + b;
        y = x + b;
        return 0;
    }
}    
class Program
{
    static void Main(string[] args)
    {
        static_out obj1 = new static_out();
        static_out obj2 = new static_out();   
        int a = 2;
        obj1.add(a, a + 1);
        obj2.add(5, a);
        Console.WriteLine(static_out.x + " " + static_out.y );     
        Console.ReadLine();
    }
}

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

 class sum   
 {
     public int x;
     public int y;
     public  int add (int a, int b)
    {
        x = a + b;
        y = x + b;
        return 0;
    }
}    
class Program
{
    static void Main(string[] args)
    {
        sum obj1 = new sum();
        sum obj2 = new sum();   
        int a = 2;
        obj1.add(a, a + 1);
        obj2.add(5, a);
        Console.WriteLine(obj1.x + "  " + obj2.y);     
        Console.ReadLine();
    }
}

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