gs gs109 Regular Expressions - Python Regular Expressions - Quiz No.4

gs gs109 Python Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs109 Python of gs organization. We have 134 quizzes available related to the book/course Python. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Regular Expressions. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Which of the following functions creates a Python object?
Question 3: What will be the output of the following Python code?

s = 'welcome home' m = re.match(r'(.*)(.*?)', s) print(m.group())
Question 4: The function of re.match is ____________
Question 5: The special character \B matches the empty string, but only when it is _____________
Question 6: What will be the output of the following Python code?

import re s = "A new day" m = re.match(r'(.*)(.*?)', s) print(m.group(2))  print(m.group(0))
Question 9: What will be the output of the following Python code?

re.match('sp(.*)am', 'spam')


Online Quizzes of gs109 Python

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background