• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 22:07
CET 04:07
KST 12:07
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
ByuL: The Forgotten Master of ZvT28Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (Feb 16-22): MaxPax doubles0Weekly Cups (Feb 9-15): herO doubles up2ACS replaced by "ASL Season Open" - Starts 21/0258LiuLi Cup: 2025 Grand Finals (Feb 10-16)46Weekly Cups (Feb 2-8): Classic, Solar, MaxPax win2
StarCraft 2
General
Terran AddOns placement How do you think the 5.0.15 balance patch (Oct 2025) for StarCraft II has affected the game? Nexon's StarCraft game could be FPS, led by UMS maker ByuL: The Forgotten Master of ZvT Oliveira Would Have Returned If EWC Continued
Tourneys
PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar) SEL Doubles (SC Evo Bimonthly) WardiTV Team League Season 10 RSL Season 4 announced for March-April The Dave Testa Open #11
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
Mutation # 514 Ulnar New Year The PondCast: SC2 News & Results Mutation # 513 Attrition Warfare Mutation # 512 Overclocked
Brood War
General
TvZ is the most complete match up BGH Auto Balance -> http://bghmmr.eu/ Soma Explains: JD's Unrelenting Aggro vs FlaSh ACS replaced by "ASL Season Open" - Starts 21/02 BW General Discussion
Tourneys
[Megathread] Daily Proleagues [LIVE] [S:21] ASL Season Open Day 1 ASL Season 21 Qualifiers March 7-8 Small VOD Thread 2.0
Strategy
Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Simple Questions, Simple Answers Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Beyond All Reason New broswer game : STG-World
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine UK Politics Mega-thread YouTube Thread Mexico's Drug War
Fan Clubs
The IdrA Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece [Req][Books] Good Fantasy/SciFi books Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TL MMA Pick'em Pool 2013
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
YOUTUBE VIDEO
XenOsky
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Inside the Communication of …
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2253 users

Teacher "Ambiguity"

Blogs > EsX_Raptor
Post a Reply
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
May 03 2009 01:03 GMT
#1
So I'm studying for my finals next week, but the review questions our CS teacher gave us are so freaking ambiguous it's not even funny.

It goes like this:


Describe the strings (by giving the name of a language construct) that are represented by the regular expression:

([A-Z]|[a-z]|_)([A-Z]|[a-z]|[0-9]|_)*


Well... from that we can observe that the following:

FA009_zbT
_AA09
z
ABCDEFGHIJKLMNOPQRSTUVWXYZ

And so on, follow the rules of that regular expression. But I'm still confused what's that guy asking for!?



*
allluckysevens7777
Profile Joined February 2009
United States53 Posts
May 03 2009 01:22 GMT
#2
I'd say that it describes identifiers. As in, most (all?) programming languages don't allow variable/function/method/type names to start with digits.

I agree that it is a very ambiguous question though, unless he specifically discussed said language constructs. What class is this for?
tec27
Profile Blog Joined June 2004
United States3702 Posts
May 03 2009 01:24 GMT
#3
Yeah, he's looking for you to give answers as things like "variable names" or "class names" or "function names", etc. Thats what he means by "by giving the name of a language construct", I think
Can you jam with the console cowboys in cyberspace?
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
Last Edited: 2009-05-03 01:30:16
May 03 2009 01:29 GMT
#4
Programming Language Concepts

I think you're right, I just want to know what he means with "by giving the name of a language construct," he never explained to us those (aren't there like, LOTS?)

I know that:

(\+|\-)?[0-9]+\.[0-9]+

represents floating point numbers... so that's why I think you're right that the previous represents identifiers.

edit: yeah, thank you guys!
keV.
Profile Blog Joined February 2009
United States3214 Posts
May 03 2009 03:37 GMT
#5
On May 03 2009 10:24 tec27 wrote:
Yeah, he's looking for you to give answers as things like "variable names" or "class names" or "function names", etc. Thats what he means by "by giving the name of a language construct", I think


