-
Notifications
You must be signed in to change notification settings - Fork 1
/
mcq.sql
1493 lines (1433 loc) · 330 KB
/
mcq.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 06, 2022 at 03:12 PM
-- Server version: 10.4.20-MariaDB
-- PHP Version: 8.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `db1`
--
-- --------------------------------------------------------
--
-- Table structure for table `activated`
--
CREATE TABLE `activated` (
`quizname` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `activated`
--
INSERT INTO `activated` (`quizname`) VALUES
('Demo');
-- --------------------------------------------------------
--
-- Table structure for table `activequiznames`
--
CREATE TABLE `activequiznames` (
`quizname` varchar(30) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `activequiznames`
--
INSERT INTO `activequiznames` (`quizname`) VALUES
('Demo');
-- --------------------------------------------------------
--
-- Table structure for table `demoshow`
--
CREATE TABLE `demoshow` (
`quizname` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `demoshow`
--
INSERT INTO `demoshow` (`quizname`) VALUES
('Demo');
-- --------------------------------------------------------
--
-- Table structure for table `malicious`
--
CREATE TABLE `malicious` (
`Id` int(7) NOT NULL,
`ename` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`roll` varchar(20) NOT NULL,
`quizname` varchar(255) NOT NULL,
`emessage` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `malicious`
--
INSERT INTO `malicious` (`Id`, `ename`, `email`, `roll`, `quizname`, `emessage`) VALUES
(1, 'Sarvesh Anand Mankar', 'mankarsarvesh2543@gmail.com', '194009', 'Demo', 'Changed Tab 3 times!'),
(2, 'Test', 'test@gmail.com', '184011', 'Demo', 'Changed Tab 1 times!'),
(3, 'Aparna Mankar', 'aparnaanand615@gmail.com', '1', 'Demo', 'Changed Tab 1 times!'),
(4, 'Mansi', 'mansi.194066@gmail.com', '194066', 'Unit-3', 'Changed Tab 1 times!'),
(5, 'Mohammad', 'shaikhhhuzaif148@gmail.com', '194065', 'Unit-3', 'Changed Tab 7 times!'),
(6, 'Chaitanya', 'chaitanyaunavane@gmail.com', '194060', 'Unit-3', 'Changed Tab 1 times!'),
(7, 'Palak', 'pardeshipalak463@gmail.com', '194006', 'Unit-3', 'Changed Tab 2 times!'),
(8, 'jayesh', 'jayesh194018@gmail.com', '194018', 'Unit-3', 'Changed Tab 3 times!'),
(9, 'Pokale', 'preeti.194008@gmail.com', '194008', 'Unit-3', 'Changed Tab 1 times!'),
(10, 'Mansi', 'mansilokhande04@gmail.com', '194001', 'Unit-3', 'Changed Tab 5 times!'),
(11, 'Abhishek Devram Borkar', 'abhiborkar222002@gmail.com', '204094', 'Unit-3', 'Changed Tab 15 times!'),
(12, 'Janhavi', 'janvithikekar1234@gmail.com', '194021', 'Unit-3', 'Changed Tab 23 times!'),
(13, 'Pranav', 'pranav.194052@gmail.com', '194052', 'Unit-3', 'Changed Tab 14 times!'),
(14, 'Umer', 'umershaikh194032@gmail.com', '194032', 'Unit-3', 'Changed Tab 7 times!'),
(15, 'Arbaz', 'arbazshaikh.194017@gmail.com', '194027', 'Unit-3', 'Changed Tab 7 times!'),
(16, 'Aarya', 'kasbeaarya05@gmail.com', '194016', 'Unit-3', 'Changed Tab 2 times!'),
(17, 'Mayur', 'mayur.194029@gmail.com', '194029', 'Unit-3', 'Changed Tab 61 times!'),
(18, 'Saurabh', 'saurabhkale3594@gmail.com', '194051', 'Unit-3', 'Changed Tab 5 times!'),
(19, 'Dwarkesh', 'dwarkeshdeshmukh5@gmail.com', '194046', 'Unit-3', 'Cheated, Pressed some of Shortcut Keys many times!'),
(20, 'Rajlaxmi Revan Dudhbhate', 'rajlaxmi.194010@gmail.com', '194010', 'Unit-3', 'Changed Tab 2 times!'),
(21, 'Prathamesh', 'prathamesh.204092@gmail.com', '204092', 'Unit-3', 'Changed Tab 44 times!'),
(22, 'Suyash', 'suyash194022@gmail.com', '194022', 'Unit-3', 'Changed Tab 3 times!'),
(23, 'Labhesh', 'labhesh.194053@gmail.com', '194053', 'Unit-3', 'Changed Tab 100 times!'),
(24, 'Ajay.D.Agale', 'ajayagale.204087@gmail.com', '204087', 'Unit-3', 'Changed Tab 4 times!'),
(25, 'Vaibhavi', 'vaibhavithakare20.03@gmail.com', '194044', 'Unit-3', 'Changed Tab 12 times!'),
(26, 'SAHIL', 'sahil.194050@gmail.com', '194050', 'Unit-3', 'Changed Tab 8 times!'),
(27, 'Vaibhavi', 'vaibhavithakare20.03@gmail.com', '194044', 'Unit-3', 'Changed Tab 12 times!'),
(28, 'Vaibhavi', 'vaibhavithakare20.03@gmail.com', '194044', 'Unit-3', 'Changed Tab 12 times!'),
(29, 'Sarvesh', 'sarvesh194025@gmail.com', '194025', 'Unit-3', 'Changed Tab 5 times!'),
(30, 'Rutuja Rama Vanyalkar', 'rutujavanyalkar@gmail.com', '194030', 'Unit-3', 'Changed Tab 9 times!'),
(31, 'abhinav', 'abhinavk194007@gmail.com', '194007', 'Unit-3', 'Changed Tab 11 times!'),
(32, 'Anisha', 'anisha.194027@gmail.com', '27', 'Unit-3', 'Changed Tab 7 times!'),
(33, 'Hrishikesh', 'hrishikesh.194034@gmail.com', '194034', 'Unit-3', 'Changed Tab 8 times!'),
(34, 'Satyam', 'satyam.194059@gmail.com', '194059', 'Unit-3', 'Changed Tab 3 times!'),
(35, 'Soham', 'soham.194037@gmail.com', '194037', 'Unit-3', 'Changed Tab 41 times!'),
(36, 'Pranit bhalekar', 'pranit.194054@gmail.com', '194054', 'Unit-3', 'Changed Tab 2 times!');
-- --------------------------------------------------------
--
-- Table structure for table `questions`
--
CREATE TABLE `questions` (
`Id` int(7) NOT NULL,
`quizname` varchar(255) NOT NULL,
`question` varchar(500) NOT NULL,
`opt1` varchar(255) NOT NULL,
`opt2` varchar(255) NOT NULL,
`opt3` varchar(255) NOT NULL,
`opt4` varchar(255) NOT NULL,
`ans` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `questions`
--
INSERT INTO `questions` (`Id`, `quizname`, `question`, `opt1`, `opt2`, `opt3`, `opt4`, `ans`) VALUES
(1, 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021'),
(2, 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()'),
(3, 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()'),
(4, 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above'),
(5, 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)'),
(6, 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above'),
(7, 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()'),
(8, 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()'),
(9, 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}'),
(10, 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error'),
(11, 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015'),
(12, 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method'),
(13, 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method'),
(14, 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output'),
(15, 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10'),
(16, 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value'),
(17, 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)'),
(18, 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11'),
(19, 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator'),
(20, 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST'),
(21, 'Demo', 'Hello', '1', '2', '3', '4', '1'),
(22, 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2'),
(23, 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3');
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
CREATE TABLE `student` (
`Id` int(7) NOT NULL,
`email` varchar(255) NOT NULL,
`ename` varchar(255) NOT NULL,
`roll` varchar(20) NOT NULL,
`mobile` varchar(15) NOT NULL,
`done` varchar(10) NOT NULL,
`marks` int(7) NOT NULL,
`per` double NOT NULL,
`ttime` varchar(255) NOT NULL,
`quizname` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `student`
--
INSERT INTO `student` (`Id`, `email`, `ename`, `roll`, `mobile`, `done`, `marks`, `per`, `ttime`, `quizname`) VALUES
(1, 'mankarsarvesh2543@gmail.com', 'Sarvesh Anand Mankar', '194009', '+918208419540', 'yes', 3, 100, '23/12/21 01:52:13pm', 'Demo'),
(2, 'test@gmail.com', 'Test user1', '184011', '7030863664', 'yes', 1, 33.33, '23/12/21 03:43:11pm', 'Demo'),
(3, 'aparnaanand615@gmail.com', 'Aparna Mankar', '1', '+919373594879', 'yes', 3, 100, '23/12/21 04:53:06pm', 'Demo'),
(4, 'sarvesh@sarveshmankar2543.co', 'Sarvesh Mankar', '10', '8928115445', 'yes', 2, 66.67, '23/12/21 04:53:07pm', 'Demo'),
(5, 'anandmankar1512@gmail.com', 'Anand Wamanrao Mankar', '12', '09890337995', 'yes', 2, 66.67, '23/12/21 04:53:06pm', 'Demo'),
(6, 'mankarsarvesh2543@gmail.com', 'Sarvesh Anand Mankar', '194009', '8208419540', 'yes', 20, 100, '25/12/21 05:23:07am', 'Unit-3'),
(7, 'sarvesh@sarveshmankar2543.co', 'Sarvesh Mankar', '1111111', '8928115445', 'no', 0, 0, '', 'Unit-3'),
(8, 'gouravsuram91@gmail.com', 'Gourav Suram', '194028', '9175315683', 'yes', 20, 100, '25/12/21 07:06:05am', 'Unit-3'),
(9, 'umershaikh194032@gmail.com', 'Umer Shaikh', '194032', '9359825442', 'yes', 9, 45, '25/12/21 07:09:23am', 'Unit-3'),
(10, 'mansi.194066@gmail.com', 'Mansi Prasad', '194066', '8999438640', 'yes', 12, 60, '25/12/21 07:04:26am', 'Unit-3'),
(11, 'lubzee08@gmail.com', 'Lubna Shaikh', '194026', '8624085679', 'yes', 12, 60, '25/12/21 07:06:14am', 'Unit-3'),
(12, 'rutujavanyalkar@gmail.com', 'Rutuja Rama Vanyalkar', '194030', '9146069124', 'yes', 16, 80, '25/12/21 07:16:35am', 'Unit-3'),
(13, 'avdhut.kamble776@gmail.com', 'Avdhut Kamble', '194033', '07757883377', 'yes', 19, 95, '25/12/21 07:06:00am', 'Unit-3'),
(14, 'vaishnaviarthamwar@gmail.com', 'Vaishnavi Arthamwar', '194040', '9823582454', 'yes', 10, 50, '25/12/21 07:06:53am', 'Unit-3'),
(15, 'chaitanyaunavane@gmail.com', 'Chaitanya Prashant Unavane', '194060', '8855976672', 'yes', 14, 70, '25/12/21 07:05:07am', 'Unit-3'),
(16, 'sushant.194012@gmail.com', 'Sushant Gadge', '194012', '9890190843', 'yes', 13, 65, '25/12/21 07:08:31am', 'Unit-3'),
(17, 'rohan194061@gmail.com', 'Rohan Chaudhari', '194061', '9022143926', 'yes', 10, 50, '25/12/21 07:04:01am', 'Unit-3'),
(18, 'arbazshaikh.194017@gmail.com', 'Arbaz Shaikh', '194027', '9561362838', 'yes', 7, 35, '25/12/21 07:09:28am', 'Unit-3'),
(19, 'sahil.194050@gmail.com', 'SAHIL SHIRAVALE', '194050', '8208633699', 'yes', 15, 75, '25/12/21 07:15:44am', 'Unit-3'),
(20, 'aarya.194004@gmail.com', 'Aarya Anil Jagdale', '194004', '09921182288', 'yes', 7, 35, '25/12/21 07:04:42am', 'Unit-3'),
(21, 'preeti.194008@gmail.com', 'Pokale Priti Sanjay ', '194008', '9607001596', 'yes', 9, 45, '25/12/21 07:08:23am', 'Unit-3'),
(22, 'vaibhavithakare20.03@gmail.com', 'Vaibhavi Thakare', '194044', '08379081404', 'yes', 0, 0, '25/12/21 07:15:57am', 'Unit-3'),
(23, 'sandeshsarje1310@gmail.com', 'Sandesh Sunil Sarje', '194038', '9766915865', 'yes', 3, 15, '25/12/21 06:51:26am', 'Unit-3'),
(24, 'abhiborkar222002@gmail.com', 'Abhishek Devram Borkar', '204094', '8999642817', 'yes', 11, 55, '25/12/21 07:08:53am', 'Unit-3'),
(25, 'jayesh194018@gmail.com', 'jayesh shinde', '194018', '8554931251', 'yes', 14, 70, '25/12/21 07:06:54am', 'Unit-3'),
(26, 'pardeshipalak463@gmail.com', 'Palak Pardeshi', '194006', '9307750068', 'yes', 13, 65, '25/12/21 07:06:48am', 'Unit-3'),
(27, 'ishita.194045@gmail.com', 'Ishita Belhekar', '194045', '8483813820', 'yes', 10, 50, '25/12/21 07:11:06am', 'Unit-3'),
(28, 'vaishnavi.194014@gmail.com', 'Vaishnavi Gangadhar Kundgir', '194014', '9307836708', 'yes', 10, 50, '25/12/21 07:11:17am', 'Unit-3'),
(29, 'kaif194058@gmail.com', 'M.kaif Qureshi', '194058', '9561465445', 'yes', 15, 75, '25/12/21 07:03:23am', 'Unit-3'),
(30, 'saurabhfargade01@gmail.com', 'Saurabh Anil Fargade ', '194013', '9665628040', 'no', 0, 0, '', 'Unit-3'),
(31, 'mansilokhande04@gmail.com', 'Mansi Sunil Lokhande', '194001', '9765406244', 'yes', 8, 40, '25/12/21 07:08:27am', 'Unit-3'),
(32, 'kalyanikatkar2003@gmail.com', 'Kalyani katkar', '194057', '8007902743', 'yes', 15, 75, '25/12/21 07:03:26am', 'Unit-3'),
(33, 'riyap.194056@gmail.com', 'Riya Shaukat Pathan', '194056', '7517644625', 'yes', 6, 30, '25/12/21 07:08:31am', 'Unit-3'),
(34, 'pd.194011@gmail.com', 'Pranav Sachin Deshpande', '194011', '6354266472', 'yes', 11, 55, '25/12/21 07:03:41am', 'Unit-3'),
(35, 'soham.194037@gmail.com', 'Soham Vinod Nagane', '194037', '8669393409', 'yes', 12, 60, '25/12/21 07:20:23am', 'Unit-3'),
(36, 'pratiksha.204089@gmail.com', 'Pratiksha pandoji narote', '204089', '7385339680', 'yes', 12, 60, '25/12/21 07:09:47am', 'Unit-3'),
(37, 'kasbeaarya05@gmail.com', 'Aarya Kasbe', '194016', '8421931638', 'yes', 14, 70, '25/12/21 07:09:42am', 'Unit-3'),
(38, 'pranit.194054@gmail.com', 'Pranit bhalekar', '194054', '8080356227', 'yes', 12, 60, '25/12/21 07:23:45am', 'Unit-3'),
(39, 'shravani.194002@gmail.com', 'Shravani Bahirat', '194002', '9307030152', 'yes', 10, 50, '25/12/21 07:08:18am', 'Unit-3'),
(40, 'labhesh.194053@gmail.com', 'Labhesh Vinayak Barhate', '194053', '8605886583', 'yes', 12, 60, '25/12/21 07:13:00am', 'Unit-3'),
(41, 'ajayagale.204087@gmail.com', 'Ajay.D.Agale', '204087', '9325874002', 'yes', 8, 40, '25/12/21 07:14:11am', 'Unit-3'),
(42, 'bipashaawghade10@gmail.com', 'Bipasha Ashok Awghade', '204090', '8605579083', 'yes', 10, 50, '25/12/21 07:06:11am', 'Unit-3'),
(43, 'neel.194003@gmail.com', 'Neel Amit Shah', '194003', '7972337941', 'yes', 9, 45, '25/12/21 07:04:42am', 'Unit-3'),
(44, 'sarvesh194025@gmail.com', 'Sarvesh satish patil', '194025', '9579256020', 'yes', 10, 50, '25/12/21 07:16:22am', 'Unit-3'),
(45, 'manasi.194023@gmail.com', 'Manasi Manik Konde.', '194023', '9763570430', 'yes', 13, 65, '25/12/21 07:11:12am', 'Unit-3'),
(46, 'pranav.194052@gmail.com', 'Pranav Balaso daiv', '194052', '9561773949', 'yes', 8, 40, '25/12/21 07:09:06am', 'Unit-3'),
(47, 'prajakta.194015@gmail.com', 'Prajakta Subhash Jamdar', '194015', '9307713186', 'yes', 12, 60, '25/12/21 07:06:19am', 'Unit-3'),
(48, 'dwarkeshdeshmukh5@gmail.com', 'Dwarkesh Rahul Deshmukh ', '194046', '7385463211', 'yes', 12, 60, '25/12/21 07:11:19am', 'Unit-3'),
(49, 'janvithikekar1234@gmail.com', 'Janhavi Thikekar', '194021', '9975610350', 'yes', 12, 60, '25/12/21 07:09:00am', 'Unit-3'),
(50, 'rutuja.194005@gmail.com', 'Rutuja Dinesh Sukale ', '194005', '9834002942', 'yes', 10, 50, '25/12/21 07:02:11am', 'Unit-3'),
(51, 'saurabhkale3594@gmail.com', 'Saurabh Santosh Kale', '194051', '9552093594', 'yes', 5, 25, '25/12/21 07:10:25am', 'Unit-3'),
(52, 'rajlaxmi.194010@gmail.com', 'Rajlaxmi Revan Dudhbhate', '194010', '7385667046', 'yes', 9, 45, '25/12/21 07:11:52am', 'Unit-3'),
(53, 'mayur.194029@gmail.com', 'Mayur Satish Khadde', '194029', '7507738781', 'yes', 14, 70, '25/12/21 07:10:23am', 'Unit-3'),
(54, 'abhinavk194007@gmail.com', 'abhinav kame', '194007', '9767404826', 'yes', 12, 60, '25/12/21 07:16:51am', 'Unit-3'),
(55, 'satyam.194059@gmail.com', 'Satyam Saudagar Bichitkar', '194059', '9890423058', 'yes', 11, 55, '25/12/21 07:18:55am', 'Unit-3'),
(56, 'suyash194022@gmail.com', 'Suyash Sanjay Kshirsagar', '194022', '9689326995', 'yes', 9, 45, '25/12/21 07:12:54am', 'Unit-3'),
(57, 'shaikhhhuzaif148@gmail.com', 'Mohammad Ali Aejaz Shaikh', '194065', '7875970757', 'yes', 8, 40, '25/12/21 07:04:46am', 'Unit-3'),
(58, 'prathamesh.204092@gmail.com', 'Prathamesh Takawale ', '204092', '7378908996', 'yes', 15, 75, '25/12/21 07:12:20am', 'Unit-3'),
(59, 'hrishikesh.194034@gmail.com', 'Hrishikesh Chaudhari', '194034', '8379976638', 'yes', 5, 25, '25/12/21 07:18:31am', 'Unit-3'),
(60, 'anisha.194027@gmail.com', 'Anisha Bansode ', '27', '7499575290', 'yes', 8, 40, '25/12/21 07:17:39am', 'Unit-3'),
(61, 'adityaubale6585@gmail.com', 'Aditya Ubale', '204096', '8237866585', 'yes', 10, 50, '25/12/21 07:21:07am', 'Unit-3'),
(62, '194009@cusrowwadiapune.onmicrosoft.com', 'Sarvesh Mankar', '321', '8208419540', 'no', 0, 0, '', 'Demo');
-- --------------------------------------------------------
--
-- Table structure for table `studentresult`
--
CREATE TABLE `studentresult` (
`Id` int(7) NOT NULL,
`quizname` varchar(255) NOT NULL,
`setting` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `submission`
--
CREATE TABLE `submission` (
`Id` int(7) NOT NULL,
`rollno` varchar(50) NOT NULL,
`email` varchar(50) NOT NULL,
`quizname` varchar(50) NOT NULL,
`ques` varchar(500) NOT NULL,
`opt1` varchar(500) NOT NULL,
`opt2` varchar(500) NOT NULL,
`opt3` varchar(500) NOT NULL,
`opt4` varchar(500) NOT NULL,
`cans` varchar(500) NOT NULL,
`gans` varchar(500) NOT NULL,
`cw` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `submission`
--
INSERT INTO `submission` (`Id`, `rollno`, `email`, `quizname`, `ques`, `opt1`, `opt2`, `opt3`, `opt4`, `cans`, `gans`, `cw`) VALUES
(1, '194009', 'mankarsarvesh2543@gmail.com', 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3', '3', 'correct'),
(2, '194009', 'mankarsarvesh2543@gmail.com', 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2', '2', 'correct'),
(3, '194009', 'mankarsarvesh2543@gmail.com', 'Demo', 'Hello', '1', '2', '3', '4', '1', '1', 'correct'),
(4, '184011', 'test@gmail.com', 'Demo', 'Hello', '1', '2', '3', '4', '1', '1', 'correct'),
(5, '184011', 'test@gmail.com', 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2', '1', 'wrong'),
(6, '184011', 'test@gmail.com', 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3', '1', 'wrong'),
(7, '1', 'aparnaanand615@gmail.com', 'Demo', 'Hello', '1', '2', '3', '4', '1', '1', 'correct'),
(8, '1', 'aparnaanand615@gmail.com', 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2', '2', 'correct'),
(9, '1', 'aparnaanand615@gmail.com', 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3', '3', 'correct'),
(10, '12', 'anandmankar1512@gmail.com', 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2', '1', 'wrong'),
(11, '12', 'anandmankar1512@gmail.com', 'Demo', 'Hello', '1', '2', '3', '4', '1', '1', 'correct'),
(12, '12', 'anandmankar1512@gmail.com', 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3', '3', 'correct'),
(13, '10', 'sarvesh@sarveshmankar2543.co', 'Demo', 'Hello', '1', '2', '3', '4', '1', '1', 'correct'),
(14, '10', 'sarvesh@sarveshmankar2543.co', 'Demo', 'Hello\r\nHello\r\nHello', '1', '2', '3', '4', '3', '3', 'correct'),
(15, '10', 'sarvesh@sarveshmankar2543.co', 'Demo', 'Hello\r\nHello\r\n', '1', '2', '3', '4', '2', ' ', 'wrong'),
(16, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(17, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(18, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(19, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(20, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(21, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(22, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(23, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(24, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(25, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(26, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(27, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(28, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(29, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(30, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(31, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(32, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(33, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(34, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(35, '194009', 'mankarsarvesh2543@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(36, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(37, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'timezone_set()', 'wrong'),
(38, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(39, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(40, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am Second', 'wrong'),
(41, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(42, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(43, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Tilde Operator', 'wrong'),
(44, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(45, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello $name!', 'wrong'),
(46, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'pos()', 'wrong'),
(47, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(48, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', 'None of Above', 'wrong'),
(49, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(50, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(51, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(52, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'data type functionName(parameters) {function body}', 'wrong'),
(53, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mtime()', 'wrong'),
(54, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(55, '194038', 'sandeshsarje1310@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(56, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'time()', 'wrong'),
(57, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(58, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(59, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(60, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(61, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(62, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(63, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(64, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(65, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(66, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(67, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', 'wrong'),
(68, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(69, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(70, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(71, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(72, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(73, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(74, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'None of Above', 'wrong'),
(75, '194005', 'rutuja.194005@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(76, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(77, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(78, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(79, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(80, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(81, '194058', 'kaif194058@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(82, '194058', 'kaif194058@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(83, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(84, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(85, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(86, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(87, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(88, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'None of Above', 'wrong'),
(89, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(90, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(91, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(92, '194058', 'kaif194058@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(93, '194058', 'kaif194058@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(94, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(95, '194058', 'kaif194058@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(96, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', ' ', 'wrong'),
(97, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(98, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(99, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(100, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', ' ', 'wrong'),
(101, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(102, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(103, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(104, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(105, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(106, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(107, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(108, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(109, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(110, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(111, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(112, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(113, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(114, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(115, '194057', 'kalyanikatkar2003@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(116, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(117, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(118, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(119, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(120, '194011', 'pd.194011@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(121, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(122, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_count()', 'wrong'),
(123, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(124, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(125, '194011', 'pd.194011@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(126, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iv)', 'wrong'),
(127, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(128, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(129, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(130, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(131, '194011', 'pd.194011@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am FirstI am SecondI am First', 'wrong'),
(132, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'timezone_set()', 'wrong'),
(133, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(134, '194011', 'pd.194011@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(135, '194011', 'pd.194011@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(136, '194061', 'rohan194061@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(137, '194061', 'rohan194061@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(138, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(139, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'PUT Method', 'wrong'),
(140, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(141, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iv)', 'wrong'),
(142, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(143, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(144, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am FirstI am SecondI am First', 'wrong'),
(145, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', 'December 18, 2021', 'wrong'),
(146, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello $name!', 'wrong'),
(147, '194061', 'rohan194061@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(148, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(149, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(150, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(151, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(152, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '2030', 'wrong'),
(153, '194061', 'rohan194061@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(154, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(155, '194061', 'rohan194061@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Default Argument Value', 'wrong'),
(156, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(157, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(158, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(159, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(160, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(161, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(162, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(163, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(164, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'wrong'),
(165, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(166, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(167, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(168, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(169, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(170, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(171, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(172, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(173, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(174, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(175, '194066', 'mansi.194066@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(176, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(177, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(178, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(179, '194003', 'neel.194003@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(180, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(181, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(182, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(183, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong');
INSERT INTO `submission` (`Id`, `rollno`, `email`, `quizname`, `ques`, `opt1`, `opt2`, `opt3`, `opt4`, `cans`, `gans`, `cw`) VALUES
(184, '194003', 'neel.194003@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(185, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(186, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(187, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18 Dec, 2021', 'wrong'),
(188, '194003', 'neel.194003@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(189, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(190, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'i am cwitain!', 'wrong'),
(191, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(192, '194003', 'neel.194003@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Error', 'wrong'),
(193, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'PUT Method', 'wrong'),
(194, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(195, '194003', 'neel.194003@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(196, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(197, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(198, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(199, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(200, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(201, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Default Argument Value', 'wrong'),
(202, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(203, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function {function body}', 'wrong'),
(204, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'None of Above', 'wrong'),
(205, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', 'wrong'),
(206, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(207, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(208, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(209, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(210, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(211, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(212, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(213, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(214, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(215, '194004', 'aarya.194004@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', 'None of Above', 'wrong'),
(216, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'wrong'),
(217, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(218, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(219, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18 Dec, 2021', 'wrong'),
(220, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'time()', 'wrong'),
(221, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'PUT Method', 'wrong'),
(222, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(223, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(224, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(225, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(226, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(227, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(228, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(229, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(230, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(231, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(232, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(233, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_count()', 'wrong'),
(234, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(235, '194065', 'shaikhhhuzaif148@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(236, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(237, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(238, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(239, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(240, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(241, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(242, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(243, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(244, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(245, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(246, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(247, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(248, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(249, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'pos()', 'wrong'),
(250, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(251, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(252, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(253, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(254, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(255, '194060', 'chaitanyaunavane@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(256, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(257, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(258, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(259, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(260, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(261, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(262, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(263, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(264, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(265, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(266, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(267, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(268, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(269, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(270, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(271, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(272, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(273, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(274, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(275, '194033', 'avdhut.kamble776@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(276, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(277, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(278, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(279, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(280, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(281, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(282, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(283, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(284, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(285, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(286, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(287, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(288, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(289, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(290, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(291, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(292, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(293, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(294, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(295, '194028', 'gouravsuram91@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(296, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(297, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(298, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(299, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(300, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(301, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(302, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(303, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(304, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(305, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(306, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(307, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(308, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(309, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(310, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(311, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(312, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(313, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(314, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(315, '204090', 'bipashaawghade10@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(316, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(317, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(318, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(319, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(320, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(321, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(322, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(323, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(324, '194026', 'lubzee08@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(325, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(326, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(327, '194026', 'lubzee08@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(328, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(329, '194026', 'lubzee08@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(330, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(331, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(332, '194026', 'lubzee08@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(333, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(334, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(335, '194026', 'lubzee08@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(336, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(337, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(338, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(339, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(340, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(341, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(342, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(343, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(344, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(345, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(346, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(347, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(348, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'data type functionName(parameters) {function body}', 'wrong'),
(349, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(350, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(351, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(352, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(353, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'PUT Method', 'wrong'),
(354, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(355, '194015', 'prajakta.194015@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(356, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct');
INSERT INTO `submission` (`Id`, `rollno`, `email`, `quizname`, `ques`, `opt1`, `opt2`, `opt3`, `opt4`, `cans`, `gans`, `cw`) VALUES
(357, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(358, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(359, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(360, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(361, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(362, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(363, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(364, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(365, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(366, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(367, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(368, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(369, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(370, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(371, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(372, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(373, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(374, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(375, '194006', 'pardeshipalak463@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(376, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(377, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(378, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(379, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(380, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(381, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', 'wrong'),
(382, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(383, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(384, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(385, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(386, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(387, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(388, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(389, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(390, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(391, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(392, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(393, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(394, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(395, '194040', 'vaishnaviarthamwar@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(396, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(397, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(398, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(399, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(400, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', ' ', 'wrong'),
(401, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(402, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(403, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(404, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(405, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(406, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(407, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(408, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(409, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'None of Above', 'wrong'),
(410, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', ' ', 'wrong'),
(411, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(412, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(413, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(414, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(415, '194018', 'jayesh194018@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(416, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(417, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(418, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(419, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '3010', 'wrong'),
(420, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(421, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(422, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(423, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(424, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(425, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(426, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(427, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', 'None of Above', 'wrong'),
(428, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(429, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(430, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(431, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(432, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(433, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1515', 'wrong'),
(434, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(435, '194002', 'shravani.194002@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(436, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(437, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Error', 'wrong'),
(438, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(439, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', ' ', 'wrong'),
(440, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(441, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(442, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(443, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(444, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(445, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'Enhances Readability', 'wrong'),
(446, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am FirstI am SecondI am First', 'wrong'),
(447, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(448, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(449, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(450, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(451, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(452, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '2030', 'wrong'),
(453, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(454, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(455, '194008', 'preeti.194008@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(456, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(457, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(458, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(459, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(460, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(461, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function {function body}', 'wrong'),
(462, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(463, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(464, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', ' ', 'wrong'),
(465, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(466, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'None of the above', 'wrong'),
(467, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(468, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(469, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '1011', 'wrong'),
(470, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(471, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(472, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(473, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(474, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(475, '194001', 'mansilokhande04@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(476, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(477, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(478, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(479, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(480, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(481, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'timezone_set()', 'wrong'),
(482, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(483, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'time()', 'wrong'),
(484, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(485, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(486, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(487, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(488, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'None of the above', 'wrong'),
(489, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iv)', 'wrong'),
(490, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(491, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(492, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'data type functionName(parameters) {function body}', 'wrong'),
(493, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(494, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(495, '194056', 'riyap.194056@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(496, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(497, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(498, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(499, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(500, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(501, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(502, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(503, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(504, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(505, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2020', 'wrong'),
(506, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(507, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(508, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(509, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(510, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(511, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(512, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(513, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', ' ', 'wrong'),
(514, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(515, '194012', 'sushant.194012@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', ' ', 'wrong'),
(516, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(517, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(518, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(519, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(520, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(521, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(522, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(523, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(524, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(525, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(526, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(527, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(528, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'None of the above', 'wrong'),
(529, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'data type functionName(parameters) {function body}', 'wrong');
INSERT INTO `submission` (`Id`, `rollno`, `email`, `quizname`, `ques`, `opt1`, `opt2`, `opt3`, `opt4`, `cans`, `gans`, `cw`) VALUES
(530, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(531, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(532, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(533, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am FirstI am SecondI am First', 'wrong'),
(534, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', 'None of Above', 'wrong'),
(535, '204094', 'abhiborkar222002@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(536, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(537, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', 'wrong'),
(538, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(539, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(540, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(541, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(542, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(543, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(544, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(545, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(546, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(547, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(548, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(549, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(550, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(551, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(552, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(553, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(554, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(555, '194021', 'janvithikekar1234@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(556, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', ' ', 'wrong'),
(557, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(558, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(559, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(560, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(561, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(562, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(563, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(564, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(565, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(566, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(567, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Tilde Operator', 'wrong'),
(568, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST_METHOD', 'wrong'),
(569, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(570, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'word_count()', 'wrong'),
(571, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(572, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'wrong'),
(573, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(574, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'PUT Method', 'wrong'),
(575, '194052', 'pranav.194052@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(576, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(577, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(578, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(579, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '1011', 'wrong'),
(580, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'word_count()', 'wrong'),
(581, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(582, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(583, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(584, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(585, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(586, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18 Dec, 2021', 'wrong'),
(587, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(588, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iv)', 'wrong'),
(589, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpostion()', 'wrong'),
(590, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Error', 'wrong'),
(591, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(592, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$POST', 'wrong'),
(593, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(594, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'time_zone()', 'wrong'),
(595, '194032', 'umershaikh194032@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(596, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(597, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(598, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(599, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18 Dec, 2021', 'wrong'),
(600, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(601, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(602, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'POST Method', 'wrong'),
(603, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(604, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'timezone_set()', 'wrong'),
(605, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpostion()', 'wrong'),
(606, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(607, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Value', 'correct'),
(608, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$POST', 'wrong'),
(609, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'PHP Supports no such Feature', 'wrong'),
(610, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(611, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am SecondI am First', 'wrong'),
(612, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '1011', 'wrong'),
(613, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iv)', 'wrong'),
(614, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'word_count()', 'wrong'),
(615, '194027', 'arbazshaikh.194017@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello $name!', 'wrong'),
(616, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(617, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(618, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(619, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(620, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(621, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I Am Cwitain!', 'wrong'),
(622, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(623, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(624, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(625, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(626, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(627, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(628, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(629, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Error', 'wrong'),
(630, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(631, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(632, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new Date(“December 18 2022“)', 'wrong'),
(633, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(634, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(635, '194016', 'kasbeaarya05@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(636, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(637, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(638, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mrtime()', 'wrong'),
(639, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Ellipses Operator', 'correct'),
(640, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(641, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(642, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(643, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(644, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(645, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(646, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(647, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th December 2021', 'correct'),
(648, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'None of above', 'correct'),
(649, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(650, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'None of Above', 'wrong'),
(651, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'GET Method', 'wrong'),
(652, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '10 Error', 'wrong'),
(653, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Type Hinting', 'wrong'),
(654, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am FirstI am SecondI am First', 'wrong'),
(655, '204089', 'pratiksha.204089@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(656, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST', 'correct'),
(657, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'mktime()', 'correct'),
(658, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'No Output', 'correct'),
(659, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', '20-10', 'correct'),
(660, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'POST Method', 'correct'),
(661, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'Error', 'correct'),
(662, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(663, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only iii)', 'correct'),
(664, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'str_word_count()', 'correct'),
(665, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18th Dec, 2021', 'wrong'),
(666, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'correct'),
(667, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = Date(“18 December 2022“)', 'wrong'),
(668, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(669, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '2015', 'correct'),
(670, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(671, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', '-10-11', 'correct'),
(672, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(673, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'timezone_set()', 'wrong'),
(674, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),
(675, '194029', 'mayur.194029@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(676, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'How to define a function in PHP?', 'function {function body}', 'data type functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'functionName(parameters) {function body}', 'function functionName(parameters) {function body}', 'function {function body}', 'wrong'),
(677, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which predefined variable is used to get data from a POST method?', '$POST', '$_POST', '$_POST_METHOD', 'None of Above', '$_POST', '$_POST_METHOD', 'wrong'),
(678, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'PHP supports variable length argument function with the help of which operator?', 'Tilde Operator', 'Ellipses Operator', 'Bacticks Operator', 'PHP Supports no such Feature', 'Ellipses Operator', 'Bacticks Operator', 'wrong'),
(679, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'To create an object and set the date to December 18, 2022, which one of the following statement should be executed?', '$date = Date(“18 December 2022“)', '$date = new Date(“December 18 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = ToDate (“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', '$date = new DateTime(“18 December 2022“)', 'correct'),
(680, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which method is for user authentication?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'POST Method', 'None of Above', 'wrong'),
(681, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be output of following code if today’s Date is 18/12/2021?\r\n<?php\r\n$txt = \"PHP\";\r\necho date(\"dS F, Y\");\r\n?>', '18 Dec, 2021', '18th Dec, 2021', '18th December 2021', 'December 18, 2021', '18th December 2021', '18 Dec, 2021', 'wrong'),
(682, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which of the following are valid function names?\r\n\r\ni) function() \r\nii) .function() \r\niii) €() \r\niv) $function()', 'Only iv)', 'Only ii) and i)', 'Only iii)', 'None of Above', 'Only iii)', 'Only ii) and i)', 'wrong'),
(683, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which function is used to count number of words in a string?', 'str_count()', 'str_word_count()', 'word_count()', 'count()', 'str_word_count()', 'word_count()', 'wrong'),
(684, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which function is used to producing a timestamp based on a given date and time?', 'time()', 'mrtime()', 'mtime()', 'mktime()', 'mktime()', 'time()', 'wrong'),
(685, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What is output of following code?\r\n<?php \r\n$a = 15; \r\nfunction show(){ \r\n$a = 20; \r\necho \"$a\"; \r\n} \r\nshow(); \r\necho \"$a\"; \r\n?> ', '1520', '2020', '2015', '1515', '2015', '1520', 'wrong'),
(686, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n function First() \r\n {\r\n function Second()\r\n {\r\n echo \'I am Second\';\r\n }\r\n echo \'I am First\';\r\n }\r\n Second();\r\n First();\r\n?>', 'I am SecondI am First', 'I am Second', 'I am FirstI am SecondI am First', 'Error', 'Error', 'I am Second', 'wrong'),
(687, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction sub($n1,$n2=10){\r\n echo $n1-$n2;\r\n}\r\n\r\nsub (30);\r\nsub (10,20);\r\n?> \r\n', '2030', '3010', '20-10', 'Error', '20-10', 'Error', 'wrong'),
(688, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What are advantages of Functions?', 'Makes code less Complex', 'Enhances Readability', 'Saves coding time', 'All of Above', 'All of Above', 'All of Above', 'correct'),
(689, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which method is usually used when we have to save a website as a Bookmark?', 'GET Method', 'POST Method', 'PUT Method', 'None of Above', 'GET Method', 'GET Method', 'correct'),
(690, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which functions is used to find position of first occurrence of a particular character in a string?', 'strpostion()', 'pos()', 'strpos()', 'None of the above', 'strpos()', 'strpos()', 'correct'),
(691, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be the output of the code?\r\n\r\n<?php \r\nfunction sub(...$numbers) {\r\n$sub = 0; \r\nforeach ($numbers as $n) { \r\n$sub -= $n; \r\n} return $sub; \r\n} \r\necho sub(1, 2, 3, 4);\r\necho sub(1,10); \r\n?>', '1011', '10 Error', '-10-11', 'Error', '-10-11', 'Error', 'wrong'),
(692, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which function is used to set a particular time zone?', 'time()', 'date_default_timezone_set()', 'timezone_set()', 'time_zone()', 'date_default_timezone_set()', 'date_default_timezone_set()', 'correct'),
(693, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be the output of given code?\r\n<?php\r\nfunction hello($name){\r\n return \"Hello $name\";\r\n}\r\n\r\nhello(\"Suresh\");\r\n?>\r\n', 'Hello Suresh!', 'Hello $name!', 'No Output', 'Error', 'No Output', 'Hello Suresh!', 'wrong'),
(694, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'Which type of Function calling is used in given code?\r\n<?php\r\n function calc($price, $tax){ \r\n$total = $price + $tax; \r\n} \r\n$pricetag = 15; \r\n$taxtag = 3; \r\ncalc($pricetag, $taxtag);\r\n?>', 'Call By Value', 'Call By Reference', 'Default Argument Value', 'Type Hinting', 'Call By Value', 'Call By Reference', 'wrong'),
(695, '194051', 'saurabhkale3594@gmail.com', 'Unit-3', 'What will be output of following code?\r\n<?php\r\n$txt = \"I am cwitain!\";\r\necho ucword($txt);\r\n?>\r\n', 'I Am Cwitain!', 'I am cwitain!', 'i am cwitain!', 'None of above', 'None of above', 'I am cwitain!', 'wrong'),