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

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: ________ matches the start of the string.
________ matches the end of the string.
Question 2: Which of the following will result in an error?
Question 3: What will be the output of the following Python code?

re.split('\W+', 'Hello, hello, hello.')
Question 5: Choose the function whose output can be: <_sre.SRE_Match object; span=(4, 8), match=’aaaa’>.
Question 9: What will be the output of the following Python code?

re.compile('hello', re.X)


Online Quizzes of gs109 Python

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background