This sounds right.
"brevity is the soul of wit" - William Shakesman
AcrossFiveJulys
Profile Blog Joined September 2005
United States3612 Posts
May 03 2009 04:02 GMT
#6
lol good luck man. What year are you?
Tyrant
Profile Joined September 2003
Korea (South)234 Posts
May 03 2009 05:19 GMT
#7
I'd just draw a huge meaty manhood on the paper and hope that he's into dudes.
darktreb
Profile Joined May 2007
United States3017 Posts
May 03 2009 10:32 GMT
#8
Other people have already given the right answer but you should try not to be intimidated by questions like these. Assuming you know your regular expressions, you know that the question was basically asking "what doesn't start with a number and consists of letters, numbers, and underscores?" Thinking about it that way, it becomes a lot clearer.
The_Australian
Profile Blog Joined December 2007
Australia458 Posts
May 03 2009 12:59 GMT
#9
i remember i had a prompt once for English class (the topic was Jason and the argonauts) that was literally "jason, discuss" like, wtf? so i can relate a bit to your problem.
"Nothing should be unstoppable when you see it coming...." - Boxer
errol1001
Profile Joined April 2008
454 Posts
May 03 2009 13:00 GMT
#10
On May 03 2009 21:59 The_Australian wrote:
i remember i had a prompt once for English class (the topic was Jason and the argonauts) that was literally "jason, discuss" like, wtf? so i can relate a bit to your problem.


lol, relate to what problem? The question he posted was in fact not ambiguous at all..
EsX_Raptor
Profile Blog Joined February 2008
United States2802 Posts
May 03 2009 20:45 GMT
#11
I'm a junior, but I'm 19 (so I don't know crap compared to the other guys...) sorry, my brain was literally fried that day (hours of study) now as much as I hate to admit it (literally) it is true what they say about having a good sleep, breakfast, etc, before taking a test x.x
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
LiuLi Cup Grand Finals Group B
CranKy Ducklings182
LiquipediaDiscussion
AI Arena Tournament
20:00
RO8
DaveTesta Events
18:15
The Dave Testa Open #11
davetesta71
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 248
NeuroSwarm 136
Ketroc 55
StarCraft: Brood War
GuemChi 2571
ggaemo 233
NaDa 84
Shine 57
Dota 2
LuMiX2
Super Smash Bros
hungrybox1081
Heroes of the Storm
Khaldor163
Other Games
summit1g8103
JimRising 499
ViBE107
Organizations
Other Games
gamesdonequick780
Counter-Strike
PGL218
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 428
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• HerbMon 36
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Doublelift7088
• Rush448
Upcoming Events
PiG Sty Festival
5h 53m
Clem vs Serral
Maru vs ShoWTimE
Sparkling Tuna Cup
6h 53m
uThermal 2v2 Circuit
11h 53m
Replay Cast
1d 5h
Wardi Open
1d 8h
Monday Night Weeklies
1d 13h
Replay Cast
1d 20h
Replay Cast
3 days
Replay Cast
3 days
The PondCast
4 days
[ Show More ]
KCM Race Survival
4 days
Replay Cast
4 days
Replay Cast
5 days
CranKy Ducklings
6 days
Replay Cast
6 days
Liquipedia Results

Completed

[S:21] ASL SEASON OPEN 2nd Round
LiuLi Cup: 2025 Grand Finals
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Acropolis #4 - TS5
Jeongseon Sooper Cup
Spring Cup 2026
WardiTV Winter 2026
PiG Sty Festival 7.0
Nations Cup 2026
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025

Upcoming

ASL Season 21: Qualifier #1
ASL Season 21: Qualifier #2
ASL Season 21
Acropolis #4 - TS6
Acropolis #4
IPSL Spring 2026
CSLAN 4
HSC XXIX
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
RSL Revival: Season 4
NationLESS Cup
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
FISSURE Playground #3
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.